-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Mish Savelyev <[email protected]> Co-authored-by: Igor Kotua <[email protected]> Co-authored-by: Yeganathan S <[email protected]> Co-authored-by: Gasper Grom <[email protected]> Co-authored-by: anilb <[email protected]> Co-authored-by: Loïc Saint-Roch <[email protected]> Co-authored-by: Emmanuel Raymond <[email protected]> Co-authored-by: Sujal Ranjan <[email protected]> Co-authored-by: KRISH SONI <[email protected]> Co-authored-by: Akash Bag <[email protected]> Co-authored-by: Yash Yadav <[email protected]> Co-authored-by: Aditya Aryaman Das <[email protected]> Co-authored-by: Uros Marolt <[email protected]> Co-authored-by: Misha Savelyev <[email protected]>
- Loading branch information
1 parent
7eaf499
commit 4cba93c
Showing
332 changed files
with
209,284 additions
and
30,926 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
60 changes: 60 additions & 0 deletions
60
.github/workflows/lf-staging-deploy-automations-worker.yaml
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: LF Staging Deploy Automations Worker | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'lf-staging/**' | ||
- 'lf-staging-**' | ||
paths: | ||
- 'services/libs/**' | ||
- 'services/apps/automations_worker/**' | ||
|
||
env: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
CROWD_CLUSTER: ${{ secrets.LF_STAGING_CLUSTER_NAME }} | ||
CROWD_ROLE_ARN: ${{ secrets.LF_STAGING_CLUSTER_ROLE_ARN }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.LF_AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.LF_AWS_SECRET_ACCESS_KEY }} | ||
AWS_REGION: ${{ secrets.LF_AWS_REGION }} | ||
SLACK_CHANNEL: deploys-lf-staging | ||
SLACK_WEBHOOK: ${{ secrets.LF_STAGING_SLACK_CHANNEL_HOOK }} | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
image: ${{ steps.image.outputs.IMAGE }} | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- uses: ./.github/actions/build-docker-image | ||
id: image-builder | ||
with: | ||
image: automations-worker | ||
|
||
- name: Set docker image output | ||
id: image | ||
run: echo "IMAGE=${{ steps.image-builder.outputs.image }}" >> $GITHUB_OUTPUT | ||
|
||
deploy-automations-worker: | ||
needs: build-and-push | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- uses: ./.github/actions/deploy-service | ||
with: | ||
service: automations-worker | ||
image: ${{ needs.build-and-push.outputs.image }} | ||
cluster: ${{ env.CROWD_CLUSTER }} |
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Staging Deploy Automations Worker | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'staging/**' | ||
- 'staging-**' | ||
paths: | ||
- 'services/libs/**' | ||
- 'services/apps/automations-worker/**' | ||
|
||
env: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
CROWD_CLUSTER: ${{ secrets.STAGING_CLUSTER_NAME }} | ||
CROWD_ROLE_ARN: ${{ secrets.STAGING_CLUSTER_ROLE_ARN }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
SLACK_CHANNEL: deploys-staging | ||
SLACK_WEBHOOK: ${{ secrets.STAGING_SLACK_CHANNEL_HOOK }} | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
image: ${{ steps.image.outputs.IMAGE }} | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- uses: ./.github/actions/build-docker-image | ||
id: image-builder | ||
with: | ||
image: automations-worker | ||
|
||
- name: Set docker image output | ||
id: image | ||
run: echo "IMAGE=${{ steps.image-builder.outputs.image }}" >> $GITHUB_OUTPUT | ||
|
||
deploy-automations-worker: | ||
needs: build-and-push | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- uses: ./.github/actions/deploy-service | ||
with: | ||
service: automations-worker | ||
image: ${{ needs.build-and-push.outputs.image }} | ||
cluster: ${{ env.CROWD_CLUSTER }} |
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
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
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
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 |
---|---|---|
|
@@ -57,5 +57,8 @@ | |
"sso": {}, | ||
"crowdAnalytics": { | ||
"isEnabled": "false" | ||
}, | ||
"temporal": { | ||
"automationsTaskQueue": "automations" | ||
} | ||
} |
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
Oops, something went wrong.