Page MenuHomePhorge

.gitlab-ci.yml
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

.gitlab-ci.yml

stages:
- prepare
- deps
- build
prepare-env:
stage: prepare
script: |
tag="$CI_COMMIT_REF_SLUG"
echo "tag=$tag" >> prepare.env
echo "libkazvTag=servant" >> prepare.env
artifacts:
reports:
dotenv: prepare.env
build-deps-debug:
stage: deps
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script: |
mkdir -p /kaniko/.docker
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.deps --build-arg LIBKAZV_TAG="$libkazvTag" --build-arg JOBS=1 --destination $CI_REGISTRY_IMAGE/deps:$tag --destination $CI_REGISTRY_IMAGE/deps:$tag-debug
dependencies:
- prepare-env
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
build-deps-production:
stage: deps
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script: |
mkdir -p /kaniko/.docker
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.deps --build-arg LIBKAZV_TAG="$libkazvTag"-prod --build-arg JOBS=1 --destination $CI_REGISTRY_IMAGE/deps:"$tag"-prod
dependencies:
- prepare-env
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
build-debug:
stage: build
image:
name: '$CI_REGISTRY_IMAGE/deps:$CI_COMMIT_REF_SLUG'
script: |
./packaging/GNU-Linux/appimage/build.sh
artifacts:
paths:
- kazv-Debug.AppImage
expire_in: 1 week
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
build-prod:
stage: build
image:
name: '$CI_REGISTRY_IMAGE/deps:$CI_COMMIT_REF_SLUG-prod'
script: |
./packaging/GNU-Linux/appimage/build-prod.sh
artifacts:
paths:
- kazv-Release.AppImage
expire_in: 1 week
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 2, 4:24 AM (22 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
487260
Default Alt Text
.gitlab-ci.yml (1 KB)

Event Timeline