From eac3e9a556ec9164beb6e5bfa78447c2c4c25b1a Mon Sep 17 00:00:00 2001 From: gunnar Date: Fri, 12 Jun 2026 15:17:37 +0200 Subject: [PATCH] deleted unused actions --- .gitea/dependabot.yml | 11 ---- .gitea/renovate.json5 | 63 ------------------ .gitea/workflows/build-installer-iso.yml | 81 ------------------------ .gitea/workflows/clean.yml | 27 -------- .gitea/workflows/renovate.yml | 31 --------- .gitea/workflows/validate-renovate.yml | 35 ---------- 6 files changed, 248 deletions(-) delete mode 100644 .gitea/dependabot.yml delete mode 100644 .gitea/renovate.json5 delete mode 100644 .gitea/workflows/build-installer-iso.yml delete mode 100644 .gitea/workflows/clean.yml delete mode 100644 .gitea/workflows/renovate.yml delete mode 100644 .gitea/workflows/validate-renovate.yml diff --git a/.gitea/dependabot.yml b/.gitea/dependabot.yml deleted file mode 100644 index 5d5205a..0000000 --- a/.gitea/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - commit-message: - prefix: "deps" - labels: - - "dependencies" - - "github-actions" diff --git a/.gitea/renovate.json5 b/.gitea/renovate.json5 deleted file mode 100644 index 21c572b..0000000 --- a/.gitea/renovate.json5 +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:best-practices", - ], - - // Do not rebase when the default branch is updated - "rebaseWhen": "never", - - customManagers: [ - { - customType: 'regex', - description: 'Match container images in Justfile with tag and digest', - managerFilePatterns: [ - '^Justfile$', - ], - matchStrings: [ - '(?.+?)\\s:=\\s(?:env\\(.+?,\\s)?["\'](?\\S+?):(?\\S+?)@(?sha256:[a-f0-9]+?)["\']\\)?', - ], - datasourceTemplate: 'docker', - }, - { - customType: 'regex', - description: 'Match container images in Justfile run_args without tag or digest', - managerFilePatterns: [ - '^Justfile$', - ], - matchStrings: [ - 'run_args\\+=\\((?[a-zA-Z0-9._:/-]+):?(?\\S+?)\\)', - ], - datasourceTemplate: 'docker', - versioningTemplate: 'docker', - }, - ], - - "packageRules": [ - { - "automerge": true, - "matchUpdateTypes": ["pin", "pinDigest"] - }, - { - "description": "Auto-merge digest updates for base image and trigger build", - "automerge": true, - "matchManagers": ["dockerfile"], - "matchUpdateTypes": ["digest"], - "matchFileNames": ["Containerfile"], - "labels": ["renovate", "automerge"], - }, - { - "description": "Disable automerge for all rechunk updates to allow manual review", - "matchUpdateTypes": ["major", "minor", "patch", "digest", "pinDigest"], - "matchPackageNames": ["ghcr.io/hhd-dev/rechunk"], - "automerge": false - }, - { - "description": "Enable GitHub Actions updates since they are now pinned with SHA", - "enabled": true, - "matchUpdateTypes": ["digest", "pinDigest", "pin", "major", "minor", "patch"], - "matchDepTypes": ["action"], - "matchFileNames": [".github/workflows/**.yaml", ".github/workflows/**.yml"], - }, - ] -} diff --git a/.gitea/workflows/build-installer-iso.yml b/.gitea/workflows/build-installer-iso.yml deleted file mode 100644 index ff1e5ed..0000000 --- a/.gitea/workflows/build-installer-iso.yml +++ /dev/null @@ -1,81 +0,0 @@ -name: Build Installer ISO - -on: - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref || github.run_id }} - cancel-in-progress: true - -env: - IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" - IMAGE_NAME: "${{ github.event.repository.name }}" - -jobs: - build-iso: - runs-on: ubuntu-latest - permissions: - contents: read - packages: read - - steps: - - name: Prepare environment - run: | - echo "IMAGE_REGISTRY=${IMAGE_REGISTRY,,}" >> ${GITHUB_ENV} - echo "IMAGE_NAME=${IMAGE_NAME,,}" >> ${GITHUB_ENV} - - - name: Determine image tag - run: | - BRANCH="${GITHUB_REF_NAME}" - if [[ "$BRANCH" == "main" ]]; then - echo "IMAGE_TAG=stable" >> ${GITHUB_ENV} - else - SANITIZED=$(echo "$BRANCH" | sed 's/[^a-zA-Z0-9._-]/-/g' | head -c 50) - echo "IMAGE_TAG=test-${SANITIZED}" >> ${GITHUB_ENV} - fi - echo "Building from tag: ${IMAGE_TAG}" - - - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - - name: Free disk space - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf /usr/local/lib/android - sudo rm -rf /opt/ghc - sudo rm -rf /opt/hostedtoolcache - sudo docker image prune -af - df -h - - - name: Prepare output directory - run: mkdir -p output - - - name: Login to GHCR - run: | - echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io \ - -u ${{ github.actor }} --password-stdin - - - name: Pull base image - run: | - sudo podman pull ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} - - - name: Build ISO - run: | - sudo podman run --rm --privileged \ - -v ${{ github.workspace }}/iso/config.toml:/config.toml:ro \ - -v ${{ github.workspace }}/output:/output \ - -v /var/lib/containers/storage:/var/lib/containers/storage \ - ghcr.io/osbuild/bootc-image-builder:latest \ - --type anaconda-iso \ - --rootfs btrfs \ - --config /config.toml \ - --output /output/ \ - ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} - - - name: Upload ISO artifact - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 - with: - name: installer-iso - # Wir suchen rekursiv nach jeder .iso Datei im output Ordner - path: output/**/*.iso - if-no-files-found: error diff --git a/.gitea/workflows/clean.yml b/.gitea/workflows/clean.yml deleted file mode 100644 index e1eb5d5..0000000 --- a/.gitea/workflows/clean.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Cleanup Old Images -on: - schedule: - - cron: "0 0 * * 0" # Weekly on Sunday at midnight UTC - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref || github.run_id }} - -jobs: - delete-older-than-90: - runs-on: ubuntu-latest - permissions: - packages: write - steps: - - name: Delete Images Older Than 90 Days - uses: dataaxiom/ghcr-cleanup-action@f092b48ba3b604b2a83690dc4b2bbb3392e1045f # v1.2.1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - # IMPORTANT: Update this to match your image name from Containerfile (line 9) - # This should match the "# Name: your-repo-name" comment in your Containerfile - # Example: If your Containerfile has "# Name: my-custom-os", use "my-custom-os" here - packages: fluffy-pancake - older-than: 45 days - delete-orphaned-images: true - keep-n-tagged: 5 - keep-n-untagged: 5 diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml deleted file mode 100644 index 7af7a8a..0000000 --- a/.gitea/workflows/renovate.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Renovate -on: - schedule: - # Run every 6 hours - - cron: '0 */6 * * *' - workflow_dispatch: - push: - branches: - - main - paths: - - '.github/renovate.json5' - - '.github/workflows/renovate.yml' - -jobs: - renovate: - name: Run Renovate - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5 - - - name: Self-hosted Renovate - uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 # v46.1.14 - with: - configurationFile: .github/renovate.json5 - token: ${{ secrets.GITHUB_TOKEN }} - env: - LOG_LEVEL: 'debug' diff --git a/.gitea/workflows/validate-renovate.yml b/.gitea/workflows/validate-renovate.yml deleted file mode 100644 index cf6e3e4..0000000 --- a/.gitea/workflows/validate-renovate.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Validate Renovate Config - -on: - pull_request: - paths: - - ".github/renovate.json5" - - ".github/workflows/renovate.yml" - push: - branches: - - main - paths: - - ".github/renovate.json5" - - ".github/workflows/renovate.yml" - -jobs: - validate: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5 - - - name: Setup Node.js - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 - with: - node-version: latest - - - name: Install dependencies - shell: bash - env: - RENOVATE_VERSION: latest - run: npm install -g renovate@${RENOVATE_VERSION} - - - name: Validate Renovate config - shell: bash - run: renovate-config-validator --strict