From 949f968245a4ad6c77f38977e1bf85450c078fe2 Mon Sep 17 00:00:00 2001 From: bel Date: Thu, 12 Oct 2023 01:55:11 +0000 Subject: [PATCH 1/7] Created pipeline firebase-deploy --- .harness/firebase-deploy.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .harness/firebase-deploy.yaml diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml new file mode 100644 index 0000000..5162c17 --- /dev/null +++ b/.harness/firebase-deploy.yaml @@ -0,0 +1,15 @@ +version: 1 +kind: pipeline +spec: + stages: + - name: build + type: ci + spec: + steps: + - name: deploy + type: run + spec: + name: deploy + shell: bash + script: | + bash ./deploy.firebase.sh \ No newline at end of file From 4a2e8dc48b8e59dff0f8a7c2af95e5152efc1201 Mon Sep 17 00:00:00 2001 From: bel Date: Thu, 12 Oct 2023 01:55:21 +0000 Subject: [PATCH 2/7] Updated pipeline firebase-deploy --- .harness/firebase-deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml index 5162c17..0ed8957 100644 --- a/.harness/firebase-deploy.yaml +++ b/.harness/firebase-deploy.yaml @@ -6,10 +6,10 @@ spec: type: ci spec: steps: - - name: deploy + - name: build type: run spec: - name: deploy + name: build shell: bash script: | bash ./deploy.firebase.sh \ No newline at end of file From c1224ff60461be051e4157c62034eeb514c9d876 Mon Sep 17 00:00:00 2001 From: bel Date: Thu, 12 Oct 2023 01:59:27 +0000 Subject: [PATCH 3/7] Updated pipeline firebase-deploy --- .harness/firebase-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml index 0ed8957..00e71a9 100644 --- a/.harness/firebase-deploy.yaml +++ b/.harness/firebase-deploy.yaml @@ -12,4 +12,4 @@ spec: name: build shell: bash script: | - bash ./deploy.firebase.sh \ No newline at end of file + bash ./deploy.firebase.sh '${{ secrets.get("secret_name") }}' \ No newline at end of file From 046903a7f5169a07d901de1b17d3e2326993104b Mon Sep 17 00:00:00 2001 From: bel Date: Thu, 12 Oct 2023 01:59:40 +0000 Subject: [PATCH 4/7] Updated pipeline firebase-deploy --- .harness/firebase-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml index 00e71a9..18015b9 100644 --- a/.harness/firebase-deploy.yaml +++ b/.harness/firebase-deploy.yaml @@ -12,4 +12,4 @@ spec: name: build shell: bash script: | - bash ./deploy.firebase.sh '${{ secrets.get("secret_name") }}' \ No newline at end of file + bash ./deploy.firebase.sh '${{ secrets.get("resume-firebase-squeaky2x3-gmail-token") }}' \ No newline at end of file From 204aee596d150c29546580f33042c74f25364ad9 Mon Sep 17 00:00:00 2001 From: bel Date: Thu, 12 Oct 2023 02:03:52 +0000 Subject: [PATCH 5/7] Updated pipeline firebase-deploy --- .harness/firebase-deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml index 18015b9..9ed670d 100644 --- a/.harness/firebase-deploy.yaml +++ b/.harness/firebase-deploy.yaml @@ -5,6 +5,7 @@ spec: - name: build type: ci spec: + when: build.event == "branch_updated" && build.target == "main" steps: - name: build type: run From d94ddad195824cf30b9c8e09eb1cd617b6518282 Mon Sep 17 00:00:00 2001 From: bel Date: Thu, 12 Oct 2023 02:04:44 +0000 Subject: [PATCH 6/7] Updated pipeline firebase-deploy --- .harness/firebase-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml index 9ed670d..0433dae 100644 --- a/.harness/firebase-deploy.yaml +++ b/.harness/firebase-deploy.yaml @@ -5,9 +5,9 @@ spec: - name: build type: ci spec: - when: build.event == "branch_updated" && build.target == "main" steps: - name: build + when: build.event == "branch_updated" && build.target == "main" type: run spec: name: build From 8b2e8e39fd598a38410931096350c8557b4cc540 Mon Sep 17 00:00:00 2001 From: bel Date: Thu, 12 Oct 2023 02:05:04 +0000 Subject: [PATCH 7/7] Updated pipeline firebase-deploy --- .harness/firebase-deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/firebase-deploy.yaml b/.harness/firebase-deploy.yaml index 0433dae..0e12b31 100644 --- a/.harness/firebase-deploy.yaml +++ b/.harness/firebase-deploy.yaml @@ -7,8 +7,8 @@ spec: spec: steps: - name: build - when: build.event == "branch_updated" && build.target == "main" type: run + when: build.event == "branch_updated" && build.target == "main" spec: name: build shell: bash