Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
8c36915e
Commit
8c36915e
authored
8 years ago
by
ant31
Committed by
FailFast-ci Bot
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add gitlabci
parent
2c50f204
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+65
-0
65 additions, 0 deletions
.gitlab-ci.yml
with
65 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
65
−
0
View file @
8c36915e
stages
:
-
unit-tests
-
local-deployment
-
calico
-
flannel
-
canal
-
weave
variables
:
FAILFASTCI_NAMESPACE
:
'
kargo-ci'
cache
:
paths
:
-
cache
before_script
:
-
pip install ansible
-
pip install netaddr
-
pip install apache-libcloud==0.20.1
-
pip install boto==2.9.0
-
mkdir -p /.ssh
-
cp tests/ansible.cfg .
.job
:
&job
tags
:
-
kubernetes
-
docker
image
:
quay.io/ant31/kargo:master
.docker_service
:
&docker_service
variables
:
DOCKER_DRIVER
:
overlay
DOCKER_HOST
:
tcp://localhost:2375
services
:
-
docker:dind
.create_cluster
:
&create_cluster
<<
:
*job
<<
:
*docker_service
syntax-check
:
<<
:
*job
stage
:
unit-tests
script
:
-
ansible-playbook -i inventory/local-tests.cfg -u root -e ansible_ssh_user=root -b --become-user=root cluster.yml -vvv --syntax-check
local-dry-run
:
stage
:
unit-tests
<<
:
*job
<<
:
*docker_service
script
:
-
ansible-playbook -i inventory/local-tests.cfg -u root -e ansible_ssh_user=root -b --become-user=root cluster.yml -vv -c local --check
allow_failure
:
true
idempotent
:
stage
:
local-deployment
<<
:
*job
<<
:
*docker_service
script
:
-
ansible-playbook -i inventory/local-tests.cfg -u root -e ansible_ssh_user=root -b --become-user=root cluster.yml -vv -c local
allow_failure
:
true
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment