From 14f0106ab172cf210be2ec581c699c283cf1ca95 Mon Sep 17 00:00:00 2001 From: Satish Kumar Date: Mon, 16 Oct 2023 18:10:54 +0530 Subject: [PATCH 1/5] chore: dummy commit to test build --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 44b1b1a6d..b0a1faae1 100644 --- a/README.md +++ b/README.md @@ -152,3 +152,4 @@ License --- Uses stats from https://github.com/Granitosaurus/statsd-telegraf + From 168e57be78bf23eba869d7db0da660a660cddac7 Mon Sep 17 00:00:00 2001 From: Satish Kumar Date: Mon, 16 Oct 2023 18:23:13 +0530 Subject: [PATCH 2/5] chore: test build --- .github/workflows/pr-onto-dev.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-onto-dev.yaml b/.github/workflows/pr-onto-dev.yaml index 8808e7419..f7ac04987 100644 --- a/.github/workflows/pr-onto-dev.yaml +++ b/.github/workflows/pr-onto-dev.yaml @@ -10,10 +10,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: '0' - - name: Checkout repository - uses: actions/checkout@v2 + - name: Set private key + uses: webfactory/ssh-agent@v0.5.4 with: - token: ${{ secrets.PAT }} + ssh-private-key: ${{ secrets.SSH_KEY_GITHUB }} - name: Get branch name id: branch-name uses: tj-actions/branch-names@v5.1 From e93ca7ef27e6c5b60c78cec511d2de8bcea22d43 Mon Sep 17 00:00:00 2001 From: Satish Kumar Date: Mon, 16 Oct 2023 18:27:00 +0530 Subject: [PATCH 3/5] test build --- .github/workflows/pr-onto-dev.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/pr-onto-dev.yaml b/.github/workflows/pr-onto-dev.yaml index f7ac04987..1d431dca5 100644 --- a/.github/workflows/pr-onto-dev.yaml +++ b/.github/workflows/pr-onto-dev.yaml @@ -10,10 +10,6 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: '0' - - name: Set private key - uses: webfactory/ssh-agent@v0.5.4 - with: - ssh-private-key: ${{ secrets.SSH_KEY_GITHUB }} - name: Get branch name id: branch-name uses: tj-actions/branch-names@v5.1 @@ -28,7 +24,7 @@ jobs: docker login --username rudderlabs --password '${{ secrets.DOCKER_HUB_PASSWORD }}' export VERSION=${{ steps.branch-name.outputs.current_branch }} rm -rf rudder-alerta-enrichment-plugin - git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" git@github.com:rudderlabs/rudder-alerta-enrichment-plugin.git + git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" https://${{ secrets.PAT_USERNAME }}:${{ secrets.PAT }}@github.com:rudderlabs/rudder-alerta-enrichment-plugin.git docker build --no-cache --build-arg=COMMIT_ID_VALUE="$(git log --format="%H" -n 1)" -t rudderlabs/alerta:$VERSION . docker push rudderlabs/alerta:$VERSION rm -rf rudder-alerta-enrichment-plugin From 730bca67c7684273f0961668f8d554852653a068 Mon Sep 17 00:00:00 2001 From: Satish Kumar Date: Mon, 16 Oct 2023 18:28:59 +0530 Subject: [PATCH 4/5] test build --- .github/workflows/pr-onto-dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-onto-dev.yaml b/.github/workflows/pr-onto-dev.yaml index 1d431dca5..934030714 100644 --- a/.github/workflows/pr-onto-dev.yaml +++ b/.github/workflows/pr-onto-dev.yaml @@ -24,7 +24,7 @@ jobs: docker login --username rudderlabs --password '${{ secrets.DOCKER_HUB_PASSWORD }}' export VERSION=${{ steps.branch-name.outputs.current_branch }} rm -rf rudder-alerta-enrichment-plugin - git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" https://${{ secrets.PAT_USERNAME }}:${{ secrets.PAT }}@github.com:rudderlabs/rudder-alerta-enrichment-plugin.git + git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" https://${{ secrets.PAT_USERNAME }}:${{ secrets.PAT }}@github.com/rudderlabs/rudder-alerta-enrichment-plugin.git docker build --no-cache --build-arg=COMMIT_ID_VALUE="$(git log --format="%H" -n 1)" -t rudderlabs/alerta:$VERSION . docker push rudderlabs/alerta:$VERSION rm -rf rudder-alerta-enrichment-plugin From d71426dc24369acaa58e7498a23bd1d0edbefae3 Mon Sep 17 00:00:00 2001 From: Satish Kumar Date: Mon, 16 Oct 2023 18:34:56 +0530 Subject: [PATCH 5/5] fix build --- .github/workflows/push-onto-master.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-onto-master.yaml b/.github/workflows/push-onto-master.yaml index 69141506f..2b8d2136c 100644 --- a/.github/workflows/push-onto-master.yaml +++ b/.github/workflows/push-onto-master.yaml @@ -29,7 +29,7 @@ jobs: docker login --username rudderlabs --password '${{ secrets.DOCKER_HUB_PASSWORD }}' export VERSION=${{steps.version_check_staging.outputs.releaseVersion}} rm -rf rudder-alerta-enrichment-plugin - git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" git@github.com:rudderlabs/rudder-alerta-enrichment-plugin.git + git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" https://${{ secrets.PAT_USERNAME }}:${{ secrets.PAT }}@github.com/rudderlabs/rudder-alerta-enrichment-plugin.git docker build --no-cache --build-arg=COMMIT_ID_VALUE="$(git log --format="%H" -n 1)" -t rudderlabs/alerta:$VERSION . docker push rudderlabs/alerta:$VERSION rm -rf rudder-alerta-enrichment-plugin