Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin github actions; add dependabot #263

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Comment on lines 15 to +16
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we still need the arguments above? How are they being handled?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v2 uses the GH API instead of a commit, so these are not needed.