You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Injection of Modules over Checks (#295)
* Add projection injection module
* Add requirements for injection modules
* Add tests for injection projection module, and inputs/requirements
* Add prerelease injection module
* Add tests for prerelease injection module
* Run injection.projection and injection.prerelease modules
* deploy-1-setup: Remove projection checks
* Remove unneeded mergedeep requirement
* Add module inits to folders
* Add step for installing dependencies, update names for checkout steps
* Used cd module prefix rather than custom working-directory so we can find the manifest
* Added required input for prerelease modification, always print out updated manifest at end
* Add back EOT
* Update non-root-spec projections to namespaced `{name}/prX-Y/VERSION` format
* Updated tests for namespaced non-root-spec projections
* Update prerelease module argument from --root-spec-version to --version
* Pass in sys.argv to parse_args, add tests
* Refactor workflow to split generation of root spec and packages
* Rename projections script to modules
* Add inject_includes function
* For test inputs, comment what is expected
* Reordered functions
* Updated tests after code updates
* Apply suggestions from code review
Co-authored-by: Aidan Heerdegen <aidan.heerdegen@anu.edu.au>
Signed-off-by: Tommy Gatti <tommy.gatti@outlook.com>
* Add root_spec to includes set, but remove it later when alphabetically sorting the includelist since it always comes first
* Updated output of manifest
* Ran black
* Added getter module for accessing various parts of a spack manifest
* Update `[test_]modules.py` to use new getter module
* Update `[test_]prerelease.py` to use getter module, update deploy-2-start to remove --root-spec arg
* Ran black again
* Raise NotImplementedErrors, add comments for successful matches
* Remove comments of old code
* Apply suggestions from code review
Co-authored-by: Aidan Heerdegen <aidan.heerdegen@anu.edu.au>
Signed-off-by: Tommy Gatti <tommy.gatti@outlook.com>
* Add example to multi-target spec to test function
* Parameterized tests
* Fixes following more test cases
* Converted manifest with no packages to fixture
* Improved from_file classmethod tests
* Parameterized valid and mistakenly invalid tests
* Remove `root-spec` arg and instead get from manifest directly, update tests
* Add new prerelease script flag `--keep-root-spec-intact`, that doesn't remove version information
---------
Signed-off-by: Tommy Gatti <tommy.gatti@outlook.com>
Co-authored-by: Aidan Heerdegen <aidan.heerdegen@anu.edu.au>
* `vars` to File-Based Special Packages (#305)
* Validate MDR config/packages.json
* Pass info from MDR config/packages.json to module injection script
* Update variable name to `vars.CONFIG_PACKAGES_SCHEMA_VERSION`
* Change cwd relative to build-cd rather than model for scripts
* Add output of packages to be injected/added to provenance DB
* Update prerelease projection to `ROOT_SPEC/prX-Y/{name}/VERSION`
* Update tests for new prerelease injection logic
* Replace all internal refs with v6
* Dump quoted strings for prerelease projections, updated expected output
* Schema Versions as Entrypoint Inputs Over `vars` (#310)
* Change schema vars to required inputs, add optional spack manifest schema path for potentially different schemas
* Add required schema version inputs, and optional spack manifest schema paths to entrypoint workflows
* Get packages for provenance from an earlier step
* Update prerelease injection to the form `ROOT_SPEC/.dependencies/PRX-Y/VERSION-{hash:7}`
* Fixed up an unused variable
* Remove `.` from `dependencies directory
---------
Signed-off-by: Tommy Gatti <tommy.gatti@outlook.com>
Co-authored-by: Aidan Heerdegen <aidan.heerdegen@anu.edu.au>
if [[ "$current_projection" == "$expected_projection_prefix"* ]]; then
337
-
echo "$DEP in ${{ inputs.spack-manifest-path }}: Current projection ($current_projection) and expected projection prefix ($expected_projection_prefix) match."
338
-
else
339
-
echo "::error::$DEP in ${{ inputs.spack-manifest-path }}: Current projection ($current_projection) and expected projection prefix ($expected_projection_prefix) don't match."
340
-
FAILED='true'
341
-
fi
342
-
done
343
-
if [[ "$FAILED" == "true" ]]; then
344
-
exit 1
345
-
fi
346
-
347
-
- name: Check Projections - Error Notifier
348
-
# If either of the Check Projection steps failed earlier, exit here
0 commit comments