Skip to content

Commit f2c2b9f

Browse files
authored
Merge pull request #91 from catenax-ng/chore/TRACEFOSS-1029-graflhelm
Chore/tracefoss 1029 graflhelm
2 parents cc2d118 + 89c4323 commit f2c2b9f

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.github/workflows/docker-image-tag-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
run: mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn --batch-mode -DskipTests=true install jib:build -Dimage=${{ env.REGISTRY }}/${{ github.repository }}:${{ env.TAG_NAME }}
7676

7777
- name: Tag docker image ${{ env.REGISTRY }}/${{ github.repository }}:latest
78-
run: docker tag ${{ env.REGISTRY }}/${{ github.repository }}-backend:${{ env.TAG_NAME }} ${{ env.REGISTRY }}/${{ github.repository }}:latest
78+
run: docker tag ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.TAG_NAME }} ${{ env.REGISTRY }}/${{ github.repository }}:latest
7979

8080
- name: Push docker image ${{ env.REGISTRY }}/${{ github.repository }}:latest
8181
run: docker push ${{ env.REGISTRY }}/${{ github.repository }}:latest

.github/workflows/helm-chart-release.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Get backend helm charts latest tag version
2929
id: step1
3030
run: |
31-
latestVersion=$(git tag | grep "^helm-charts-" | tail -1)
31+
latestVersion=$(git tag | grep -e "^helm-charts-" | tail -1)
3232
echo "::set-output name=latest_version::$latestVersion"
3333
echo "Exported $latestVersion latest backend helm charts version"
3434
@@ -75,6 +75,8 @@ jobs:
7575
7676
- name: Run chart-releaser for the backend
7777
uses: helm/[email protected]
78+
with:
79+
charts_dir: backend/charts
7880
env:
7981
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
8082
CR_RELEASE_NAME_TEMPLATE: "${{ env.RELEASE_VERSION }}"
@@ -98,6 +100,7 @@ jobs:
98100
run: |
99101
git config user.name "$GITHUB_ACTOR"
100102
git config user.email "[email protected]"
103+
101104
- name: Install Helm
102105
uses: azure/setup-helm@v3
103106
with:
@@ -108,7 +111,10 @@ jobs:
108111
cd charts/traceability-foss-frontend
109112
helm repo add bitnami https://charts.bitnami.com/bitnami
110113
helm dependency update
114+
111115
- name: Run chart-releaser for the frontend
112-
uses: helm/[email protected]
116+
uses: helm/[email protected]
117+
with:
118+
charts_dir: frontend/charts
113119
env:
114120
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

backend/charts/traceability-foss-backend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: traceability-foss-backend
33
description: A Helm chart for Traceability backend application
44
type: application
55
version: 1.1.4
6-
appVersion: "2.1.9"
6+
appVersion: "3.0.0"
77
dependencies:
88
- name: postgresql
99
repository: https://charts.bitnami.com/bitnami

frontend/charts/traceability-foss-frontend/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.1.3
18+
version: 1.1.4
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "2.0.0"
24+
appVersion: "3.0.0"

0 commit comments

Comments
 (0)