Skip to content

Commit

Permalink
Merge pull request #4247 from hove-io/fix_dockers_builder_with_cosmog…
Browse files Browse the repository at this point in the history
…ony2cities

[CI] Fix docker builders: download release asset from cosmogony2cities
  • Loading branch information
xlqian authored Mar 21, 2024
2 parents 4ef1e12 + 7d05d63 commit 57f23e2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 24 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/dockers_builder_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,18 +222,14 @@ jobs:
unzip -qo $mimirsbrunn_package
rm -f $mimirsbrunn_package
- name: Download cosmogony2cities package
run: |
cosmogony2cities_package="package-${{env.jessie_version}}.zip"
python3 core_team_ci_tools/github_artifacts/github_artifacts.py \
-o hove-io \
-r cosmogony2cities \
-t ${{ steps.ci-core-app-token.outputs.token }} \
-w build_package.yml \
-a $cosmogony2cities_package \
--output-dir .
unzip -qo $cosmogony2cities_package
rm -f $cosmogony2cities_package
- name: Download cosmogony2cities from release
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: 'hove-io/cosmogony2cities'
version: 'tags/v0.1.1'
file: 'cosmogony2cities-${{env.jessie_version}}.deb'
target: 'cosmogony2cities_0.1.0-1_amd64.deb'
token: ${{ steps.ci-core-app-token.outputs.token }}

- name: Download mimir-config package
run: |
Expand Down
20 changes: 8 additions & 12 deletions .github/workflows/dockers_builder_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,18 +234,14 @@ jobs:
unzip -qo $mimirsbrunn_package
rm -f $mimirsbrunn_package
- name: Download cosmogony2cities package
run: |
cosmogony2cities_package="package-${{env.jessie_version}}.zip"
python3 core_team_ci_tools/github_artifacts/github_artifacts.py \
-o hove-io \
-r cosmogony2cities \
-t ${{ steps.ci-core-app-token.outputs.token }} \
-w build_package.yml \
-a $cosmogony2cities_package \
--output-dir .
unzip -qo $cosmogony2cities_package
rm -f $cosmogony2cities_package
- name: Download cosmogony2cities from release
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: 'hove-io/cosmogony2cities'
version: 'tags/v0.1.1'
file: 'cosmogony2cities-${{env.jessie_version}}.deb'
target: 'cosmogony2cities_0.1.0-1_amd64.deb'
token: ${{ steps.ci-core-app-token.outputs.token }}

- name: Download mimir-config package
run: |
Expand Down

0 comments on commit 57f23e2

Please sign in to comment.