From ca366451970ac32c7215ba3b6890f7382a00257b Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Sat, 23 Sep 2023 18:22:24 +0200 Subject: [PATCH] [OPB-xxx] fixing release job updating version --- .github/workflows/release.yml | 14 +++++++------- deployment/helm/oneplus-bot/Chart.yaml | 4 ++-- deployment/helm/oneplus-bot/values.yaml | 6 +++--- deployment/image-packaging/src/main/docker/.env | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e828603..c15c8f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,16 +24,16 @@ jobs: user: Sheldan token: ${{ secrets.ABSTRACTO_PAT }} - name: Login to Harbor - uses: docker/login-action@v2 - with: - registry: harbor.sheldan.dev - username: ${{ secrets.HARBOR_USERNAME }} - password: ${{ secrets.HARBOR_TOKEN }} + uses: docker/login-action@v2 + with: + registry: harbor.sheldan.dev + username: ${{ secrets.HARBOR_USERNAME }} + password: ${{ secrets.HARBOR_TOKEN }} - name: Load env files id: dotenv uses: falti/dotenv-action@v1.0.4 with: - path: ./deployment/image-packaging/src/main/docker + path: ./deployment/image-packaging/src/main/docker/.env - name: Push container working-directory: ./deployment/image-packaging/src/main/docker run: docker-compose build && docker-compose push @@ -43,6 +43,6 @@ jobs: - name: Helm push working-directory: ./deployment/helm/ run: |- - helm registry login -u ${{ secrets.HARBOR_USERNAME }} -p ${{ secrets.HARBOR_TOKEN }} harbor.sheldan.dev + helm registry login -u '${{ secrets.HARBOR_USERNAME }}' -p '${{ secrets.HARBOR_TOKEN }}' harbor.sheldan.dev helm package oneplus-bot helm push oneplus-bot*.tgz oci://harbor.sheldan.dev/oneplus-bot diff --git a/deployment/helm/oneplus-bot/Chart.yaml b/deployment/helm/oneplus-bot/Chart.yaml index ca719fe..5741398 100644 --- a/deployment/helm/oneplus-bot/Chart.yaml +++ b/deployment/helm/oneplus-bot/Chart.yaml @@ -15,10 +15,10 @@ 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: 1.6.6 +version: 1.6.7 # 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 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.6.6" +appVersion: "1.6.7" diff --git a/deployment/helm/oneplus-bot/values.yaml b/deployment/helm/oneplus-bot/values.yaml index eceac37..e9c982b 100644 --- a/deployment/helm/oneplus-bot/values.yaml +++ b/deployment/helm/oneplus-bot/values.yaml @@ -8,7 +8,7 @@ bot: repository: harbor.sheldan.dev/oneplus-bot pullPolicy: IfNotPresent image: oneplus-bot - tag: 1.6.6 + tag: 1.6.7 livenessProbe: initialDelaySeconds: 60 periodSeconds: 5 @@ -29,7 +29,7 @@ templateDeploymentData: repository: harbor.sheldan.dev/oneplus-bot pullPolicy: Always image: oneplus-bot-template-data - tag: 1.4.17 + tag: 1.6.7 dbConfigDeployment: enabled: true @@ -42,7 +42,7 @@ dbConfigDeploymentData: repository: harbor.sheldan.dev/oneplus-bot pullPolicy: Always image: oneplus-bot-db-data - tag: 1.4.17 + tag: 1.6.7 dbCredentials: host: diff --git a/deployment/image-packaging/src/main/docker/.env b/deployment/image-packaging/src/main/docker/.env index fe72082..f670789 100644 --- a/deployment/image-packaging/src/main/docker/.env +++ b/deployment/image-packaging/src/main/docker/.env @@ -1,2 +1,2 @@ REGISTRY_PREFIX=harbor.sheldan.dev/oneplus-bot/ -VERSION=1.6.6 \ No newline at end of file +VERSION=1.6.7 \ No newline at end of file