NASA-PDS / devops

Parent repo for PDS DevOps activities
Apache License 2.0
0 stars 0 forks source link

CI/CD Workflows Need to use Stable Tag #19

Closed nutjob4life closed 2 years ago

nutjob4life commented 2 years ago

As part of our "lessons learned", having PDS repositories use the main branch of Roundup Action causes problems—namely, if a feature is implemented or a bug is fixed that introduces a new bug, every repository using main is affected.

Instead, when we have a point in the Roundup development that we consider stable, we tag it with stable. A workflow YAML file can say:

uses: NASA-PDS/roundup-action@stable

to say it prefers that tag of the action and not some other branch—especially not main.

The following repositories are still using the @main branch of the Roundup Action. These should should be transitioned to use @stable:

jordanpadams commented 2 years ago

@nutjob4life oops! I may have jumped the gun here with validate and pds4-jparser. just realized we don't actually have a stable branch yet. once we have that, we can test this out.

nutjob4life commented 2 years ago

@jordanpadams we do indeed have @stable on roundup-action!

Also it's doubly-fine right now because roundup-action@main == roundup-action@stable 😌

jordanpadams commented 2 years ago

@nutjob4life copy. i was thinking i didn't see the branch but I see the tag 😨