Skip to content

Commit

Permalink
Update CI script to generate 4.11 config (knative#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 authored Aug 29, 2022
1 parent a42405d commit b8c3e86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openshift/ci-operator/update-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ $CURDIR/generate-ci-config.sh knative-$VERSION 4.6 true false > ${CONFIG}__46.ya
$CURDIR/generate-ci-config.sh knative-$VERSION 4.7 true false > ${CONFIG}__47.yaml
$CURDIR/generate-ci-config.sh knative-$VERSION 4.8 true false > ${CONFIG}__48.yaml
$CURDIR/generate-ci-config.sh knative-$VERSION 4.9 true false > ${CONFIG}__49.yaml
$CURDIR/generate-ci-config.sh knative-$VERSION 4.10 false true > ${CONFIG}__410.yaml
$CURDIR/generate-ci-config.sh knative-$VERSION 4.10 true false > ${CONFIG}__410.yaml
$CURDIR/generate-ci-config.sh knative-$VERSION 4.11 true false > ${CONFIG}__411-tls.yaml
$CURDIR/generate-ci-config.sh knative-$VERSION 4.11 false true > ${CONFIG}__411.yaml

# Append missing lines to the mirror file.
if [[ "$VERSION" != "next" ]]; then
Expand Down Expand Up @@ -92,7 +94,7 @@ RERUN_MAKE=false
if [[ "$VERSION" != "next" ]]; then
stage "Adding reporter_config to periodics"
# These version MUST match the ocp version we used above
for OCP_VERSION in 49 410; do
for OCP_VERSION in 411; do
JOB="periodic-ci-openshift-knative-serving-release-${VERSION}-${OCP_VERSION}-e2e-aws-ocp-${OCP_VERSION}-continuous"
if [[ $(sed -n "/ name: $JOB/ r $TMPDIR/reporterConfig" "$PERIODIC_CONFIG") ]]; then
sed -i "/ name: $JOB/ r $TMPDIR/reporterConfig" "$PERIODIC_CONFIG"
Expand Down

0 comments on commit b8c3e86

Please sign in to comment.