Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Automated Publishing Workflow for AU Core IG Profiles (milestone and ci-build) #233

Merged
merged 19 commits into from
Aug 5, 2024

Conversation

KyleOps
Copy link
Collaborator

@KyleOps KyleOps commented Jul 22, 2024

This PR automates two workflows: Au Core IG Profiles publish->go-publish and Au Core IG Profiles ci build. These enhancements are designed to streamline the deployment and integration processes for Australian Core Implementation Guide (IG) profiles, ensuring robust, error-free publications and continuous integration.

Workflow 1: Tag triggered AU Core IG Profiles Publishing (milestone)

  • Trigger: Activates on tag push.
  • Target: The final target will be hl7.org.au
  • Key Actions:
    • AWS CLI setup to manage artifacts effectively, >20x faster to cp to s3 than ftp to server directly
    • Dynamically retrieves tag information.
    • Securely checks out multiple repositories necessary for the build.
    • Updates and manages the publication of AU Core IG profiles using advanced scripting and the IG Publisher tool.
    • Final artifacts are systematically uploaded to a designated S3 bucket based on the version tag.

Workflow 2: Push and PR triggered AU Core IG Profiles (ci build)

  • Trigger: Activates on pushes to master and all pull requests.
  • Target: The final target will be build.fhir.org.au
  • Key Actions:
    • Installs and configures AWS CLI for artifact management, >20x faster to cp to s3 than ftp to server directly
    • Extracts the active branch name for use in various build steps.
    • Conducts a thorough IG Publisher build targeting the specific branch directory on the build server.
    • Compiles the complete IG and uploads it to an S3 bucket structured by branch name to facilitate continuous integration.

@KyleOps KyleOps changed the title Release/cicd test Implement Automated Publishing Workflow for AU Core IG Profiles (milestone and ci-build) Jul 22, 2024
@KyleOps
Copy link
Collaborator Author

KyleOps commented Jul 22, 2024

Note: qa-preview causes issues in go publish builds see https://github.com/hl7au/publications/actions/runs/10037136264/job/27736291742#step:16:303

In this pr is a change for qa-preview -> preview, this can be reverted if required.

@KyleOps KyleOps self-assigned this Jul 22, 2024
@brettesler-ext brettesler-ext merged commit 588c941 into master Aug 5, 2024
1 check passed
@KyleOps KyleOps deleted the release/cicd-test branch August 19, 2024 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants