Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control-service: compute the image tag within the script #1393

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion projects/control-service/cicd/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ control_service_release:
stage: release
script:
- apk --no-cache add bash openssl curl git
- export IMAGE_TAG="$(git rev-parse --short HEAD)"
- export DESIRED_VERSION=v3.6.3 # helm version 3.6.3
- export CHART_NAME=pipelines-control-service
- export CHART_VERSION="$(cat projects/control-service/projects/helm_charts/$CHART_NAME/version.txt | grep -o '^[0-9]\+\.[0-9]\+').$CI_PIPELINE_ID"
Expand Down
4 changes: 4 additions & 0 deletions projects/control-service/cicd/release-pipelines-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

# Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0

git rev-parse --short HEAD

IMAGE_TAG=$(git rev-parse --short HEAD)
echo "image tag is $IMAGE_TAG"
export HELM_REPO=versatile-data-kit-helm-registry
# TODO: sign chart
Expand Down