Skip to content

Commit

Permalink
Include dots in regex for image version substitution. (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
porridge authored and Jan Schlicht committed Jan 10, 2020
1 parent 1f0be0b commit 55576a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ docker build . \
-t "kudobuilder/controller:$VERSION"

# Generate the kudo.yaml that is used to install KUDO while running e2e-test
./bin/kubectl-kudo init --dry-run --output yaml \
| sed -E -e "/image:/ s/:[[:alnum:]]+/:$VERSION/" -e '/imagePullPolicy/ s/Always/Never/' \
./bin/kubectl-kudo init --dry-run --output yaml --kudo-image kudobuilder/controller:$VERSION \
| sed -E -e '/imagePullPolicy/ s/Always/Never/' \
> test/manifests/kudo.yaml

sed "s/%version%/$VERSION/" kudo-e2e-test.yaml.tmpl > kudo-e2e-test.yaml
Expand Down

0 comments on commit 55576a2

Please sign in to comment.