Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
josemduarte committed Apr 4, 2024
1 parent 1bbf326 commit 5729d8c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ jobs:
- java
steps:
# TODO This is not ideal, but needed because there are no options to wait in the maven plugin we use now (nexus-staging-maven-plugin), however
# TODO in the central-plublishing-maven-plugin it seems to be possible for maven to hold the deploy process until maven says it's ready, see https://central.sonatype.org/publish/publish-portal-maven/
# TODO in the central-publishing-maven-plugin it seems to be possible for maven to hold the deploy process until maven says it's ready, see https://central.sonatype.org/publish/publish-portal-maven/
- name: Wait for rcsb-mojave-model artifacts to appear in maven central
# retry every 60 seconds x 180 times: 3 hours (after which it will fail)
run: |
curl --retry 180 --retry-all-errors --retry-delay 60 -f "https://repo1.maven.org/maven2/org/rcsb/rcsb-mojave-model/$NEW_SCHEMA_VERSION/rcsb-mojave-model-$NEW_SCHEMA_VERSION.pom"
MAVEN_MOJAVE_URL="https://repo1.maven.org/maven2/org/rcsb/rcsb-mojave-model/$NEW_SCHEMA_VERSION/rcsb-mojave-model-$NEW_SCHEMA_VERSION.pom"
echo "Will check the following URL via curl: $MAVEN_MOJAVE_URL"
curl --retry 180 --retry-all-errors --retry-delay 60 -f "$MAVEN_MOJAVE_URL"
update-downstreams:
needs: delay-for-maven-central
strategy:
Expand Down

0 comments on commit 5729d8c

Please sign in to comment.