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 e8f3edf2 authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

fix: ymllint

parent 60adaa81
No related tags found
No related merge requests found
Pipeline #12061 failed
...@@ -18,4 +18,3 @@ bash-lint: ...@@ -18,4 +18,3 @@ bash-lint:
for script in $files_to_lint; do for script in $files_to_lint; do
_shellcheck $script _shellcheck $script
done done
\ No newline at end of file
...@@ -43,8 +43,8 @@ container:purge: ...@@ -43,8 +43,8 @@ container:purge:
REG_OPTS: "--insecure --auth-url ${CI_REGISTRY} -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD}" REG_OPTS: "--insecure --auth-url ${CI_REGISTRY} -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD}"
before_script: before_script:
- > - >
curl --fail --show-error curl --fail --show-error
--location "https://github.com/genuinetools/reg/releases/download/v$REG_VERSION/reg-linux-amd64" --location "https://github.com/genuinetools/reg/releases/download/v$REG_VERSION/reg-linux-amd64"
--output /usr/local/bin/reg --output /usr/local/bin/reg
- echo "$REG_SHA256 /usr/local/bin/reg" | sha256sum -c - - echo "$REG_SHA256 /usr/local/bin/reg" | sha256sum -c -
- chmod a+x /usr/local/bin/reg - chmod a+x /usr/local/bin/reg
......
...@@ -7,10 +7,6 @@ yamllint: ...@@ -7,10 +7,6 @@ yamllint:
image: registry.gitlab.com/pipeline-components/yamllint:latest image: registry.gitlab.com/pipeline-components/yamllint:latest
stage: lint stage: lint
script: | script: |
pwd
ls -lrt
cat .yamllint
find . -type f \( -name "*.yml" -and ! -name "*vault*" \) | xargs -r yamllint find . -type f \( -name "*.yml" -and ! -name "*vault*" \) | xargs -r yamllint
for file in $files_to_lint; do for file in $files_to_lint; do
yamllint $file yamllint $file
......
...@@ -166,7 +166,7 @@ variables: ...@@ -166,7 +166,7 @@ variables:
if [[ -n "${IMAGE_NAME}" ]]; then if [[ -n "${IMAGE_NAME}" ]]; then
container_image_name="/${IMAGE_NAME}" container_image_name="/${IMAGE_NAME}"
else else
container_image_name="" container_image_name=""
fi fi
- |- # Tags - |- # Tags
container_default_tag="tmp-branch-${CI_COMMIT_REF_NAME//\//_}-$(echo ${CI_COMMIT_SHA} | cut -c1-8)" container_default_tag="tmp-branch-${CI_COMMIT_REF_NAME//\//_}-$(echo ${CI_COMMIT_SHA} | cut -c1-8)"
......
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