From fd7e7f528b0fa704ec3ed2e791dca254a2d1df36 Mon Sep 17 00:00:00 2001 From: Benoy Bose Date: Sun, 6 Apr 2025 19:48:37 +0530 Subject: [PATCH 1/4] Update .firebaserc --- .firebaserc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.firebaserc b/.firebaserc index 008864b..74dd134 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,6 +1,7 @@ { "projects": { "debug": "fitlien-dev", + "qa": "fitlien-qa", "release": "fitlien" } -} +} \ No newline at end of file From 7be90b6284e74cf6004b5d6c14a3a6a5a028a898 Mon Sep 17 00:00:00 2001 From: Benoy Bose Date: Sun, 6 Apr 2025 19:57:50 +0530 Subject: [PATCH 2/4] Adding QA pipeline --- fitlien-services-qa-pipeline.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 fitlien-services-qa-pipeline.yaml diff --git a/fitlien-services-qa-pipeline.yaml b/fitlien-services-qa-pipeline.yaml new file mode 100644 index 0000000..c9fb9ed --- /dev/null +++ b/fitlien-services-qa-pipeline.yaml @@ -0,0 +1,30 @@ +trigger: + - dev + +pool: + vmImage: "ubuntu-latest" + +variables: + major: $(VERSION_MAJOR) + minor: $(VERSION_MINOR) + prefix: $[format('{0}.{1}', variables['major'], variables['minor'])] + patch: $[counter(variables['prefix'], 100)] + buildNumber: $(major).$(minor).$(patch) + +resources: + repositories: + - repository: templateRepo + endpoint: cosq-network + type: github + name: cosq-network/azure-build-pipeline-templates + +extends: + template: firebase-functions-deploy.yaml@templateRepo + parameters: + nodeVersion: "20" + firebaseTokenSecret: $(FIREBASE_TOKEN) + functionsWorkingDirectory: "$(Build.SourcesDirectory)/functions" + envExamplePath: "$(Build.SourcesDirectory)/functions/.env.example" + envPath: "$(Build.SourcesDirectory)/functions/.env" + buildNumber: $(buildNumber) + buildType: qa From 960fbb1e92799c95dc4982d8dd7b413e45068b43 Mon Sep 17 00:00:00 2001 From: Benoy Bose Date: Sun, 6 Apr 2025 20:38:32 +0530 Subject: [PATCH 3/4] Update fitlien-services-qa-pipeline.yaml --- fitlien-services-qa-pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fitlien-services-qa-pipeline.yaml b/fitlien-services-qa-pipeline.yaml index c9fb9ed..75d9767 100644 --- a/fitlien-services-qa-pipeline.yaml +++ b/fitlien-services-qa-pipeline.yaml @@ -1,5 +1,5 @@ trigger: - - dev + - main pool: vmImage: "ubuntu-latest" From 8d20162922ae7a03ea6a2ca5e5bf44f5acffaa2a Mon Sep 17 00:00:00 2001 From: Benoy Bose Date: Mon, 7 Apr 2025 19:01:42 +0530 Subject: [PATCH 4/4] Update fitlien-services-qa-pipeline.yaml --- fitlien-services-qa-pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fitlien-services-qa-pipeline.yaml b/fitlien-services-qa-pipeline.yaml index 75d9767..b9ca163 100644 --- a/fitlien-services-qa-pipeline.yaml +++ b/fitlien-services-qa-pipeline.yaml @@ -1,5 +1,5 @@ trigger: - - main + - qa pool: vmImage: "ubuntu-latest"