Conversation
|
Just realised that this could be mergable since the existing infrastructure is not modified! |
|
Another approach to trying to make the One way to do that is an approach like this: which is an action that dumps a function into An example function: $ cat extract_version.sh
extract_version() {
if [ "$#" -ne 2 ]; then
echo "Illegal number of parameters"
return 1
fi
local node=$1
local spackyaml=$2
echo $(yq "${node} | split(\"@git.\") | .[1]" ${spackyaml})
}Now you could have a bunch of files, one for each function and dump them all into Could then have some specialist CI that only gets called when files in that subdirectory changes to test the functions. |
aidanheerdegen
left a comment
There was a problem hiding this comment.
Given that I reviewed it before, and nothing has changed, I'll trust former me.
* Updated the CI/CD to use the simplified format described in ACCESS-NRI/build-cd#47 * cd.yml: om3 instead of om2 * Changed explicit model name to vars
An investigation into moving all complexity out of the model repos themselves, and putting it in
build-cd.