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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
221c6a8e
Unverified
Commit
221c6a8e
authored
5 years ago
by
Maxime Guyot
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use a separate runner for light CI jobs (#5771)
parent
25a1e5f9
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci/lint.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci/lint.yml
.gitlab-ci/shellcheck.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci/shellcheck.yml
.gitlab-ci/terraform.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci/terraform.yml
with
10 additions
and
0 deletions
.gitlab-ci/lint.yml
+
6
−
0
View file @
221c6a8e
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
yamllint
:
yamllint
:
extends
:
.job
extends
:
.job
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
variables
:
variables
:
LANG
:
C.UTF-8
LANG
:
C.UTF-8
script
:
script
:
...
@@ -11,6 +12,7 @@ yamllint:
...
@@ -11,6 +12,7 @@ yamllint:
vagrant-validate
:
vagrant-validate
:
extends
:
.job
extends
:
.job
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
variables
:
variables
:
VAGRANT_VERSION
:
2.2.4
VAGRANT_VERSION
:
2.2.4
script
:
script
:
...
@@ -20,6 +22,7 @@ vagrant-validate:
...
@@ -20,6 +22,7 @@ vagrant-validate:
ansible-lint
:
ansible-lint
:
extends
:
.job
extends
:
.job
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
# lint every yml/yaml file that looks like it contains Ansible plays
# lint every yml/yaml file that looks like it contains Ansible plays
script
:
|-
script
:
|-
grep -Rl '^- hosts: \|^ hosts: ' --include \*.yml --include \*.yaml . | xargs -P 4 -n 25 ansible-lint -v
grep -Rl '^- hosts: \|^ hosts: ' --include \*.yml --include \*.yaml . | xargs -P 4 -n 25 ansible-lint -v
...
@@ -28,6 +31,7 @@ ansible-lint:
...
@@ -28,6 +31,7 @@ ansible-lint:
syntax-check
:
syntax-check
:
extends
:
.job
extends
:
.job
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
variables
:
variables
:
ANSIBLE_INVENTORY
:
inventory/local-tests.cfg
ANSIBLE_INVENTORY
:
inventory/local-tests.cfg
ANSIBLE_REMOTE_USER
:
root
ANSIBLE_REMOTE_USER
:
root
...
@@ -43,6 +47,7 @@ syntax-check:
...
@@ -43,6 +47,7 @@ syntax-check:
tox-inventory-builder
:
tox-inventory-builder
:
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
extends
:
.job
extends
:
.job
before_script
:
before_script
:
-
./tests/scripts/rebase.sh
-
./tests/scripts/rebase.sh
...
@@ -56,6 +61,7 @@ tox-inventory-builder:
...
@@ -56,6 +61,7 @@ tox-inventory-builder:
markdownlint
:
markdownlint
:
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
image
:
node
image
:
node
before_script
:
before_script
:
-
npm install -g markdownlint-cli
-
npm install -g markdownlint-cli
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci/shellcheck.yml
+
1
−
0
View file @
221c6a8e
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
shellcheck
:
shellcheck
:
extends
:
.job
extends
:
.job
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
variables
:
variables
:
SHELLCHECK_VERSION
:
v0.6.0
SHELLCHECK_VERSION
:
v0.6.0
before_script
:
before_script
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci/terraform.yml
+
3
−
0
View file @
221c6a8e
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
.terraform_validate
:
.terraform_validate
:
extends
:
.terraform_install
extends
:
.terraform_install
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
only
:
[
'
master'
,
/^pr-.*$/
]
only
:
[
'
master'
,
/^pr-.*$/
]
script
:
script
:
-
terraform validate -var-file=cluster.tfvars contrib/terraform/$PROVIDER
-
terraform validate -var-file=cluster.tfvars contrib/terraform/$PROVIDER
...
@@ -29,6 +30,7 @@
...
@@ -29,6 +30,7 @@
.terraform_apply
:
.terraform_apply
:
extends
:
.terraform_install
extends
:
.terraform_install
tags
:
[
light
]
stage
:
deploy-part2
stage
:
deploy-part2
when
:
manual
when
:
manual
only
:
[
/^pr-.*$/
]
only
:
[
/^pr-.*$/
]
...
@@ -106,6 +108,7 @@ tf-validate-aws:
...
@@ -106,6 +108,7 @@ tf-validate-aws:
tf-ovh_cleanup
:
tf-ovh_cleanup
:
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
image
:
python
image
:
python
variables
:
variables
:
<<
:
*ovh_variables
<<
:
*ovh_variables
...
...
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