From 5e2714cba5092999dcaa5c985b4a2c0541a6b220 Mon Sep 17 00:00:00 2001 From: Maxim Omelchenko <93929010+rtest12@users.noreply.github.com> Date: Sun, 11 Aug 2024 00:14:21 +0300 Subject: [PATCH 1/4] fix: deployment priorityclassname (#340) Co-authored-by: Maxim Omelchenko --- application/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/templates/deployment.yaml b/application/templates/deployment.yaml index 00567707..a3dce5c8 100644 --- a/application/templates/deployment.yaml +++ b/application/templates/deployment.yaml @@ -90,7 +90,7 @@ spec: {{ toYaml .Values.deployment.nodeSelector | indent 8 }} {{- end }} {{- with .Values.deployment.priorityClassName }} - priorityClassName: {{ .Values.deployment.priorityClassName }} + priorityClassName: {{ . }} {{- end }} {{- if .Values.deployment.tolerations }} tolerations: From 474d9b7ef4d3097e2d60539d445aeaf0c573e1ef Mon Sep 17 00:00:00 2001 From: stakater-user Date: Sat, 10 Aug 2024 21:16:15 +0000 Subject: [PATCH 2/4] [skip-ci] Update artifacts --- application/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Chart.yaml b/application/Chart.yaml index b0dffa15..1bc99e85 100644 --- a/application/Chart.yaml +++ b/application/Chart.yaml @@ -6,7 +6,7 @@ type: application # Helm chart Version -version: 4.2.4 +version: 4.2.5 keywords: From 50c1ad5322beb637a23a9ec3198c71853792def0 Mon Sep 17 00:00:00 2001 From: Muneeb Aijaz <43588696+MuneebAijaz@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:21:25 +0500 Subject: [PATCH 3/4] Change workflow trigger for pull_request (#341) --- .github/workflows/pull_request.yaml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index e1296d61..1c1503db 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -1,7 +1,7 @@ name: Pull Request on: - pull_request_target: + pull_request: branches: - master @@ -49,14 +49,6 @@ jobs: - name: Login to cluster run: oc login --token=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token) --server=https://kubernetes.default.svc --insecure-skip-tls-verify=true - # This is required for adding ghcr helm registry - - name: Login to Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io/stakater - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Run Checkov action uses: bridgecrewio/checkov-action@master with: @@ -70,24 +62,6 @@ jobs: run: | helm install ${CHART_NAME} ${CHART_NAME} -f ${CHART_NAME}/values-test.yaml -n stakater-chart-pipeline-test --dry-run --debug - - name: Comment on PR - uses: mshick/add-pr-comment@v2 - env: - GITHUB_TOKEN: ${{ secrets.STAKATER_GITHUB_TOKEN }} - with: - message-success: '@${{ github.actor }} validation successful`' - message-failure: '@${{ github.actor }} Yikes! You better fix it before anyone else finds out! [Build](https://github.com/${{ github.repository }}/commit/${{ github.event.pull_request.head.sha }}/checks) has Failed!' - allow-repeats: false - - - name: Notify Slack - uses: 8398a7/action-slack@v3 - if: always() # Pick up events even if the job fails or is canceled. - with: - status: ${{ job.status }} - fields: repo,author,action,eventName,ref,workflow - env: - SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} - unittest: name: Unit Tests runs-on: ubuntu-latest From 500a1abe8f8b2d676132ec773c89fa3404bbb2b5 Mon Sep 17 00:00:00 2001 From: stakater-user Date: Wed, 21 Aug 2024 06:23:11 +0000 Subject: [PATCH 4/4] [skip-ci] Update artifacts --- application/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Chart.yaml b/application/Chart.yaml index 1bc99e85..1d4bf919 100644 --- a/application/Chart.yaml +++ b/application/Chart.yaml @@ -6,7 +6,7 @@ type: application # Helm chart Version -version: 4.2.5 +version: 4.2.6 keywords: