Skip to content

Commit

Permalink
Merge branch 'no-wait-deps' of 'https://github.com/jjmerchante/grimoi…
Browse files Browse the repository at this point in the history
…relab'

Merges #564
Closes #564
  • Loading branch information
sduenas authored Jan 10, 2023
2 parents 6f7f1f3 + fc8754a commit 83b9ec8
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/release-grimoirelab-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,22 +100,10 @@ jobs:
echo "version=$version" >> $GITHUB_OUTPUT
working-directory: ${{ inputs.module_directory }}

- id: check-dependencies
name: Check if package dependencies exist
- id: wait-pypi
name: Wait for dependencies to be ready in PyPI
run: |
dependencies="${{ inputs.dependencies }}"
if [ ! -z "$dependencies" ]
then
timeout=5
for i in $(seq 5)
do
poetry add --lock --no-cache --dry-run $dependencies && exit 0
sleep $timeout
timeout=$(( timeout * 2 ))
done
exit 1
fi
working-directory: ${{ inputs.module_directory }}
sleep 60
- id: update-dependencies
name: Update package dependencies
Expand Down

0 comments on commit 83b9ec8

Please sign in to comment.