Skip to content

Commit 72d3598

Browse files
piyush-gargtekton-robot
authored andcommitted
Install latest pipeline release in tests
This will make sure we are installing latest pipeline release instead of the first tag on releases This will fix the e2e tests failures observed in #1754 with error message like `json: unknown field "artifacts"`
1 parent 18ebe5c commit 72d3598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function install_pipeline_crd() {
3535
if [[ -n ${RELEASE_YAML} ]];then
3636
latestreleaseyaml=${RELEASE_YAML}
3737
else
38-
latestreleaseyaml=$(curl -s https://api.github.com/repos/tektoncd/pipeline/releases|python -c "import sys, json;x=json.load(sys.stdin);ass=x[0]['assets'];print([ x['browser_download_url'] for x in ass if x['name'] == 'release.yaml'][0])")
38+
latestreleaseyaml="https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml"
3939
fi
4040
[[ -z ${latestreleaseyaml} ]] && fail_test "Could not get latest released release.yaml"
4141
kubectl apply -f ${latestreleaseyaml} ||

0 commit comments

Comments
 (0)