diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 481c0e531..000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,9 +0,0 @@ -* @HarryMichal @debarshiray -/.github/workflows/arch-images.yaml @Foxboron -/.github/workflows/arch-images-pr.yaml @Foxboron -/.github/workflows/ubuntu-images.yaml @Jmennius -/.github/workflows/ubuntu-tests.yaml @Jmennius -/data/gfx/*.gif @jimmac -/images/arch @Foxboron -/images/rhel @debarshiray @olivergs -/images/ubuntu @Jmennius diff --git a/.github/workflows/arch-images.yaml b/.github/workflows/arch-images.yaml deleted file mode 100644 index ae8ba9752..000000000 --- a/.github/workflows/arch-images.yaml +++ /dev/null @@ -1,64 +0,0 @@ -name: "Arch Linux: Build and push arch-toolbox image" - -permissions: read-all - -on: - pull_request: - branches: - - main - paths: - - images/arch/** - - .github/workflows/arch-images.yaml - push: - branches: - - main - paths: - - images/arch/** - - .github/workflows/arch-images.yaml - schedule: - - cron: '0 0 * * MON' - -env: - distro: 'arch' - platforms: 'linux/amd64' - registry: 'quay.io/toolbx' - username: 'toolbx+github' - -# Prevent multiple workflow runs from racing to ensure that pushes are made -# sequentially for the main branch. Also cancel in progress workflow runs for -# pull requests only. -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ github.event_name == 'pull_request' }} - -jobs: - build-push-images: - name: Build and push the arch-toolbox image - - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Build container image (latest tag) - uses: redhat-actions/buildah-build@v2 - if: env.latest_release == matrix.release - with: - platforms: ${{ env.platforms }} - context: images/${{ env.distro }} - image: ${{ env.distro }}-toolbox - tags: latest - containerfiles: images/${{ env.distro }}/Containerfile - layers: false - oci: true - - - name: Push to Container Registry (latest tag) - uses: redhat-actions/push-to-registry@v2 - id: push-latest - if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/main' - with: - username: ${{ env.username }} - password: ${{ secrets.QUAY_ROBOT_TOKEN }} - image: ${{ env.distro }}-toolbox - registry: ${{ env.registry }} - tags: latest diff --git a/.github/workflows/ubuntu-images.yaml b/.github/workflows/ubuntu-images.yaml deleted file mode 100644 index 4b4717ea2..000000000 --- a/.github/workflows/ubuntu-images.yaml +++ /dev/null @@ -1,96 +0,0 @@ -name: "Ubuntu: Build and push ubuntu-toolbox images" - -permissions: read-all - -on: - pull_request: - branches: - - main - paths: - - images/ubuntu/** - - .github/workflows/ubuntu-images.yaml - push: - branches: - - main - paths: - - images/ubuntu/** - - .github/workflows/ubuntu-images.yaml - schedule: - - cron: '0 0 * * MON' - -env: - distro: 'ubuntu' - latest_release: '24.04' - platforms: 'linux/amd64, linux/arm64' - registry: 'quay.io/toolbx' - username: 'toolbx+github' - -# Prevent multiple workflow runs from racing to ensure that pushes are made -# sequentially for the main branch. Also cancel in progress workflow runs for -# pull requests only. -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ github.event_name == 'pull_request' }} - -jobs: - build-push-images: - strategy: - matrix: - release: ['16.04', '18.04', '20.04', '22.04', '23.10', '24.04'] - - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up QEMU for multi-arch builds - shell: bash - run: | - sudo apt update - sudo apt install qemu-user-static - - - name: Build container image - uses: redhat-actions/buildah-build@v2 - if: env.latest_release != matrix.release - with: - platforms: ${{ env.platforms }} - context: images/${{ env.distro }}/${{ matrix.release }} - image: ${{ env.distro }}-toolbox - tags: ${{ matrix.release }} - containerfiles: images/${{ env.distro }}/${{ matrix.release }}/Containerfile - layers: false - oci: true - - - name: Build container image (latest tag) - uses: redhat-actions/buildah-build@v2 - if: env.latest_release == matrix.release - with: - platforms: ${{ env.platforms }} - context: images/${{ env.distro }}/${{ matrix.release }} - image: ${{ env.distro }}-toolbox - tags: ${{ matrix.release }} latest - containerfiles: images/${{ env.distro }}/${{ matrix.release }}/Containerfile - layers: false - oci: true - - - name: Push to Container Registry - uses: redhat-actions/push-to-registry@v2 - id: push - if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/main' && env.latest_release != matrix.release - with: - username: ${{ env.username }} - password: ${{ secrets.QUAY_ROBOT_TOKEN }} - image: ${{ env.distro }}-toolbox - registry: ${{ env.registry }} - tags: ${{ matrix.release }} - - - name: Push to Container Registry (latest tag) - uses: redhat-actions/push-to-registry@v2 - id: push-latest - if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/main' && env.latest_release == matrix.release - with: - username: ${{ env.username }} - password: ${{ secrets.QUAY_ROBOT_TOKEN }} - image: ${{ env.distro }}-toolbox - registry: ${{ env.registry }} - tags: ${{ matrix.release }} latest diff --git a/.github/workflows/ubuntu-tests.yaml b/.github/workflows/ubuntu-tests.yaml index 06c590944..f259c3124 100644 --- a/.github/workflows/ubuntu-tests.yaml +++ b/.github/workflows/ubuntu-tests.yaml @@ -20,9 +20,6 @@ on: pull_request: branches: - main - schedule: - - cron: '0 0 * * *' - jobs: ubuntu-jammy-tests: runs-on: ubuntu-22.04