minor commit

This commit is contained in:
Fabio Formosa
2024-07-27 16:33:24 +02:00
parent 4537c8e304
commit e5a6b8b32b
3 changed files with 2 additions and 6 deletions

View File

@@ -11,9 +11,7 @@ steps:
- |
# Build and push images
sed -i s/_IMAGE_TAG_POLICY/$SHORT_SHA/g skaffold.yaml
sed -i s/_HELM_CHART_VERSION/0.0.0/g ./quartz-manager-parent/quartz-manager-web-showcase/helm/Chart.yaml
sed -i s/_HELM_APP_VERSION/$SHORT_SHA/g ./quartz-manager-parent/quartz-manager-web-showcase/helm/Chart.yaml
sed -i s/_HELM_CHART_NAME/quartzmanager-standalone/g skaffold.yaml
sed -i s/_HELM_NAMESPACE/quartzmanager-dev/g skaffold.yaml
skaffold build --file-output=/workspace/artifacts.json \
--default-repo=${_REGION}-docker.pkg.dev/quartz-manager-test/quartz-manager/quartz-manager-standalone \
@@ -26,9 +24,7 @@ steps:
- -xe
- -c
- |
sed -i s/_HELM_CHART_VERSION/0.0.0/g ./quartz-manager-parent/quartz-manager-web-showcase/helm/Chart.yaml
sed -i s/_HELM_APP_VERSION/$SHORT_SHA/g ./quartz-manager-parent/quartz-manager-web-showcase/helm/Chart.yaml
sed -i s/_HELM_CHART_NAME/quartzmanager-standalone/g skaffold.yaml
sed -i s/_HELM_NAMESPACE/quartzmanager-dev/g skaffold.yaml
gcloud config set deploy/region ${_REGION}
gcloud deploy apply --file ./quartz-manager-parent/quartz-manager-web-showcase/deploy/pipeline.yaml

View File

@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: _HELM_CHART_VERSION
version: 1.0.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to

View File

@@ -12,7 +12,7 @@ profiles:
deploy:
helm:
releases:
- name: _HELM_CHART_NAME
- name: quartzmanager-standalone
createNamespace: true
namespace: _HELM_NAMESPACE
chartPath: quartz-manager-parent/quartz-manager-web-showcase/helm