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

Fix build/publish workflow; add force publish parameter #432

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

bennavapbc
Copy link
Collaborator

🎫 Ticket

https://jira.cms.gov/browse/AB2D-6553

🛠 Changes

Update ab2d-libs workflow to build and publish to Artifactory, along with a forcePublish parameter to publish from a branch other than main.

Also configured SonarQube and quality gate steps.

ℹ️ Context

Update Github workflows to replace the following Jenkins jobs:

🧪 Validation

Tested by triggering workflow when committing to this fix-workflows branch

on:
  push:
    branches:
      - fix-workflows

Note: After this is merged to main, I will test the job manually to test the forcePublish functionality.


This is a successful run after setting the Force publish libraries section to run:

https://github.com/CMSgov/AB2D-Libs/actions/runs/13252748768/job/36993920243

image

@bennavapbc bennavapbc requested a review from a team as a code owner February 11, 2025 00:18
@bennavapbc bennavapbc requested review from gsf and removed request for a team February 11, 2025 00:18
authentication {
basic(BasicAuthentication)
}
// authentication {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented this out because of this error:
image

@@ -5,13 +5,22 @@ on:
branches:
- main
pull_request:
workflow_dispatch: # Allow manual trigger
inputs:
forcePublish:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will test this after I merge this code to master (because I see no way to test manual triggers).

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.

1 participant