-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor the GitHub Workflows in this package #329
Labels
Comments
jcfreeman2
added a commit
that referenced
this issue
Dec 4, 2023
Some of the changes include: -Putting environment variables used across the Workflow's jobs into a source-able file called wf-setup-tools.sh -Adding functions also used across jobs, such as --"get_spack": get the actual Spack software --"daqify_spack_environment": adjust repos.yaml, etc., to set up for DAQ software installation --"tar_and_stage_release": tar up files and make an uploadable tarfile -Giving the environment variables more descriptive names. The changes are: -- DAQ_RELEASE -> RELEASE_TAG -- DAQ_RELEASE_DIR -> DAQ_RELEASE_REPO -- SPACK_RELEASE_DIR -> RELEASE_DIR -- SPACK_RELEASE -> SPACK_AREA -- BASE_DAQ_RELEASE -> BASE_RELEASE_TAG -- SPACK_BASE_RELEASE_DIR -> BASE_RELEASE_DIR -- SPACK_BASE_RELEASE -> BASE_SPACK_AREA
jcfreeman2
added a commit
that referenced
this issue
Dec 5, 2023
… drop the obsolete/unused feature branch workflow, and put the SL7 nightly workflow filename on equal footing with the Alma 9 nightly workflow
jcfreeman2
added a commit
that referenced
this issue
Dec 6, 2023
jcfreeman2
added a commit
that referenced
this issue
Dec 6, 2023
jcfreeman2
added a commit
that referenced
this issue
Dec 11, 2023
…e.sh, rename build-stack.sh to build-release.sh
jcfreeman2
added a commit
that referenced
this issue
Dec 11, 2023
jcfreeman2
added a commit
that referenced
this issue
Dec 11, 2023
…e.sh, rename build-stack.sh to build-release.sh
jcfreeman2
added a commit
that referenced
this issue
Dec 11, 2023
jcfreeman2
added a commit
that referenced
this issue
Dec 13, 2023
…ly but also candidate and frozen releases; update the nightly and candidate workflows
jcfreeman2
added a commit
that referenced
this issue
Dec 15, 2023
…factoring tools and add additional error checking/reporting to build-release.sh
jcfreeman2
added a commit
that referenced
this issue
Dec 15, 2023
Closing this Issue now that the refactor has been merged. A couple of things:
There absolutely are other improvements to be made. But the changes which got merged in are a major step in the right direction. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's an awful lot of code in our Workflows which is basically repeated. For one thing, we have six different files for six different ways of cutting a release (nightly + candidate + frozen) * (sl7 + alma9), and they have lots of lots of stuff in common. It would be good to try to put a lot of this common code into scripts, since (1) it would just be good coding practice to support the DRY principle, and (2) scripts would allow us to recreate these Workflows on local hosts where we can poke around if something goes wrong, rather than being walled off by a GitHub Action.
The text was updated successfully, but these errors were encountered: