mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-31 21:40:44 +00:00
Merge pull request #341 from CentOS/tf_ref_from_snapshot
ci: override the GIT_URL & GIT_REF from SNAPSHOT
This commit is contained in:
commit
24b1308989
1 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,11 @@ spec:
|
|||
|
||||
export TESTING_FARM_API_TOKEN=$(cat /etc/secrets/testing-farm-token)
|
||||
|
||||
apk add jq
|
||||
|
||||
GIT_URL=$(echo "${SNAPSHOT}" | jq -r '.components[0].source.git.url')
|
||||
GIT_REF=$(echo "${SNAPSHOT}" | jq -r '.components[0].source.git.revision')
|
||||
|
||||
testing-farm request \
|
||||
--environment SNAPSHOT="$(echo ${SNAPSHOT} | base64 -w 0)" \
|
||||
--git-url "${GIT_URL}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue