diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63909ad1c325a1d85c78f386ef52f31339e01920..c915f0da324f20c6ee9813b30e5fee3b8de681d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,20 +1,37 @@ +# variables in the GitLab CI/CD variables: + # GITLAB_TOKEN to support the semantic-release + # DOCKER_AUTH_CONFIG to support the usage of private docker images as job docker image + # TMPL_RELEASE_ENABLED to enable the semantic-release job + # TBC_NAMESPACE: smartdatalab/public/ci-cd-components + include: - - project: "to-be-continuous/tools/gitlab-ci" - ref: "master" - file: "/templates/extract.yml" - - project: "to-be-continuous/tools/gitlab-ci" - ref: "master" - file: "/templates/validation.yml" - - project: "to-be-continuous/kicker" - ref: "master" - file: "/templates/validation.yml" - - component: $CI_SERVER_FQDN/to-be-continuous/bash/gitlab-ci-bash@3.5 + - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/gitlab-ci/extract@master + inputs: + extract-script-job-tags: ["docker"] + - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/gitlab-ci/validation@master + inputs: + check-links-job-tags: ["docker"] + tbc-check-job-tags: ["docker"] + tbc-check-image: cicd-docker-dev.artifact.tecnalia.com/tbc-check:master + gitlab-ci-lint-job-tags: ["docker"] + - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/kicker/validation@master inputs: + kicker-validation-job-tags: ["docker"] + schema-base-url: "https://git.code.tecnalia.com/api/v4/projects/smartdatalab%2Fpublic%2Fci-cd-components%2Fkicker/repository/files" + yajsv-image: "cicd-docker-dev.artifact.tecnalia.com/yajsv:latest" + - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/bash/gitlab-ci-bash@master + inputs: + bash-shellcheck-job-tags: ["docker"] shellcheck-files: "*.sh" - - component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@3.11 + - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/semantic-release/gitlab-ci-semrel@master + inputs: + semantic-release-job-tags: ["docker"] + variables: GITLAB_CI_FILES: "templates/gitlab-ci-rust.yml" + LYCHEE_EXTRA_OPTS: "--exclude .acme.corp" + GIT_STRATEGY: clone semantic-release: rules: