Skip to content

Commit

Permalink
pin github actions; add dependabot (#263)
Browse files Browse the repository at this point in the history
* pin github actions; add dependabot

* Group dependabot
  • Loading branch information
jaimergp authored May 6, 2024
1 parent 130a249 commit 351b270
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 79 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
groups:
github-actions:
patterns:
- '*'
144 changes: 72 additions & 72 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand All @@ -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: |
Expand Down Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/keep-alive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@ 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:
name: Alive
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: "[email protected]"
time_elapsed: 50 # days
time_elapsed: 50 # days

0 comments on commit 351b270

Please sign in to comment.