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
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
Hide 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 @@
yamllint
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
variables
:
LANG
:
C.UTF-8
script
:
...
...
@@ -11,6 +12,7 @@ yamllint:
vagrant-validate
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
variables
:
VAGRANT_VERSION
:
2.2.4
script
:
...
...
@@ -20,6 +22,7 @@ vagrant-validate:
ansible-lint
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
# lint every yml/yaml file that looks like it contains Ansible plays
script
:
|-
grep -Rl '^- hosts: \|^ hosts: ' --include \*.yml --include \*.yaml . | xargs -P 4 -n 25 ansible-lint -v
...
...
@@ -28,6 +31,7 @@ ansible-lint:
syntax-check
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
variables
:
ANSIBLE_INVENTORY
:
inventory/local-tests.cfg
ANSIBLE_REMOTE_USER
:
root
...
...
@@ -43,6 +47,7 @@ syntax-check:
tox-inventory-builder
:
stage
:
unit-tests
tags
:
[
light
]
extends
:
.job
before_script
:
-
./tests/scripts/rebase.sh
...
...
@@ -56,6 +61,7 @@ tox-inventory-builder:
markdownlint
:
stage
:
unit-tests
tags
:
[
light
]
image
:
node
before_script
:
-
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 @@
shellcheck
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
variables
:
SHELLCHECK_VERSION
:
v0.6.0
before_script
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci/terraform.yml
+
3
−
0
View file @
221c6a8e
...
...
@@ -22,6 +22,7 @@
.terraform_validate
:
extends
:
.terraform_install
stage
:
unit-tests
tags
:
[
light
]
only
:
[
'
master'
,
/^pr-.*$/
]
script
:
-
terraform validate -var-file=cluster.tfvars contrib/terraform/$PROVIDER
...
...
@@ -29,6 +30,7 @@
.terraform_apply
:
extends
:
.terraform_install
tags
:
[
light
]
stage
:
deploy-part2
when
:
manual
only
:
[
/^pr-.*$/
]
...
...
@@ -106,6 +108,7 @@ tf-validate-aws:
tf-ovh_cleanup
:
stage
:
unit-tests
tags
:
[
light
]
image
:
python
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