From 58c742bd87fd6f14d75a94d4799be1c981b522bc Mon Sep 17 00:00:00 2001 From: TomFern Date: Mon, 5 Jul 2021 15:40:49 +0000 Subject: [PATCH 01/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 109 ++++++++------------------------------- 1 file changed, 21 insertions(+), 88 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 280da72..9892ed3 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -1,88 +1,21 @@ -version: v1.0 -name: Initial Pipeline -agent: - machine: - type: e1-standard-2 - os_image: ubuntu1804 -blocks: - - name: Build Android - task: - jobs: - - name: Gradle build - commands: - - echo 1 - run: - when: 'change_in(''/android/'', {default_branch: ''main''})' - dependencies: [] - - name: Test Android - run: - when: 'change_in(''/android/'', {default_branch: ''main''})' - dependencies: - - Build Android - task: - jobs: - - name: Unit tests - commands: [] - - name: Publish to Google Play - run: - when: 'change_in(''/android/'', {default_branch: ''main''})' - dependencies: - - Test Android - task: - jobs: - - name: Publish - commands: [] - - name: Build iOS - run: - when: 'change_in(''/ios/'', {default_branch: ''main''})' - dependencies: [] - task: - jobs: - - name: XCode build - commands: [] - - name: Test iOS - dependencies: - - Build iOS - run: - when: 'change_in(''/ios/'', {default_branch: ''main''})' - task: - jobs: - - name: Unit tests - commands: [] - - name: Publish to App Store - dependencies: - - Test iOS - run: - when: 'change_in(''/ios/'', {default_branch: ''main''})' - task: - jobs: - - name: Publish - commands: [] - - name: Build Web - dependencies: [] - run: - when: 'change_in(''/web/'', {default_branch: ''main''})' - task: - jobs: - - name: Bundle install - commands: [] - - name: Tests - dependencies: - - Build Web - run: - when: 'change_in(''/web/'', {default_branch: ''main''})' - task: - jobs: - - name: Unit tests - commands: [] - - name: Integration tests - commands: [] - - name: Deploy to Production - dependencies: - - Tests - run: - when: 'change_in(''/web/'', {default_branch: ''main''})' - task: - jobs: - - name: Publish - commands: [] +version: v1.0 +name: Go +agent: + machine: + type: e1-standard-2 + os_image: ubuntu1804 +blocks: + - name: "\U0001F4B0Billing service" + task: + jobs: + - name: go test + commands: + - sem-version go 1.12 + - export GO111MODULE=on + - export GOPATH=~/go + - 'export PATH=/home/semaphore/go/bin:$PATH' + - checkout + - cd services/billing + - go get ./... + - go test ./... + - go build -v . From d722c32f40639f344559b0dada941e17ff500b77 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 21 Jul 2021 21:18:37 +0000 Subject: [PATCH 02/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 51 +++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 11 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 9892ed3..46a922f 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -5,17 +5,46 @@ agent: type: e1-standard-2 os_image: ubuntu1804 blocks: - - name: "\U0001F4B0Billing service" + - name: "Android \U0001F528" task: jobs: - - name: go test + - name: Build commands: - - sem-version go 1.12 - - export GO111MODULE=on - - export GOPATH=~/go - - 'export PATH=/home/semaphore/go/bin:$PATH' - - checkout - - cd services/billing - - go get ./... - - go test ./... - - go build -v . + - echo "Android" + dependencies: [] + - name: "iOS \U0001F528" + dependencies: + - "Android \U0001F50D" + task: + jobs: + - name: Build + commands: + - echo "ios" + - name: "Website \U0001F528" + dependencies: + - "iOS \U0001F50D" + task: + jobs: + - name: Build + commands: [] + - name: "Android \U0001F50D" + dependencies: + - "Android \U0001F528" + task: + jobs: + - name: Deploy + commands: [] + - name: "iOS \U0001F50D" + dependencies: + - "iOS \U0001F528" + task: + jobs: + - name: Test + commands: [] + - name: "Website \U0001F50D" + dependencies: + - "Website \U0001F528" + task: + jobs: + - name: Test + commands: [] From 8e51ac6956b8e4b40889baf0fee2283f70ce8e7b Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 21 Jul 2021 21:18:57 +0000 Subject: [PATCH 03/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 46a922f..61ab5cd 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -32,7 +32,7 @@ blocks: - "Android \U0001F528" task: jobs: - - name: Deploy + - name: Test commands: [] - name: "iOS \U0001F50D" dependencies: From 8af7d8a18b51e11e2f0bf3f14520e62e3441ce68 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 21 Jul 2021 21:20:42 +0000 Subject: [PATCH 04/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 61ab5cd..a17d855 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -5,45 +5,45 @@ agent: type: e1-standard-2 os_image: ubuntu1804 blocks: - - name: "Android \U0001F528" + - name: Build Android task: jobs: - name: Build commands: - echo "Android" dependencies: [] - - name: "iOS \U0001F528" + - name: 'Build iOS ' dependencies: - - "Android \U0001F50D" + - Test Android task: jobs: - name: Build commands: - echo "ios" - - name: "Website \U0001F528" + - name: Build Web dependencies: - - "iOS \U0001F50D" + - Test iOS task: jobs: - name: Build commands: [] - - name: "Android \U0001F50D" + - name: Test Android dependencies: - - "Android \U0001F528" + - Build Android task: jobs: - name: Test commands: [] - - name: "iOS \U0001F50D" + - name: Test iOS dependencies: - - "iOS \U0001F528" + - 'Build iOS ' task: jobs: - name: Test commands: [] - - name: "Website \U0001F50D" + - name: Test Web dependencies: - - "Website \U0001F528" + - Build Web task: jobs: - name: Test From 8f7784faec9ee6986bec352eb3b275324fc93262 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 21 Jul 2021 21:23:04 +0000 Subject: [PATCH 05/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index a17d855..94f2a69 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -1,5 +1,5 @@ version: v1.0 -name: Go +name: CI Pipeline agent: machine: type: e1-standard-2 From 78d4061439dcbec9b6f52c575284ac9da00efd87 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 21 Jul 2021 21:25:02 +0000 Subject: [PATCH 06/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 94f2a69..f89a8ca 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -1,5 +1,5 @@ version: v1.0 -name: CI Pipeline +name: Initial Pipeline agent: machine: type: e1-standard-2 From 524b7cae76e992c4a762a9b24128e537c1e3aa29 Mon Sep 17 00:00:00 2001 From: TomFern Date: Thu, 22 Jul 2021 21:58:49 +0000 Subject: [PATCH 07/48] Use Single job starter workflow --- .semaphore/semaphore.yml | 63 +++++++++------------------------------- 1 file changed, 13 insertions(+), 50 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index f89a8ca..a9e572b 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -1,50 +1,13 @@ -version: v1.0 -name: Initial Pipeline -agent: - machine: - type: e1-standard-2 - os_image: ubuntu1804 -blocks: - - name: Build Android - task: - jobs: - - name: Build - commands: - - echo "Android" - dependencies: [] - - name: 'Build iOS ' - dependencies: - - Test Android - task: - jobs: - - name: Build - commands: - - echo "ios" - - name: Build Web - dependencies: - - Test iOS - task: - jobs: - - name: Build - commands: [] - - name: Test Android - dependencies: - - Build Android - task: - jobs: - - name: Test - commands: [] - - name: Test iOS - dependencies: - - 'Build iOS ' - task: - jobs: - - name: Test - commands: [] - - name: Test Web - dependencies: - - Build Web - task: - jobs: - - name: Test - commands: [] +version: v1.0 +name: Initial Pipeline +agent: + machine: + type: e1-standard-2 + os_image: ubuntu1804 +blocks: + - name: 'Block #1' + task: + jobs: + - name: 'Job #1' + commands: + - checkout From 4d1badd01dfeb794bb4e3508fe6d4ea069fccd7f Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 21 May 2024 15:08:27 +0000 Subject: [PATCH 08/48] Use Single job starter workflow --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index a9e572b..27b5115 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -3,7 +3,7 @@ name: Initial Pipeline agent: machine: type: e1-standard-2 - os_image: ubuntu1804 + os_image: ubuntu2004 blocks: - name: 'Block #1' task: From 38c2c402b45871ed2aa06f3bc42c61030f62857b Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 14:37:22 +0000 Subject: [PATCH 09/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 13 +++++++++++++ .semaphore/semaphore.yml | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .semaphore/pipeline_3.yml diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml new file mode 100644 index 0000000..59e478d --- /dev/null +++ b/.semaphore/pipeline_3.yml @@ -0,0 +1,13 @@ +version: v1.0 +name: 'Deploy to ${{parameters.ENVIRONMENT}}' +agent: + machine: + type: e1-standard-2 + os_image: ubuntu2004 +blocks: + - name: Deploy + task: + jobs: + - name: Deploy + commands: + - 'echo "Deploy to ${{parameters.ENVIRONMENT}}"' diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 27b5115..058df00 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -11,3 +11,15 @@ blocks: - name: 'Job #1' commands: - checkout +promotions: + - name: Deploy + pipeline_file: pipeline_3.yml + parameters: + env_vars: + - required: true + options: + - Stage + - Production + default_value: Stage + description: Where to deploy? + name: ENVIRONMENT From 3604df2007fe13b35e0bf4481268e9b85c707113 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 14:46:13 +0000 Subject: [PATCH 10/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index 59e478d..12d8d95 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -1,5 +1,5 @@ version: v1.0 -name: 'Deploy to ${{parameters.ENVIRONMENT}}' +name: Deploy pipeline agent: machine: type: e1-standard-2 @@ -10,4 +10,4 @@ blocks: jobs: - name: Deploy commands: - - 'echo "Deploy to ${{parameters.ENVIRONMENT}}"' + - echo "Deploy $ENVIRONMENT" From e96bfbcc13903112d1b7747e1859e2bd5d1f3aaa Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 14:47:06 +0000 Subject: [PATCH 11/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index 12d8d95..e93b186 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -10,4 +10,4 @@ blocks: jobs: - name: Deploy commands: - - echo "Deploy $ENVIRONMENT" + - echo "Deploy to $ENVIRONMENT" From 86e99ca15524bbe4acebdd8045d49ca7dd7a9f80 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 14:54:39 +0000 Subject: [PATCH 12/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 058df00..779b6ea 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -17,9 +17,7 @@ promotions: parameters: env_vars: - required: true - options: - - Stage - - Production + options: [] default_value: Stage description: Where to deploy? name: ENVIRONMENT From 4769f5eb48cb1e47249e5178dbae50cd4a708ffe Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:01:31 +0000 Subject: [PATCH 13/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 779b6ea..058df00 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -17,7 +17,9 @@ promotions: parameters: env_vars: - required: true - options: [] + options: + - Stage + - Production default_value: Stage description: Where to deploy? name: ENVIRONMENT From 4c109f4af8ee0361ccbe18e5c2bc237ee6acf3ec Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:06:46 +0000 Subject: [PATCH 14/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 058df00..779b6ea 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -17,9 +17,7 @@ promotions: parameters: env_vars: - required: true - options: - - Stage - - Production + options: [] default_value: Stage description: Where to deploy? name: ENVIRONMENT From b6dfcb3ce3bea3ce17f60c45b819635b70ab008b Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:14:25 +0000 Subject: [PATCH 15/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 779b6ea..a7861f7 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -16,7 +16,7 @@ promotions: pipeline_file: pipeline_3.yml parameters: env_vars: - - required: true + - required: false options: [] default_value: Stage description: Where to deploy? From 94d499936a3866f919b750b0db138ea2ff04874c Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:15:08 +0000 Subject: [PATCH 16/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index a7861f7..02f07ce 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -17,7 +17,9 @@ promotions: parameters: env_vars: - required: false - options: [] + options: + - Stage + - Production default_value: Stage description: Where to deploy? name: ENVIRONMENT From 8d38870e8a856e9ee0aaf835d87c3d765ca38c58 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:15:46 +0000 Subject: [PATCH 17/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index e93b186..538d308 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -10,4 +10,4 @@ blocks: jobs: - name: Deploy commands: - - echo "Deploy to $ENVIRONMENT" + - checkout From 065dd81fe991e28e7757976300c6b7c9578016c4 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:16:23 +0000 Subject: [PATCH 18/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 2 +- .semaphore/semaphore.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index 538d308..e93b186 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -10,4 +10,4 @@ blocks: jobs: - name: Deploy commands: - - checkout + - echo "Deploy to $ENVIRONMENT" diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 02f07ce..3413211 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -20,6 +20,5 @@ promotions: options: - Stage - Production - default_value: Stage description: Where to deploy? name: ENVIRONMENT From 7309277e13b0d44fc920640b62aaab76ae8dbffd Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:18:46 +0000 Subject: [PATCH 19/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 3413211..4c27a69 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -17,8 +17,6 @@ promotions: parameters: env_vars: - required: false - options: - - Stage - - Production + options: [] description: Where to deploy? name: ENVIRONMENT From 681341affb69b6975234dc1f2624aae4487cc658 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:20:55 +0000 Subject: [PATCH 20/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 4c27a69..1723ab9 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -20,3 +20,5 @@ promotions: options: [] description: Where to deploy? name: ENVIRONMENT + auto_promote: + when: 'true' From 649a261f12e60ee96d9d4af01583c01d61a4670e Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:21:37 +0000 Subject: [PATCH 21/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 1723ab9..7a2ad95 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -17,7 +17,9 @@ promotions: parameters: env_vars: - required: false - options: [] + options: + - Stage + - Production description: Where to deploy? name: ENVIRONMENT auto_promote: From 18276760e7d454fe8fa55eba39d6f92f6850fcbd Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:30:04 +0000 Subject: [PATCH 22/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 7a2ad95..3413211 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -22,5 +22,3 @@ promotions: - Production description: Where to deploy? name: ENVIRONMENT - auto_promote: - when: 'true' From 0a823abccdd3effb27143810f87ded27b743e7a7 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:30:41 +0000 Subject: [PATCH 23/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 3413211..ec2adb4 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -16,9 +16,10 @@ promotions: pipeline_file: pipeline_3.yml parameters: env_vars: - - required: false + - required: true options: - Stage - Production description: Where to deploy? name: ENVIRONMENT + default_value: Stage From 50c9bd8e3c1045cdc4f1ade6d049c4cd84a8706d Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:53:38 +0000 Subject: [PATCH 24/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index e93b186..8d563ad 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -1,5 +1,5 @@ version: v1.0 -name: Deploy pipeline +name: 'Deploy ${{parameters.ENVIRONMENT}}' agent: machine: type: e1-standard-2 From 97f8197066e20469d822d80888dd7b96349b8e12 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:54:22 +0000 Subject: [PATCH 25/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index 8d563ad..edf4343 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -5,9 +5,9 @@ agent: type: e1-standard-2 os_image: ubuntu2004 blocks: - - name: Deploy + - name: 'Deploy ${{parameters.ENVIRONMENT}}' task: jobs: - - name: Deploy + - name: 'Deploy ${{parameters.ENVIRONMENT}}' commands: - echo "Deploy to $ENVIRONMENT" From 6bf7bbdbda94e62e4074d1761c1f2ea963392578 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 15:55:44 +0000 Subject: [PATCH 26/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index edf4343..185cb61 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -5,9 +5,9 @@ agent: type: e1-standard-2 os_image: ubuntu2004 blocks: - - name: 'Deploy ${{parameters.ENVIRONMENT}}' + - name: Deploy task: jobs: - - name: 'Deploy ${{parameters.ENVIRONMENT}}' + - name: Deploy job commands: - echo "Deploy to $ENVIRONMENT" From c57c6df29291586ae719ed0a910542b49ea6a166 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 20:48:58 +0000 Subject: [PATCH 27/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 13 ------------- .semaphore/semaphore.yml | 19 ++++++------------- 2 files changed, 6 insertions(+), 26 deletions(-) delete mode 100644 .semaphore/pipeline_3.yml diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml deleted file mode 100644 index 185cb61..0000000 --- a/.semaphore/pipeline_3.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: v1.0 -name: 'Deploy ${{parameters.ENVIRONMENT}}' -agent: - machine: - type: e1-standard-2 - os_image: ubuntu2004 -blocks: - - name: Deploy - task: - jobs: - - name: Deploy job - commands: - - echo "Deploy to $ENVIRONMENT" diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index ec2adb4..9889cdc 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -4,22 +4,15 @@ agent: machine: type: e1-standard-2 os_image: ubuntu2004 + containers: + - name: main + image: 'semaphoreci/ubuntu:20.04' + - name: web + image: nginx blocks: - name: 'Block #1' task: jobs: - name: 'Job #1' commands: - - checkout -promotions: - - name: Deploy - pipeline_file: pipeline_3.yml - parameters: - env_vars: - - required: true - options: - - Stage - - Production - description: Where to deploy? - name: ENVIRONMENT - default_value: Stage + - 'curl http://web' From 248267893a76571f824f51d2d16af95b32cbb920 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 21:20:01 +0000 Subject: [PATCH 28/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 13 +++++++++++++ .semaphore/semaphore.yml | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .semaphore/pipeline_3.yml diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml new file mode 100644 index 0000000..d1a0e03 --- /dev/null +++ b/.semaphore/pipeline_3.yml @@ -0,0 +1,13 @@ +version: v1.0 +name: Pipeline 3 +agent: + machine: + type: e1-standard-2 + os_image: ubuntu2004 +blocks: + - name: 'Block #1' + task: + jobs: + - name: 'Job #1' + commands: + - echo "job 1" diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 9889cdc..a1bd8ba 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -16,3 +16,16 @@ blocks: - name: 'Job #1' commands: - 'curl http://web' +promotions: + - name: Promotion 1 + pipeline_file: pipeline_3.yml + deployment_target: staging + parameters: + env_vars: + - required: true + options: + - Stage + - Production + default_value: Stage + description: '' + name: ENVIRONMENT From 61233e6c83c642c722d086811cd746902d573a11 Mon Sep 17 00:00:00 2001 From: TomFern Date: Wed, 22 May 2024 21:28:52 +0000 Subject: [PATCH 29/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index a1bd8ba..836c332 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -15,6 +15,7 @@ blocks: jobs: - name: 'Job #1' commands: + - checkout - 'curl http://web' promotions: - name: Promotion 1 From 7238072b72fc0f4e0e03a934176ea93f685744ec Mon Sep 17 00:00:00 2001 From: TomFern Date: Thu, 23 May 2024 20:04:31 +0000 Subject: [PATCH 30/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 836c332..c5af973 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -4,23 +4,17 @@ agent: machine: type: e1-standard-2 os_image: ubuntu2004 - containers: - - name: main - image: 'semaphoreci/ubuntu:20.04' - - name: web - image: nginx blocks: - - name: 'Block #1' + - name: Build task: jobs: - - name: 'Job #1' + - name: Build commands: - checkout - - 'curl http://web' promotions: - - name: Promotion 1 + - name: Deploy pipeline_file: pipeline_3.yml - deployment_target: staging + deployment_target: Production parameters: env_vars: - required: true From a090631c3897ba0e1c6aef79b54f6cc5fd543f37 Mon Sep 17 00:00:00 2001 From: TomFern Date: Thu, 23 May 2024 20:35:01 +0000 Subject: [PATCH 31/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index c5af973..79cdd70 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -11,6 +11,7 @@ blocks: - name: Build commands: - checkout + - checkout promotions: - name: Deploy pipeline_file: pipeline_3.yml From c4c509cb2c8e686923dc48eaedfedb181dd2900a Mon Sep 17 00:00:00 2001 From: TomFern Date: Thu, 23 May 2024 20:35:19 +0000 Subject: [PATCH 32/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index d1a0e03..9e74689 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -11,3 +11,4 @@ blocks: - name: 'Job #1' commands: - echo "job 1" + - checkout From b1c258cffbc7a0e9eaf0544bf25d4565d7e770f2 Mon Sep 17 00:00:00 2001 From: TomFern Date: Thu, 23 May 2024 20:35:39 +0000 Subject: [PATCH 33/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index 9e74689..a6fb102 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -12,3 +12,4 @@ blocks: commands: - echo "job 1" - checkout + - fail From 4dc4b89a9c07965fad5c194f087d6e88d03f5744 Mon Sep 17 00:00:00 2001 From: TomFern Date: Thu, 23 May 2024 20:35:55 +0000 Subject: [PATCH 34/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index a6fb102..9e74689 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -12,4 +12,3 @@ blocks: commands: - echo "job 1" - checkout - - fail From 87414a31e9ba5f8ea33866b4214cc6b087d930e8 Mon Sep 17 00:00:00 2001 From: TomFern Date: Fri, 31 May 2024 13:00:44 +0000 Subject: [PATCH 35/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 79cdd70..d60c9b4 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -10,18 +10,4 @@ blocks: jobs: - name: Build commands: - - checkout - - checkout -promotions: - - name: Deploy - pipeline_file: pipeline_3.yml - deployment_target: Production - parameters: - env_vars: - - required: true - options: - - Stage - - Production - default_value: Stage - description: '' - name: ENVIRONMENT + - 'echo "hello, world!"' From 9d06e52c1559445bd103b7deb00b3d7d1f1ff84d Mon Sep 17 00:00:00 2001 From: TomFern Date: Fri, 31 May 2024 13:29:03 +0000 Subject: [PATCH 36/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index d60c9b4..c074f40 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -5,9 +5,9 @@ agent: type: e1-standard-2 os_image: ubuntu2004 blocks: - - name: Build + - name: 'Block #1' task: jobs: - - name: Build + - name: 'Job #1' commands: - 'echo "hello, world!"' From 07d651d0d4d00e063ec0cd67177a2480f90aae01 Mon Sep 17 00:00:00 2001 From: TomFern Date: Fri, 31 May 2024 13:39:30 +0000 Subject: [PATCH 37/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index c074f40..d8c9e60 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -10,4 +10,4 @@ blocks: jobs: - name: 'Job #1' commands: - - 'echo "hello, world!"' + - 'echo "hello, world!" ' From d03d6ad856659f903af10d9d67af3bd347951666 Mon Sep 17 00:00:00 2001 From: TomFern Date: Fri, 31 May 2024 21:02:46 +0000 Subject: [PATCH 38/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index d8c9e60..1bc5bc9 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -5,9 +5,11 @@ agent: type: e1-standard-2 os_image: ubuntu2004 blocks: - - name: 'Block #1' + - name: Install + dependencies: [] task: jobs: - - name: 'Job #1' + - name: npm install commands: - - 'echo "hello, world!" ' + - checkout + - npm install From 6112e0d61649a489223530cec8fb09a153901947 Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 4 Jun 2024 14:29:43 +0000 Subject: [PATCH 39/48] Update Semaphore configuration --- .semaphore/pipeline_4.yml | 17 +++++++++++++++++ .semaphore/semaphore.yml | 24 ++++++++++++++++++++---- 2 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 .semaphore/pipeline_4.yml diff --git a/.semaphore/pipeline_4.yml b/.semaphore/pipeline_4.yml new file mode 100644 index 0000000..60e6a3d --- /dev/null +++ b/.semaphore/pipeline_4.yml @@ -0,0 +1,17 @@ +version: v1.0 +name: Testing in Stage +agent: + machine: + type: e1-standard-2 + os_image: ubuntu2004 +blocks: + - name: Deploy and test + task: + jobs: + - name: Deploy and test + commands: + - checkout + - artifact pull workflow app + - make deploy + - make e2e + - artifact push project app diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 1bc5bc9..3792035 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -1,15 +1,31 @@ version: v1.0 -name: Initial Pipeline +name: Continuous Integration Pipelines agent: machine: type: e1-standard-2 os_image: ubuntu2004 blocks: - - name: Install + - name: Build dependencies: [] task: jobs: - - name: npm install + - name: Build commands: - checkout - - npm install + - make build + - artifact push job build.log + - artifact push workflow app + - name: Test + dependencies: + - Build + task: + jobs: + - name: Unit tests + commands: + - checkout + - artifact pull workflow app + - make tests + - artifact push job test.log +promotions: + - name: Stage + pipeline_file: pipeline_4.yml From 1880cf9dc01c51459bb83c99c464c7d6670104f5 Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 4 Jun 2024 18:11:37 +0000 Subject: [PATCH 40/48] Update Semaphore configuration --- .semaphore/pipeline_4.yml | 17 ----------------- .semaphore/semaphore.yml | 23 ++++++++++++++--------- 2 files changed, 14 insertions(+), 26 deletions(-) delete mode 100644 .semaphore/pipeline_4.yml diff --git a/.semaphore/pipeline_4.yml b/.semaphore/pipeline_4.yml deleted file mode 100644 index 60e6a3d..0000000 --- a/.semaphore/pipeline_4.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: v1.0 -name: Testing in Stage -agent: - machine: - type: e1-standard-2 - os_image: ubuntu2004 -blocks: - - name: Deploy and test - task: - jobs: - - name: Deploy and test - commands: - - checkout - - artifact pull workflow app - - make deploy - - make e2e - - artifact push project app diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 3792035..0757b8d 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -12,9 +12,8 @@ blocks: - name: Build commands: - checkout - - make build - - artifact push job build.log - - artifact push workflow app + - '#make build' + - '#artifact push workflow app' - name: Test dependencies: - Build @@ -23,9 +22,15 @@ blocks: - name: Unit tests commands: - checkout - - artifact pull workflow app - - make tests - - artifact push job test.log -promotions: - - name: Stage - pipeline_file: pipeline_4.yml + - '#artifact pull workflow app' + - '#make tests' + - name: Release + dependencies: + - Test + task: + jobs: + - name: Save relase + commands: + - '#artifact pull workflow app' + - '#mv app app-$SEMAPHORE_GIT_TAG_NAME' + - '#artifact push project app-$SEMAPHORE_GIT_TAG_NAME' From 9905da3d87a623dbcc974e8e0094e5cf0b95ba04 Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 4 Jun 2024 18:17:32 +0000 Subject: [PATCH 41/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 9 +++++---- .semaphore/semaphore.yml | 13 +++---------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index 9e74689..7d99d25 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -1,14 +1,15 @@ version: v1.0 -name: Pipeline 3 +name: Deploy to production agent: machine: type: e1-standard-2 os_image: ubuntu2004 blocks: - - name: 'Block #1' + - name: Deploy task: jobs: - - name: 'Job #1' + - name: Deploy commands: - - echo "job 1" - checkout + - '#artifact pull workflow app' + - '#make deploy' diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 0757b8d..a8541b0 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -24,13 +24,6 @@ blocks: - checkout - '#artifact pull workflow app' - '#make tests' - - name: Release - dependencies: - - Test - task: - jobs: - - name: Save relase - commands: - - '#artifact pull workflow app' - - '#mv app app-$SEMAPHORE_GIT_TAG_NAME' - - '#artifact push project app-$SEMAPHORE_GIT_TAG_NAME' +promotions: + - name: Deploy + pipeline_file: pipeline_3.yml From feb13af276ef4359a95a8230377be993efa4c19f Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 4 Jun 2024 18:24:45 +0000 Subject: [PATCH 42/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index a8541b0..1aaa1ca 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -23,7 +23,20 @@ blocks: commands: - checkout - '#artifact pull workflow app' - - '#make tests' + - '#make unit' + - '#artifact push job test.log' + - name: Integration tests + commands: + - checkout + - '#artifact pull workflow app' + - '#make integration' + - '#artifact push job test.log' + - name: End-to-end tests + commands: + - checkout + - '#artifact pull workflow app' + - '#make e2e' + - '#artifact push job test.log' promotions: - name: Deploy pipeline_file: pipeline_3.yml From 3bf7aa199dcbed527a9388839c738e5d4806c3d3 Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 4 Jun 2024 18:25:02 +0000 Subject: [PATCH 43/48] Update Semaphore configuration --- .semaphore/pipeline_3.yml | 15 --------------- .semaphore/semaphore.yml | 3 --- 2 files changed, 18 deletions(-) delete mode 100644 .semaphore/pipeline_3.yml diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml deleted file mode 100644 index 7d99d25..0000000 --- a/.semaphore/pipeline_3.yml +++ /dev/null @@ -1,15 +0,0 @@ -version: v1.0 -name: Deploy to production -agent: - machine: - type: e1-standard-2 - os_image: ubuntu2004 -blocks: - - name: Deploy - task: - jobs: - - name: Deploy - commands: - - checkout - - '#artifact pull workflow app' - - '#make deploy' diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 1aaa1ca..5a91a27 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -37,6 +37,3 @@ blocks: - '#artifact pull workflow app' - '#make e2e' - '#artifact push job test.log' -promotions: - - name: Deploy - pipeline_file: pipeline_3.yml From 87a9d7edf3d4ce6c9e3e41ab72a387074f742ecd Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 4 Jun 2024 21:20:48 +0000 Subject: [PATCH 44/48] Configure build script --- .semaphore/semaphore.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 5a91a27..c9459d9 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -12,6 +12,7 @@ blocks: - name: Build commands: - checkout + - '# s' - '#make build' - '#artifact push workflow app' - name: Test From 55a01d2cb4de5b3355c602abccda1be613f25f49 Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 4 Jun 2024 21:22:03 +0000 Subject: [PATCH 45/48] Configure build pipeline --- .semaphore/semaphore.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index c9459d9..f04995a 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -12,9 +12,14 @@ blocks: - name: Build commands: - checkout - - '# s' - '#make build' - '#artifact push workflow app' + - cp commands.sh build.log + - artifact push job build.log + - cp /usr/bin/bash app + - artifact push workflow --force app + - cp app app-v1 + - artifact push project --force app - name: Test dependencies: - Build From 904d71cef5c1305fb2f54a83edf298408df1dd29 Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 4 Jun 2024 21:24:19 +0000 Subject: [PATCH 46/48] Update build script --- .semaphore/semaphore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index f04995a..f190b67 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -14,7 +14,7 @@ blocks: - checkout - '#make build' - '#artifact push workflow app' - - cp commands.sh build.log + - echo "==> Build log for app" > build.log - artifact push job build.log - cp /usr/bin/bash app - artifact push workflow --force app From 8431d593f60667e69bc8ed27798eb502bfbb8e0b Mon Sep 17 00:00:00 2001 From: TomFern Date: Tue, 11 Jun 2024 16:31:36 +0000 Subject: [PATCH 47/48] Use Single job starter workflow --- .semaphore/semaphore.yml | 38 +++----------------------------------- 1 file changed, 3 insertions(+), 35 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index f190b67..27b5115 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -1,45 +1,13 @@ version: v1.0 -name: Continuous Integration Pipelines +name: Initial Pipeline agent: machine: type: e1-standard-2 os_image: ubuntu2004 blocks: - - name: Build - dependencies: [] + - name: 'Block #1' task: jobs: - - name: Build + - name: 'Job #1' commands: - checkout - - '#make build' - - '#artifact push workflow app' - - echo "==> Build log for app" > build.log - - artifact push job build.log - - cp /usr/bin/bash app - - artifact push workflow --force app - - cp app app-v1 - - artifact push project --force app - - name: Test - dependencies: - - Build - task: - jobs: - - name: Unit tests - commands: - - checkout - - '#artifact pull workflow app' - - '#make unit' - - '#artifact push job test.log' - - name: Integration tests - commands: - - checkout - - '#artifact pull workflow app' - - '#make integration' - - '#artifact push job test.log' - - name: End-to-end tests - commands: - - checkout - - '#artifact pull workflow app' - - '#make e2e' - - '#artifact push job test.log' From f3f2e63e29b474220349c0f2f49c2b0713cef46f Mon Sep 17 00:00:00 2001 From: TomFern Date: Thu, 22 Aug 2024 17:27:36 +0000 Subject: [PATCH 48/48] Update Semaphore configuration --- .semaphore/semaphore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 27b5115..8b5a303 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -2,8 +2,8 @@ version: v1.0 name: Initial Pipeline agent: machine: - type: e1-standard-2 - os_image: ubuntu2004 + type: a1-standard-4 + os_image: macos-xcode15 blocks: - name: 'Block #1' task: