Commit 42c90689 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Add pull policy to k8s deployment

* Add git fetch to (try to) fix github push from gitlab
parent 96843827
...@@ -133,6 +133,7 @@ push-github: ...@@ -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: ...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment