-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.gitlab-ci.yml
30 lines (26 loc) · 1.01 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# (C) 2022 GoodData Corporation
# This file is used to produce GoodData Public Demo artifact for the usage in GoodData Anywhere / Tiger.
#
# Repository is registered on GitLab using the "CI/CD for external repo" so after the successful merge or PRs in Github,
# this pipeline definition is executed. It's not in any way blocking the existing delivery and deployment with internal CI / CD process.
#
# Delivery is managed by the CI / CD pipeline in gooddata/gdc-nas repository.
---
default:
image: $PANTHER_REPO_URL/infra/tools:$BUILD_IMAGE_VERSION
variables:
BUILD_IMAGE_VERSION: '4.0.0'
stages:
- generate-update
### Job templates
.post-merge: &post-merge
# trigger on push to master, release, hotfix/(tiger|panther) or fast_track branch
if: '$CI_COMMIT_BRANCH =~ /^(master|release|hotfix\/(tiger|panther)|fast_track)$/
&& $CI_PIPELINE_SOURCE == "push"'
generate-update:
stage: generate-update
script:
- /scripts/update_ext_image_version.py demo-resources
dependencies: []
rules:
- <<: *post-merge