Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit caa44d49 authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

fix: container images vpgrp/linter disapear form docker hub

parent 241beebc
No related branches found
No related tags found
No related merge requests found
Showing
with 36 additions and 7 deletions
......@@ -21,7 +21,7 @@ include:
- '/templates/job/bash/test.yml'
- '/templates/job/yaml/lint.yml'
- '/templates/job/terraform/lint.yml'
# Deprecated templates
# Deprecated templates
- '/gci-templates/job/info.yml'
- '/gci-templates/job/.base.yml'
......
---
extends: default
rules:
colons:
max-spaces-after: -1
line-length:
max: 128
---
include:
image: docker:19.03.0
variables:
DOCKER_DRIVER: overlay2
......
---
variables:
tpl_directory_old: gci-template
tpl_baseurl: https://gitlab.com/lydra/gitlab-ci-templates/-/raw/${CI_COMMIT_BRANCH}
......@@ -5,17 +6,19 @@ variables:
.deprecated_tpl:
after_script:
- echo -e '\033[0;31m' # RED
- echo -e '\033[0;31m' # RED
- echo "⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨"
- echo "⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨 DEPRECATED TEMPLATE DIR ⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨"
- echo "In release 1.0.0 the template directory ${tpl_directory_old} will be remove !"
- echo "Use the new template directory ${tpl_directory}"
- echo "⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨⚠️🚨"
- echo -e '\033[0m' # No Color
- echo -e '\033[0m' # No Color
- exit 1
allow_failure: true
warning move templates dir:
extends: .warning
variables:
message: "In release 1.0.0 the template directory ${tpl_directory_old} will be remove ! Use the new template directory ${tpl_directory}"
message: >
In release 1.0.0 the template directory ${tpl_directory_old} will be remove !
Use the new template directory ${tpl_directory}"
---
.base_tpl:
variables:
working_directory: "$CI_PROJECT_DIR"
......
---
ansible-lint:
extends: .base_ansible
image: yokogawa/ansible-lint:v4.2.0
......
---
ansible-syntax-check:
extends: .base_ansible
image: williamyeh/ansible:alpine3
......
---
ansible-lint:
extends: .base_ansible
image: yokogawa/ansible-lint:v4.2.0
......@@ -10,7 +11,7 @@ ansible-lint:
ansible-lint --force-color ${file}
echo -e "\e[32m -> Ansible: lint OK\e[0m"
done
ansible-syntax-check:
extends: .base_ansible
image: williamyeh/ansible:alpine3
......
---
molecule:
extends: .base_ansible
stage: test
......
---
bash-lint:
extends: .base_tpl
stage: lint
......
---
bash-lint:
extends: .base_tpl
stage: lint
......@@ -16,4 +17,4 @@ bash-lint:
done
for script in $files_to_lint; do
_shellcheck $script
done
\ No newline at end of file
done
---
bats:
extends: .base_tpl
stage: test
......
---
bats:
extends: .base_tpl
stage: test
......@@ -15,5 +16,5 @@ bats:
-v "$(pwd):/code/" \
-v "/tmp:/tmp_ro":ro \
bats/bats:latest /code/test
false
---
# docs:
# - https://docs.gitlab.com/ee/ci/docker/using_kaniko.html
# - https://cloud.google.com/build/docs/kaniko-cache
......
---
# docs:
# - https://docs.gitlab.com/ee/ci/docker/using_kaniko.html
# - https://cloud.google.com/build/docs/kaniko-cache
......
---
# doc: https://github.com/hadolint/hadolint
container::lint:
extends: .base_tpl
......
---
docker-lint:
extends: .base_tpl
stage: lint
......
---
.info:
stage: info
variables:
......
---
molecule:
extends: .base_ansible
stage: test
......
---
node::build:
extends:
- .base_node
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment