Skip to content

Commit

Permalink
πŸ’š Remove deploy to main radix cluster #2722
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Dec 20, 2024
1 parent e612fcd commit f61f92f
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 40 deletions.
1 change: 0 additions & 1 deletion .github/workflows/DEV-studio-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ jobs:
fotowareAfExportKey: ${{ secrets.SANITY_STUDIO_FOTOWARE_AF_EXPORT_KEY }}
screen9accountId: ${{ secrets.SANITY_STUDIO_SCREEN9_ACCOUNT_ID }}
screen9token: ${{ secrets.SANITY_STUDIO_SCREEN9_TOKEN }}
deployToBothClusters: true
environment: ${{ secrets.ENV }}
- uses: act10ns/slack@v1
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/DEV-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ jobs:
archiveContentLink: ${{ vars.ARCHIVE_CONTENT_LINK }}
friendlyCaptchaSitekey: ${{ matrix.dataset == 'brazil' && vars.BRAZIL_FC_SITEKEY || vars.GLOBAL_FC_SITEKEY }}
friendlyCaptchaPuzzleEndpoint: ${{ matrix.dataset == 'brazil' && vars.BRAZIL_FC_PUZZLE_END_POINT || vars.GLOBAL_FC_PUZZLE_END_POINT }}
deployToBothClusters: true
environment: ${{ secrets.ENV }}
- uses: act10ns/slack@v2
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/PREPROD-studios-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ jobs:
screen9accountId: ${{ secrets.SANITY_STUDIO_SCREEN9_ACCOUNT_ID }}
screen9token: ${{ secrets.SANITY_STUDIO_SCREEN9_TOKEN }}
environment: ${{ secrets.ENV }}
deployToBothClusters: true
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/PREPROD-webs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ jobs:
archiveContentLink: ${{ vars.ARCHIVE_CONTENT_LINK }}
friendlyCaptchaSitekey: ${{ matrix.dataset == 'brazil' && vars.BRAZIL_FC_SITEKEY || vars.GLOBAL_FC_SITEKEY }}
friendlyCaptchaPuzzleEndpoint: ${{ matrix.dataset == 'brazil' && vars.BRAZIL_FC_PUZZLE_END_POINT || vars.GLOBAL_FC_PUZZLE_END_POINT }}

deployToBothClusters: true
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
Expand Down
18 changes: 2 additions & 16 deletions .github/workflows/PROD-webs-rollback.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,7 @@ jobs:
id: get-token
uses: ./.github/workflows/get-auth-token/

# MAIN PRODUCTION CLUSTER
- name: Deploy to Radix πŸš€
id: deploy-main
uses: equinor/radix-github-actions@master
with:
args: >
create job
deploy
--token-environment
--context platform2
-a equinor-web-sites
-e ${{ secrets.ENV }}
-f
# BACKUP CLUSTER
# MAIN CLUSTER
- name: Deploy to Radix backupπŸš€
id: deploy-backup
uses: equinor/radix-github-actions@master
Expand All @@ -135,7 +121,7 @@ jobs:
create job
deploy
--token-environment
--context production
--context platform2
-a equinor-web-sites
-e ${{ secrets.ENV }}
-f
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/deploy-v3/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ inputs:
screen9token:
description: 'Screen9 API token'
required: true
deployToBothClusters:
description: 'Deploy app to both Radix clusters'
required: false
runs:
using: 'composite'
steps:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/deploy-websites/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ inputs:
archiveContentLink:
description: 'Archive storage link'
required: true
deployToBothClusters:
description: 'Deploy app to both Radix clusters'
required: false
friendlyCaptchaSitekey:
description: 'Friendly captcha site key'
required: true
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/studios-rollback.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,19 +265,6 @@ jobs:
-a equinor-web-sites
-e ${{ secrets.ENV }}
-f
# BACKUP CLUSTER ROLLBACK
- name: Deploy to Radix backup πŸš€
id: deploy-backup
uses: equinor/radix-github-actions@master
with:
args: >
create job
deploy
--token-environment
--context production
-a equinor-web-sites
-e ${{ secrets.ENV }}
-f
- uses: act10ns/slack@v2
with:
Expand Down

0 comments on commit f61f92f

Please sign in to comment.