Skip to content

Commit 062f70a

Browse files
committed
fix needs
1 parent a37707c commit 062f70a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/gradle.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
## Gradle Build (Connectors Base)
1010
# In case of self-hosted EC2 errors, remove this block.
11-
start-connectors-build-runner:
11+
start-connectors-base-build-runner:
1212
name: "Connectors Base: Start Build EC2 Runner"
1313
runs-on: ubuntu-latest
1414
outputs:
@@ -31,10 +31,10 @@ jobs:
3131
ec2-instance-type: c5.2xlarge
3232
subnet-id: subnet-0469a9e68a379c1d3
3333
security-group-id: sg-0793f3c9413f21970
34-
build-connector:
34+
build-connectors-base:
3535
# In case of self-hosted EC2 errors, removed the `needs` line and switch back to running on ubuntu-latest.
36-
needs: start-connectors-build-runner # required to start the main job when the runner is ready
37-
runs-on: ${{ needs.start-connectors-build-runner.outputs.label }} # run the job on the newly created runner
36+
needs: start-connectors-base-build-runner # required to start the main job when the runner is ready
37+
runs-on: ${{ needs.start-connectors-base-build-runner.outputs.label }} # run the job on the newly created runner
3838
name: "Connectors Base: Build"
3939
steps:
4040
- name: Checkout Airbyte
@@ -122,11 +122,11 @@ jobs:
122122
SLACK_TITLE: "Build Success"
123123
SLACK_FOOTER: ""
124124
# In case of self-hosted EC2 errors, remove this block.
125-
stop-connectors-build-runner:
125+
stop-connectors-base-build-runner:
126126
name: "Connectors Base: Stop Build EC2 Runner"
127127
needs:
128-
- start-connectors-build-runner # required to get output from the start-runner job
129-
- build # required to wait when the main job is done
128+
- start-connectors-base-build-runner # required to get output from the start-runner job
129+
- build-connectors-base # required to wait when the main job is done
130130
runs-on: ubuntu-latest
131131
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
132132
steps:
@@ -141,8 +141,8 @@ jobs:
141141
with:
142142
mode: stop
143143
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }}
144-
label: ${{ needs.start-connectors-build-runner.outputs.label }}
145-
ec2-instance-id: ${{ needs.start-connectors-build-runner.outputs.ec2-instance-id }}
144+
label: ${{ needs.start-connectors-base-build-runner.outputs.label }}
145+
ec2-instance-id: ${{ needs.start-connectors-base-build-runner.outputs.ec2-instance-id }}
146146

147147
## Gradle Build (Platform)
148148
# In case of self-hosted EC2 errors, remove this block.
@@ -295,7 +295,7 @@ jobs:
295295
name: "Platform: Stop Build EC2 Runner"
296296
needs:
297297
- start-platform-build-runner # required to get output from the start-runner job
298-
- build # required to wait when the main job is done
298+
- platform-build # required to wait when the main job is done
299299
runs-on: ubuntu-latest
300300
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
301301
steps:

0 commit comments

Comments
 (0)