Skip to content

Commit

Permalink
Merge pull request #52 from NpoolPlatform/hotfix/pull-policy
Browse files Browse the repository at this point in the history
update pullpolicy
  • Loading branch information
EntropyPool authored Mar 11, 2024
2 parents 740ccaf + 0fcf044 commit ad701ad
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 ad701ad

Please sign in to comment.