forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade ec2-github-runner * remaining build fixes * fix build
- Loading branch information
Showing
4 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
aws-region: us-east-2 | ||
- name: Start EC2 Runner | ||
id: start-ec2-runner | ||
uses: machulav/ec2-github-runner@v2.2.1 | ||
uses: machulav/ec2-github-runner@v2.3.0 | ||
with: | ||
mode: start | ||
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }} | ||
|
@@ -154,7 +154,7 @@ jobs: | |
aws-secret-access-key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-2 | ||
- name: Stop EC2 runner | ||
uses: machulav/ec2-github-runner@v2.2.1 | ||
uses: machulav/ec2-github-runner@v2.3.0 | ||
with: | ||
mode: stop | ||
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }} | ||
|
@@ -179,7 +179,7 @@ jobs: | |
aws-region: us-east-2 | ||
- name: Start EC2 Runner | ||
id: start-ec2-runner | ||
uses: machulav/ec2-github-runner@v2.2.1 | ||
uses: machulav/ec2-github-runner@v2.3.0 | ||
with: | ||
mode: start | ||
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }} | ||
|
@@ -312,7 +312,7 @@ jobs: | |
aws-secret-access-key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-2 | ||
- name: Stop EC2 runner | ||
uses: machulav/ec2-github-runner@v2.2.1 | ||
uses: machulav/ec2-github-runner@v2.3.0 | ||
with: | ||
mode: stop | ||
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }} | ||
|
@@ -338,7 +338,7 @@ jobs: | |
aws-region: us-east-2 | ||
- name: Start EC2 Runner | ||
id: start-ec2-runner | ||
uses: machulav/ec2-github-runner@v2.2.1 | ||
uses: machulav/ec2-github-runner@v2.3.0 | ||
with: | ||
mode: start | ||
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }} | ||
|
@@ -404,7 +404,7 @@ jobs: | |
aws-secret-access-key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-2 | ||
- name: Stop EC2 runner | ||
uses: machulav/ec2-github-runner@v2.2.1 | ||
uses: machulav/ec2-github-runner@v2.3.0 | ||
with: | ||
mode: stop | ||
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }} | ||
|
@@ -430,11 +430,11 @@ jobs: | |
aws-region: us-east-2 | ||
- name: Start EC2 runner | ||
id: start-ec2-runner | ||
uses: machulav/ec2-github-runner@v2.2.1 | ||
uses: machulav/ec2-github-runner@v2.3.0 | ||
with: | ||
mode: start | ||
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }} | ||
ec2-image-id: ami-0717900bad4b648ca | ||
ec2-image-id: ami-0d4083c04fde515c4 | ||
ec2-instance-type: c5.2xlarge | ||
subnet-id: subnet-0469a9e68a379c1d3 | ||
security-group-id: sg-0793f3c9413f21970 | ||
|
@@ -499,13 +499,20 @@ jobs: | |
- name: KIND Kubernetes Cluster Setup | ||
uses: helm/[email protected] | ||
with: | ||
node_image: kindest/node:v1.21.2 | ||
config: /tmp/kind-config.yaml | ||
# In case of self-hosted EC2 errors, remove this env block. | ||
env: | ||
USER: root | ||
HOME: /home/runner | ||
CHANGE_MINIKUBE_NONE_USER: true | ||
|
||
- name: Describe kube nodes | ||
run: kubectl describe nodes | ||
env: | ||
USER: root | ||
HOME: /home/runner | ||
|
||
- name: Build Platform Docker Images | ||
run: SUB_BUILD=PLATFORM ./gradlew composeBuild --scan | ||
|
||
|
@@ -558,7 +565,7 @@ jobs: | |
aws-secret-access-key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-2 | ||
- name: Stop EC2 runner | ||
uses: machulav/ec2-github-runner@v2.2.1 | ||
uses: machulav/ec2-github-runner@v2.3.0 | ||
with: | ||
mode: stop | ||
github-token: ${{ secrets.SELF_RUNNER_GITHUB_ACCESS_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters