24 lines
896 B
YAML
24 lines
896 B
YAML
image: alpine:latest
|
|
|
|
variables:
|
|
#CI_DEBUG_TRACE: "true"
|
|
CACHE_TTL: 2190h0m0s
|
|
|
|
kaniko-build:
|
|
variables:
|
|
KANIKO_ARGS: "--cache=true --cache-repo $CI_REGISTRY_IMAGE --cache-ttl $CACHE_TTL"
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
- review
|
|
|
|
# NOTE: These links point to the latest templates for development in GitLab canonical project,
|
|
# therefore the actual templates that were included for Auto DevOps pipelines
|
|
# could be different from the contents in the links.
|
|
# To view the actual templates, please replace `master` to the specific GitLab version when
|
|
# the Auto DevOps pipeline started running e.g. `v13.0.2-ee`.
|
|
include:
|
|
- template: Kaniko.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Kaniko.gitlab-ci.yml
|
|
- template: Jobs/Test.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Test.gitlab-ci.yml
|