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
0faa8055
Unverified
Commit
0faa8055
authored
1 year ago
by
Max Gautier
Browse files
Options
Downloads
Patches
Plain Diff
Remove gitlab-ci job done in pre-commit
parent
bc21433a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci/lint.yml
+1
-109
1 addition, 109 deletions
.gitlab-ci/lint.yml
with
1 addition
and
109 deletions
.gitlab-ci/lint.yml
+
1
−
109
View file @
0faa8055
...
@@ -20,16 +20,6 @@ run-pre-commit:
...
@@ -20,16 +20,6 @@ run-pre-commit:
job
:
generate-pre-commit
job
:
generate-pre-commit
strategy
:
depend
strategy
:
depend
yamllint
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
variables
:
LANG
:
C.UTF-8
script
:
-
yamllint --strict .
except
:
[
'
triggers'
,
'
master'
]
vagrant-validate
:
vagrant-validate
:
extends
:
.job
extends
:
.job
stage
:
unit-tests
stage
:
unit-tests
...
@@ -40,109 +30,11 @@ vagrant-validate:
...
@@ -40,109 +30,11 @@ vagrant-validate:
-
./tests/scripts/vagrant-validate.sh
-
./tests/scripts/vagrant-validate.sh
except
:
[
'
triggers'
,
'
master'
]
except
:
[
'
triggers'
,
'
master'
]
ansible-lint
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
script
:
-
ansible-lint -v
except
:
[
'
triggers'
,
'
master'
]
jinja-syntax-check
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
script
:
-
"
find
-name
'*.j2'
-exec
tests/scripts/check-templates.py
{}
+"
except
:
[
'
triggers'
,
'
master'
]
syntax-check
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
variables
:
ANSIBLE_INVENTORY
:
inventory/local-tests.cfg
ANSIBLE_REMOTE_USER
:
root
ANSIBLE_BECOME
:
"
true"
ANSIBLE_BECOME_USER
:
root
ANSIBLE_VERBOSITY
:
"
3"
script
:
-
ansible-playbook --syntax-check cluster.yml
-
ansible-playbook --syntax-check playbooks/cluster.yml
-
ansible-playbook --syntax-check upgrade-cluster.yml
-
ansible-playbook --syntax-check playbooks/upgrade_cluster.yml
-
ansible-playbook --syntax-check reset.yml
-
ansible-playbook --syntax-check playbooks/reset.yml
-
ansible-playbook --syntax-check extra_playbooks/upgrade-only-k8s.yml
except
:
[
'
triggers'
,
'
master'
]
collection-build-install-sanity-check
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
variables
:
ANSIBLE_COLLECTIONS_PATH
:
"
./ansible_collections"
script
:
-
ansible-galaxy collection build
-
ansible-galaxy collection install kubernetes_sigs-kubespray-$(grep "^version:" galaxy.yml | awk '{print $2}').tar.gz
-
ansible-galaxy collection list $(egrep -i '(name:\s+|namespace:\s+)' galaxy.yml | awk '{print $2}' | tr '\n' '.' | sed 's|\.$||g') | grep "^kubernetes_sigs.kubespray"
-
test -f ansible_collections/kubernetes_sigs/kubespray/playbooks/cluster.yml
-
test -f ansible_collections/kubernetes_sigs/kubespray/playbooks/reset.yml
except
:
[
'
triggers'
,
'
master'
]
tox-inventory-builder
:
stage
:
unit-tests
tags
:
[
light
]
extends
:
.job
before_script
:
-
./tests/scripts/rebase.sh
script
:
-
pip3 install tox
-
cd contrib/inventory_builder && tox
except
:
[
'
triggers'
,
'
master'
]
markdownlint
:
stage
:
unit-tests
tags
:
[
light
]
image
:
node
before_script
:
-
npm install -g markdownlint-cli@0.22.0
script
:
-
markdownlint $(find . -name '*.md' | grep -vF './.git') --ignore docs/_sidebar.md --ignore contrib/dind/README.md
generate-sidebar
:
extends
:
.job
stage
:
unit-tests
tags
:
[
light
]
script
:
-
scripts/gen_docs_sidebar.sh
-
git diff --exit-code
check-readme-versions
:
stage
:
unit-tests
tags
:
[
light
]
image
:
python:3
script
:
-
tests/scripts/check_readme_versions.sh
# TODO: convert to pre-commit hook
check-galaxy-version
:
check-galaxy-version
:
stage
:
unit-tests
stage
:
unit-tests
tags
:
[
light
]
tags
:
[
light
]
image
:
python:3
image
:
python:3
script
:
script
:
-
tests/scripts/check_galaxy_version.sh
-
tests/scripts/check_galaxy_version.sh
check-typo
:
stage
:
unit-tests
tags
:
[
light
]
image
:
python:3
script
:
-
tests/scripts/check_typo.sh
ci-matrix
:
stage
:
unit-tests
tags
:
[
light
]
image
:
python:3
script
:
-
tests/scripts/md-table/main.py
-
git diff --exit-code
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