Loading .gitlab-ci.yml +0 −2 Original line number Diff line number Diff line Loading @@ -11,9 +11,7 @@ variables: include: - local: pipelines/project-automation.yml - local: yaml/yamllint.yml # - local: project-automation/pipeline-scheduler.yml # - local: project-automation/gitlab/py-in-ci.yml - local: docs/prettier.yml # child pipeline to unit tests all our jobs Loading .pre-commit-config.yaml +0 −5 Original line number Diff line number Diff line Loading @@ -16,11 +16,6 @@ repos: args: ["--fix=lf"] description: Forces to replace line ending by the UNIX 'lf' character. - repo: https://github.com/adrienverge/yamllint rev: v1.32.0 hooks: - id: yamllint - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook rev: v2.2.0 hooks: Loading .yamllint.ymldeleted 100644 → 0 +0 −5 Original line number Diff line number Diff line --- extends: default rules: line-length: disable container/docker.yml +11 −5 Original line number Diff line number Diff line Loading @@ -26,15 +26,21 @@ variables: fi - docker buildx inspect --bootstrap - docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} - echo "${CI_REGISTRY_PASSWORD}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin - docker buildx create --use - | if [ "${DOCKER_EXTRA_ARGS}" != "" ]; then echo "[*] Applying the extra arguments '${DOCKER_EXTRA_ARGS}'." fi - | docker buildx build --push \ --tag ${IMAGE_NAME}:${IMAGE_TAG} \ --tag ${IMAGE_NAME}:${IMAGE_DEV_TAG} \ if [ "${IMAGE_CACHE}" = "true" ]; then DOCKER_EXTRA_ARGS="${DOCKER_EXTRA_ARGS} --cache-to type=registry,ref=${IMAGE_NAME}:build-cache,mode=max" DOCKER_EXTRA_ARGS="${DOCKER_EXTRA_ARGS} --cache-from type=registry,ref=${IMAGE_NAME}:build-cache" fi # prettier-ignore - > docker buildx build --push --tag ${IMAGE_NAME}:${IMAGE_TAG} --tag ${IMAGE_NAME}:${IMAGE_DEV_TAG} -f ${IMAGE_CONTAINERFILE} ${DOCKER_EXTRA_ARGS} . Loading
.gitlab-ci.yml +0 −2 Original line number Diff line number Diff line Loading @@ -11,9 +11,7 @@ variables: include: - local: pipelines/project-automation.yml - local: yaml/yamllint.yml # - local: project-automation/pipeline-scheduler.yml # - local: project-automation/gitlab/py-in-ci.yml - local: docs/prettier.yml # child pipeline to unit tests all our jobs Loading
.pre-commit-config.yaml +0 −5 Original line number Diff line number Diff line Loading @@ -16,11 +16,6 @@ repos: args: ["--fix=lf"] description: Forces to replace line ending by the UNIX 'lf' character. - repo: https://github.com/adrienverge/yamllint rev: v1.32.0 hooks: - id: yamllint - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook rev: v2.2.0 hooks: Loading
.yamllint.ymldeleted 100644 → 0 +0 −5 Original line number Diff line number Diff line --- extends: default rules: line-length: disable
container/docker.yml +11 −5 Original line number Diff line number Diff line Loading @@ -26,15 +26,21 @@ variables: fi - docker buildx inspect --bootstrap - docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} - echo "${CI_REGISTRY_PASSWORD}" | docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} --password-stdin - docker buildx create --use - | if [ "${DOCKER_EXTRA_ARGS}" != "" ]; then echo "[*] Applying the extra arguments '${DOCKER_EXTRA_ARGS}'." fi - | docker buildx build --push \ --tag ${IMAGE_NAME}:${IMAGE_TAG} \ --tag ${IMAGE_NAME}:${IMAGE_DEV_TAG} \ if [ "${IMAGE_CACHE}" = "true" ]; then DOCKER_EXTRA_ARGS="${DOCKER_EXTRA_ARGS} --cache-to type=registry,ref=${IMAGE_NAME}:build-cache,mode=max" DOCKER_EXTRA_ARGS="${DOCKER_EXTRA_ARGS} --cache-from type=registry,ref=${IMAGE_NAME}:build-cache" fi # prettier-ignore - > docker buildx build --push --tag ${IMAGE_NAME}:${IMAGE_TAG} --tag ${IMAGE_NAME}:${IMAGE_DEV_TAG} -f ${IMAGE_CONTAINERFILE} ${DOCKER_EXTRA_ARGS} .