From c5b46031651087de5c17cac1c632e52af136a1ce Mon Sep 17 00:00:00 2001 From: jaimergp Date: Mon, 6 May 2024 10:52:19 +0200 Subject: [PATCH 1/2] pin github actions; add dependabot --- .github/workflows/ci.yaml | 144 +++++++++++++++--------------- .github/workflows/keep-alive.yaml | 11 +-- 2 files changed, 76 insertions(+), 79 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c78d309..5c7562a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,7 +6,7 @@ on: - main pull_request: schedule: - - cron: "0 6 * * SUN" # Once weekly on Sunday @ 0600 UTC + - cron: "0 6 * * SUN" # Once weekly on Sunday @ 0600 UTC workflow_dispatch: null jobs: @@ -17,74 +17,74 @@ jobs: fail-fast: false matrix: cfg: - - DOCKERIMAGE: linux-anvil-comp7 - DOCKERTAG: latest - DISTRO_NAME: "centos" - DISTRO_VER: "6" - SHORT_DESCRIPTION: "conda-forge build image for Cent0S 6 on x86_64" - - - DOCKERIMAGE: linux-anvil-cos7-x86_64 - DOCKERTAG: latest - DISTRO_NAME: "centos" - DISTRO_VER: "7" - SHORT_DESCRIPTION: "conda-forge build image for Cent0S 7 on x86_64" - - - DOCKERIMAGE: linux-anvil-ppc64le - DOCKERTAG: latest - DISTRO_NAME: "centos" - DISTRO_VER: "7" - SHORT_DESCRIPTION: "conda-forge build image for Cent0S 7 on ppc64le" - - - DOCKERIMAGE: linux-anvil-aarch64 - DOCKERTAG: latest - DISTRO_NAME: "centos" - DISTRO_VER: "7" - SHORT_DESCRIPTION: "conda-forge build image for Cent0S 7 on aarch64" - - - DOCKERIMAGE: linux-anvil-cuda - DOCKERTAG: "11.8" - CUDA_VER: "11.8.0" - DISTRO_NAME: "centos" - DISTRO_VER: "7" - SHORT_DESCRIPTION: "conda-forge build image for Cent0S 7 on x86_64 with CUDA" - - - DOCKERIMAGE: linux-anvil-ppc64le-cuda - DOCKERTAG: "11.8" - CUDA_VER: "11.8.0" - DISTRO_NAME: "ubi" - DISTRO_VER: "8" - SHORT_DESCRIPTION: "conda-forge build image for Cent0S 8 on ppc64le with CUDA" - - - DOCKERIMAGE: linux-anvil-aarch64-cuda - DOCKERTAG: "11.8" - CUDA_VER: "11.8.0" - DISTRO_NAME: "ubi" - DISTRO_VER: "8" - SHORT_DESCRIPTION: "conda-forge build image for Cent0S 8 on aarch64 with CUDA" - - - DOCKERIMAGE: linux-anvil-alma-x86_64 - DOCKERFILE: linux-anvil-alma - DOCKERTAG: "8" - DISTRO_ARCH: "amd64" - DISTRO_NAME: "almalinux" - DISTRO_VER: "8" - SHORT_DESCRIPTION: "conda-forge build image for Alma 8 on x86_64" - - - DOCKERIMAGE: linux-anvil-alma-aarch64 - DOCKERFILE: linux-anvil-alma - DOCKERTAG: "8" - DISTRO_ARCH: "arm64" - DISTRO_NAME: "almalinux" - DISTRO_VER: "8" - SHORT_DESCRIPTION: "conda-forge build image for Alma 8 on aarch64" - - - DOCKERIMAGE: linux-anvil-alma-ppc64le - DOCKERFILE: linux-anvil-alma - DOCKERTAG: "8" - DISTRO_ARCH: "ppc64le" - DISTRO_NAME: "almalinux" - DISTRO_VER: "8" - SHORT_DESCRIPTION: "conda-forge build image for Alma 8 on ppc64le" + - DOCKERIMAGE: linux-anvil-comp7 + DOCKERTAG: latest + DISTRO_NAME: "centos" + DISTRO_VER: "6" + SHORT_DESCRIPTION: "conda-forge build image for Cent0S 6 on x86_64" + + - DOCKERIMAGE: linux-anvil-cos7-x86_64 + DOCKERTAG: latest + DISTRO_NAME: "centos" + DISTRO_VER: "7" + SHORT_DESCRIPTION: "conda-forge build image for Cent0S 7 on x86_64" + + - DOCKERIMAGE: linux-anvil-ppc64le + DOCKERTAG: latest + DISTRO_NAME: "centos" + DISTRO_VER: "7" + SHORT_DESCRIPTION: "conda-forge build image for Cent0S 7 on ppc64le" + + - DOCKERIMAGE: linux-anvil-aarch64 + DOCKERTAG: latest + DISTRO_NAME: "centos" + DISTRO_VER: "7" + SHORT_DESCRIPTION: "conda-forge build image for Cent0S 7 on aarch64" + + - DOCKERIMAGE: linux-anvil-cuda + DOCKERTAG: "11.8" + CUDA_VER: "11.8.0" + DISTRO_NAME: "centos" + DISTRO_VER: "7" + SHORT_DESCRIPTION: "conda-forge build image for Cent0S 7 on x86_64 with CUDA" + + - DOCKERIMAGE: linux-anvil-ppc64le-cuda + DOCKERTAG: "11.8" + CUDA_VER: "11.8.0" + DISTRO_NAME: "ubi" + DISTRO_VER: "8" + SHORT_DESCRIPTION: "conda-forge build image for Cent0S 8 on ppc64le with CUDA" + + - DOCKERIMAGE: linux-anvil-aarch64-cuda + DOCKERTAG: "11.8" + CUDA_VER: "11.8.0" + DISTRO_NAME: "ubi" + DISTRO_VER: "8" + SHORT_DESCRIPTION: "conda-forge build image for Cent0S 8 on aarch64 with CUDA" + + - DOCKERIMAGE: linux-anvil-alma-x86_64 + DOCKERFILE: linux-anvil-alma + DOCKERTAG: "8" + DISTRO_ARCH: "amd64" + DISTRO_NAME: "almalinux" + DISTRO_VER: "8" + SHORT_DESCRIPTION: "conda-forge build image for Alma 8 on x86_64" + + - DOCKERIMAGE: linux-anvil-alma-aarch64 + DOCKERFILE: linux-anvil-alma + DOCKERTAG: "8" + DISTRO_ARCH: "arm64" + DISTRO_NAME: "almalinux" + DISTRO_VER: "8" + SHORT_DESCRIPTION: "conda-forge build image for Alma 8 on aarch64" + + - DOCKERIMAGE: linux-anvil-alma-ppc64le + DOCKERFILE: linux-anvil-alma + DOCKERTAG: "8" + DISTRO_ARCH: "ppc64le" + DISTRO_NAME: "almalinux" + DISTRO_VER: "8" + SHORT_DESCRIPTION: "conda-forge build image for Alma 8 on ppc64le" env: DOCKERIMAGE: ${{ matrix.cfg.DOCKERIMAGE }} @@ -97,7 +97,7 @@ jobs: SHORT_DESCRIPTION: ${{ matrix.cfg.SHORT_DESCRIPTION }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 - name: Enable experimental features (needed for squash) run: | @@ -141,7 +141,7 @@ jobs: - name: Push README to Dockerhub if: github.ref == 'refs/heads/main' && github.repository == 'conda-forge/docker-images' - uses: christian-korneck/update-container-description-action@v1 + uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1 env: DOCKER_USER: condaforgebot DOCKER_PASS: ${{ secrets.DH_PASSWORD }} @@ -153,7 +153,7 @@ jobs: - name: Push README to Quay.io if: github.ref == 'refs/heads/main' && github.repository == 'conda-forge/docker-images' - uses: christian-korneck/update-container-description-action@v1 + uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1 env: DOCKER_APIKEY: ${{ secrets.DOCKER_IMAGES_QUAY_API_KEY }} with: diff --git a/.github/workflows/keep-alive.yaml b/.github/workflows/keep-alive.yaml index ff01c5f..74716cc 100644 --- a/.github/workflows/keep-alive.yaml +++ b/.github/workflows/keep-alive.yaml @@ -2,7 +2,7 @@ name: Keep on: # pull_request: schedule: - - cron: "0 6 * * SUN" # Once weekly on Sunday @ 0600 UTC + - cron: "0 6 * * SUN" # Once weekly on Sunday @ 0600 UTC jobs: keep-alive: @@ -10,10 +10,7 @@ jobs: if: github.repository == 'conda-forge/docker-images' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: gautamkrishnar/keepalive-workflow@beb86212524e1ae856d1cd80efb44e73bf7daf4a + - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 + - uses: gautamkrishnar/keepalive-workflow@beb86212524e1ae856d1cd80efb44e73bf7daf4a # 2.0.1 with: - commit_message: "Ah ah ah, stayin' alive" - committer_username: conda-forge-bot - committer_email: "conda-forge-bot@users.noreply.github.com" - time_elapsed: 50 # days + time_elapsed: 50 # days From 00ab98a3a4038f5ffadb131555ff98113548990a Mon Sep 17 00:00:00 2001 From: jaimergp Date: Mon, 6 May 2024 13:55:58 +0200 Subject: [PATCH 2/2] Group dependabot --- .github/dependabot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5ace460..f6b3d08 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,7 @@ updates: directory: "/" schedule: interval: "weekly" + groups: + github-actions: + patterns: + - '*'