Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cecile Cavet
test-ci
Commits
a363d205
Commit
a363d205
authored
Nov 22, 2018
by
Cecile Cavet
Browse files
Add new file
parent
15b4858d
Pipeline
#19409
failed with stage
in 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
.gitlab-ci.yml
.gitlab-ci.yml
+55
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
a363d205
#image: python:alpine
image
:
centos:latest
## integrate k8s cluster
deploy to staging
:
# stage: deploy
script
:
-
yum install -y kubernetes-client
-
echo $KUBE_NAMESPACE
-
cat /builds/cavet/test-ci.tmp/KUBECONFIG
-
kubectl get all && kubectl get nodes
environment
:
name
:
production/$CI_COMMIT_REF_NAME
url
:
$KUBE_URL
## push code on VM
#deploy_prod:
# #script: git push production HEAD:master
# script:
# - yum install -y openssh-clients
# - eval $(ssh-agent -s)
# - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
# - scp -o stricthostkeychecking=no -r test cavet@134.158.244.5:ldc_git
# only:
# - master
## pages working
#before_script:
# - pip install mkdocs
# Add your custom theme if not inside a theme_dir
# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
# - pip install mkdocs-toto
#pages:
# stage: deploy
# script:
# - mkdocs build
# - mv site public
# artifacts:
# paths:
# - public
# only:
# - master
#pages:
# stage: deploy
# script:
# - mkdir .public
# - cp -r * .public
# - mv .public public
# artifacts:
# paths:
# - public
# only:
# - master
Write
Preview
Markdown
is supported
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