Trigger build
This commit is contained in:
@@ -35,8 +35,7 @@ steps:
|
|||||||
--username=devops-bot \
|
--username=devops-bot \
|
||||||
- export SHORT_SHA="$(git rev-parse --short HEAD)"
|
- export SHORT_SHA="$(git rev-parse --short HEAD)"
|
||||||
- yq e -i '.version += "+" + env(SHORT_SHA)' "$CHART_PATH/Chart.yaml"
|
- yq e -i '.version += "+" + env(SHORT_SHA)' "$CHART_PATH/Chart.yaml"
|
||||||
- yq e -i ".appVersion = env(SHORT_SHA)" "$CHART_PATH/Chart.yaml"
|
- yq e -i ".appVersion = env(CI_COMMIT_SHA)" "$CHART_PATH/Chart.yaml"
|
||||||
- yq e -i ".image.tag = env(CI_COMMIT_SHA)" "$CHART_PATH/values.yaml"
|
|
||||||
- helm dep build "$CHART_PATH"
|
- helm dep build "$CHART_PATH"
|
||||||
- helm package "$CHART_PATH" -d packages;
|
- helm package "$CHART_PATH" -d packages;
|
||||||
- export REGISTRY=$(echo oci://gitea.badhouseplants.net/$CI_REPO/helm | tr '[:upper:]' '[:lower:]')
|
- export REGISTRY=$(echo oci://gitea.badhouseplants.net/$CI_REPO/helm | tr '[:upper:]' '[:lower:]')
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.4.0+fd9e135
|
version: 0.1.0
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# 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
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# It is recommended to use it with quotes.
|
||||||
appVersion: "fd9e135"
|
appVersion: "0.1.0"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ replicaCount: 1
|
|||||||
image:
|
image:
|
||||||
repository: gitea.badhouseplants.net/softplayer/softplayer-backend
|
repository: gitea.badhouseplants.net/softplayer/softplayer-backend
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
tag: test
|
tag: ~
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user