Skip to content

Commit

Permalink
Merge branch 'RESTAPI-826-ci-checks-beta-version-release-fix' into 'm…
Browse files Browse the repository at this point in the history
…aster'

Restapi 826 ci checks beta version release fix

See merge request firecrest/firecrest!215
  • Loading branch information
Juan Pablo Dorsch committed Mar 2, 2023
2 parents ebe5959 + abbff0f commit ae8af63
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,12 @@ tag_release:
code_tag="prod"
if [ "$is_master" == "true" ]; then
if [[ "${CI_COMMIT_TAG}" == "*dev*" ]]; then
if [[ $CI_COMMIT_TAG =~ "dev" ]]; then
env_tags="tds"
code_tag="tds"
echo "This is a TDS release"
else
echo "This is a Prod release"
fi
# check if tag $code_tag exists
Expand Down Expand Up @@ -293,7 +296,7 @@ deploy_tds:
- cd deploy/k8s
- |
echo -e "registry: ${CI_REGISTRY_PREFIX}" > values-tds.yaml
echo -e "firecrest_version: ${CI_COMMIT_TAG:4}" >> values-tds.yaml
echo -e "firecrest_version: ${CI_COMMIT_TAG}" >> values-tds.yaml
echo -e "namespace: ${CI_NAMESPACE_TDS}" >> values-tds.yaml
echo -e "registry_secret_creds: regcred" >> values-tds.yaml
echo -e "tag: tds" >> values-tds.yaml
Expand Down

0 comments on commit ae8af63

Please sign in to comment.