Skip to content

Commit

Permalink
update pullpolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
kikakkz committed Feb 28, 2024
1 parent 740ccaf commit 0fcf044
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ pipeline {
git checkout $tag
sed -i "s/sphinx-proxy:latest/sphinx-proxy:$tag/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml
sed -i "s/uhub.service.ucloud.cn/$DOCKER_REGISTRY/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml
sed -i "s/imagePullPolicy: Always/imagePullPolicy: IfNotPresent/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml
make deploy-to-k8s-cluster
'''.stripIndent())
}
Expand All @@ -363,6 +364,7 @@ pipeline {
git checkout $tag
sed -i "s/sphinx-proxy:latest/sphinx-proxy:$tag/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml
sed -i "s/uhub.service.ucloud.cn/$DOCKER_REGISTRY/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml
sed -i "s/imagePullPolicy: Always/imagePullPolicy: IfNotPresent/g" cmd/sphinx-proxy/k8s/01-sphinx-proxy.yaml
make deploy-to-k8s-cluster
'''.stripIndent())
}
Expand Down

0 comments on commit 0fcf044

Please sign in to comment.