Skip to content

Commit

Permalink
pipeline to support milestones test
Browse files Browse the repository at this point in the history
  • Loading branch information
brettesler-ext committed Jan 13, 2025
1 parent ba365b5 commit aa4f45d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/profile_tag_trigger_publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Create directories
run: |
mkdir -p webroot/fhir/base
mkdir -p webroot/fhir
- name: Download package-list.json
run: |
Expand All @@ -79,7 +79,7 @@ jobs:
FULL_URL="$URL/package-list.json"
curl --output webroot/fhir/package-list.json --url $FULL_URL
curl --output webroot/fhir/base/package-list.json --url $FULL_URL
curl --output webroot/fhir/package-list.json --url $FULL_URL
- name: Download package-feed.xml
run: |
Expand All @@ -95,6 +95,10 @@ jobs:
run: |
java -jar input-cache/publisher.jar -generate-package-registry webroot
- name: Download past versions
run: |
aws s3 sync s3://hl7au-fhir-ig/fhir ./webroot/fhir --only-show-errors #/${{ steps.get_tag.outputs.tag }} --exclude pd --exclude core --exclude ereq --exclude staging
- name: Run Aubase Go Publisher build
run: java -jar ./input-cache/publisher.jar -go-publish -source ./hl7au/au-fhir-base -web ./webroot -history ./fhir-history -registry ./ig-registry/fhir-ig-list.json -templates ./templates

Expand All @@ -113,10 +117,10 @@ jobs:
path: ./output.zip

- name: Upload Base webroot to S3 and publish
run: |
aws s3 cp ./webroot/fhir/base s3://hl7au-fhir-ig/fhir/staging --recursive --only-show-errors #/${{ steps.get_tag.outputs.tag }}
aws s3 cp ./webroot/fhir/package-feed.bak.xml s3://hl7au-fhir-ig/fhir/package-feed.bak.xml
aws s3 cp ./webroot/fhir/publication-feed.bak.xml s3://hl7au-fhir-ig/fhir/publication-feed.bak.xml
run: |
aws s3 cp ./webroot/fhir s3://hl7au-fhir-ig/fhir/staging --recursive --only-show-errors #/${{ steps.get_tag.outputs.tag }}
aws s3 cp ./webroot/fhir/package-feed.bak.xml s3://hl7au-fhir-ig/fhir/staging/package-feed.bak.xml
aws s3 cp ./webroot/fhir/publication-feed.bak.xml s3://hl7au-fhir-ig/fhir/staging/publication-feed.bak.xml
aws s3 cp ./webroot/fhir/package-feed.xml s3://hl7au-fhir-ig/fhir/staging/package-feed.xml
aws s3 cp ./webroot/fhir/publication-feed.xml s3://hl7au-fhir-ig/fhir/staging/publication-feed.xml
2 changes: 1 addition & 1 deletion publication-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"package-id" : "hl7.fhir.au.base",
"version" : "5.0.0",
"path" : "http://hl7.org.au/fhir/5.0.0",
"mode" : "working",
"mode" : "milestone",
"status" : "trial-use",
"sequence" : "AU Base 5.x Sequence",
"desc" : "AU Base 5.0.0 Working Standard Release",
Expand Down

0 comments on commit aa4f45d

Please sign in to comment.