Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
42c90689
Commit
42c90689
authored
Jun 12, 2017
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
42c90689
...
...
@@ -133,6 +133,7 @@ push-github:
@
echo
"
$$
GITHUB_DEPLOY_KEY"
>
$(KEY_FILE)
@
git remote
rm
github-deploy
||
true
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)
rm
$(KEY_FILE)
...
...
k8s/senpy-deployment.yaml
View file @
42c90689
...
...
@@ -14,6 +14,7 @@ spec:
containers
:
-
name
:
senpy-latest
image
:
gsiupm/senpy:latest
imagePullPolicy
:
Always
args
:
-
"
--default-plugins"
resources
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment