Skip to content

Commit

Permalink
Merge pull request #2994 from regro/no-more-locks-here
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Sep 4, 2024
2 parents 7455714 + d46a9be commit 89b776e
Show file tree
Hide file tree
Showing 15 changed files with 92 additions and 14,409 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/bot-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bot-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bot-feedstocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/bot-make-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down Expand Up @@ -106,6 +111,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bot-make-migrators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/bot-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down Expand Up @@ -109,6 +114,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bot-pypi-mapping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bot-update-status-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bot-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
ref: ${{ steps.latest_release.outputs.tag_name }}
path: cf-scripts

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mv conda-lock.yml cf-scripts/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: cf-scripts/conda-lock.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
with:
fetch-depth: 0

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: conda-lock.yml
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/relock.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/test-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: get the lockfile
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: conda-lock.yml
Expand Down
31 changes: 28 additions & 3 deletions .github/workflows/tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ jobs:
with:
repository: "regro/cf-scripts"

- name: copy existing lockfile to correct location
- name: get the lockfile
if: ${{ !inputs.lockfile-is-artifact }}
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mkdir input-lockfile
cp ${{ inputs.lockfile }} input-lockfile/${{ inputs.lockfile }}
mv conda-lock.yml input-lockfile/${{ inputs.lockfile }}
- name: download lockfile if it is an artifact
if: ${{ inputs.lockfile-is-artifact }}
Expand All @@ -56,9 +57,14 @@ jobs:
name: ${{ inputs.lockfile }}
path: input-lockfile

- name: move lockfile to repo
run: |
mv input-lockfile/${{ inputs.lockfile }} conda-lock.yml
rm -rf input-lockfile
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: input-lockfile/${{ inputs.lockfile }}
environment-file: conda-lock.yml
environment-name: cf-scripts
condarc-file: autotick-bot/condarc

Expand Down Expand Up @@ -168,6 +174,25 @@ jobs:
with:
repository: "regro/cf-scripts"

- name: get the lockfile
if: ${{ !inputs.lockfile-is-artifact }}
run: |
wget https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/conda-lock.yml
mkdir input-lockfile
mv conda-lock.yml input-lockfile/${{ inputs.lockfile }}
- name: download lockfile if it is an artifact
if: ${{ inputs.lockfile-is-artifact }}
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
name: ${{ inputs.lockfile }}
path: input-lockfile

- name: move lockfile to repo
run: |
mv input-lockfile/${{ inputs.lockfile }} conda-lock.yml
rm -rf input-lockfile
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1
with:
environment-file: conda-lock.yml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[![bot-make-migrators](https://github.com/regro/cf-scripts/actions/workflows/bot-make-migrators.yml/badge.svg)](https://github.com/regro/cf-scripts/actions/workflows/bot-make-migrators.yml)
[![bot-cache](https://github.com/regro/cf-scripts/actions/workflows/bot-cache.yml/badge.svg)](https://github.com/regro/cf-scripts/actions/workflows/bot-cache.yml)
[![test-model](https://github.com/regro/cf-scripts/actions/workflows/test-model.yml/badge.svg)](https://github.com/regro/cf-scripts/actions/workflows/test-model.yml)
[![relock](https://github.com/regro/cf-scripts/actions/workflows/relock.yml/badge.svg)](https://github.com/regro/cf-scripts/actions/workflows/relock.yml)


the actual bot in an actual place doing an actual thing

Expand Down
Loading

0 comments on commit 89b776e

Please sign in to comment.