mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-24 09:02:28 +00:00
Add pull policy to k8s deployment
* Add git fetch to (try to) fix github push from gitlab
This commit is contained in:
parent
96843827bd
commit
42c9068991
1
Makefile
1
Makefile
@ -133,6 +133,7 @@ push-github:
|
|||||||
@echo "$$GITHUB_DEPLOY_KEY" > $(KEY_FILE)
|
@echo "$$GITHUB_DEPLOY_KEY" > $(KEY_FILE)
|
||||||
@git remote rm github-deploy || true
|
@git remote rm github-deploy || true
|
||||||
git remote add github-deploy $(GITHUB_REPO)
|
git remote add github-deploy $(GITHUB_REPO)
|
||||||
|
git fetch github-deploy $(CI_COMMIT_REF_NAME) || true
|
||||||
@GIT_SSH_COMMAND="ssh -i $(KEY_FILE)" git push github-deploy $(CI_COMMIT_REF_NAME)
|
@GIT_SSH_COMMAND="ssh -i $(KEY_FILE)" git push github-deploy $(CI_COMMIT_REF_NAME)
|
||||||
rm $(KEY_FILE)
|
rm $(KEY_FILE)
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: senpy-latest
|
- name: senpy-latest
|
||||||
image: gsiupm/senpy:latest
|
image: gsiupm/senpy:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- "--default-plugins"
|
- "--default-plugins"
|
||||||
resources:
|
resources:
|
||||||
|
Loading…
Reference in New Issue
Block a user