Skip to content

Commit

Permalink
Merge pull request #3261 from UK-Export-Finance/chore/EMS-3963
Browse files Browse the repository at this point in the history
chore(EMS-3963): merge main-iterations into main
  • Loading branch information
ttbarnes authored Nov 1, 2024
2 parents b47600a + c266b2e commit 1b506e7
Show file tree
Hide file tree
Showing 2,097 changed files with 30,640 additions and 21,465 deletions.
4 changes: 4 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@
"BBALIBOR",
"behaviour",
"BKENGB",
"Bbkeng2l",
"Bloggs",
"BLPU",
"BUKB",
"CABEI",
"centralised",
"CICD",
"CILC",
Expand Down Expand Up @@ -129,8 +131,10 @@
"snet",
"spectaql",
"sqldb",
"Spys",
"srcs",
"ssword",
"Spys",
"startdate",
"szenius",
"TOID",
Expand Down
22 changes: 22 additions & 0 deletions .github/modules/retry/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Retry Steps"
inputs:
command:
required: true
working-directory:
required: false
default: "./"
runs:
using: "composite"
steps:
- run: |
limit=3
run=1
until [ $run -gt $limit ]
do
cd ${{ inputs.working-directory }} && ${{ inputs.command }} && break
run=$((run + 1))
done
if [ $run -gt $limit ]; then
exit 1
fi
shell: bash
3 changes: 0 additions & 3 deletions .github/workflows/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ if [ -n "$selection" ]; then
############### DEVELOPMENT ###############
if [ "$destination" = "dev" ]; then
branch=main
############### FEATURE ###############
elif [ "$destination" = "feature" ]; then
branch=main-iterations
############### STAGING ###############
elif [ "$destination" = "staging" ]; then
branch=dev
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ on:
push:
branches:
- dev
- feature
- staging
- production

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
runs-on: [self-hosted, EXIP, infrastructure]
steps:
- name: Pre-production 💫
if: contains('["dev", "feature", "staging"]', env.TARGET)
if: contains('["dev", "staging"]', env.TARGET)
run: |
echo "TYPE=Preproduction" >> $GITHUB_ENV
echo "DB_SKU=${{ VARS.DB_NON_PROD_SKU }}" >> $GITHUB_ENV
Expand Down Expand Up @@ -340,7 +340,7 @@ jobs:
runs-on: [self-hosted, EXIP, infrastructure]
steps:
- name: Pre-production 💫
if: contains('["dev", "feature", "staging"]', env.TARGET)
if: contains('["dev", "staging"]', env.TARGET)
run: echo "TYPE=Preproduction" >> $GITHUB_ENV

- name: Production 💫
Expand Down Expand Up @@ -543,7 +543,7 @@ jobs:
--policy-name waf${{ env.PRODUCT }}${{ env.TARGET }}${{ vars.VERSION }}
- name: VPN 🧱
if: contains('["dev", "feature", "staging"]', env.TARGET)
if: contains('["dev", "staging"]', env.TARGET)
uses: azure/cli@v2
with:
inlineScript: |
Expand Down Expand Up @@ -593,7 +593,7 @@ jobs:
runs-on: [self-hosted, EXIP, infrastructure]
steps:
- name: Pre-production 💫
if: contains('["dev", "feature", "staging"]', env.TARGET)
if: contains('["dev", "staging"]', env.TARGET)
run: echo "TYPE=Preproduction" >> $GITHUB_ENV

- name: Production 💫
Expand Down Expand Up @@ -731,7 +731,7 @@ jobs:
runs-on: [self-hosted, EXIP, infrastructure]
steps:
- name: Pre-production 💫
if: contains('["dev", "feature", "staging"]', env.TARGET)
if: contains('["dev", "staging"]', env.TARGET)
run: echo "TYPE=Preproduction" >> $GITHUB_ENV

- name: Production 💫
Expand Down Expand Up @@ -887,7 +887,7 @@ jobs:
runs-on: [self-hosted, EXIP, infrastructure]
steps:
- name: Pre-production 💫
if: contains('["dev", "feature", "staging"]', env.TARGET)
if: contains('["dev", "staging"]', env.TARGET)
run: echo "TYPE=Preproduction" >> $GITHUB_ENV

- name: Production 💫
Expand Down Expand Up @@ -1011,7 +1011,7 @@ jobs:
runs-on: [self-hosted, EXIP, infrastructure]
steps:
- name: Pre-production 💫
if: contains('["dev", "feature", "staging"]', env.TARGET)
if: contains('["dev", "staging"]', env.TARGET)
run: echo "TYPE=Preproduction" >> $GITHUB_ENV

- name: Production 💫
Expand Down Expand Up @@ -1088,7 +1088,7 @@ jobs:
runs-on: [self-hosted, EXIP, infrastructure]
steps:
- name: Pre-production 💫
if: contains('["dev", "feature", "staging"]', env.TARGET)
if: contains('["dev", "staging"]', env.TARGET)
run: echo "TYPE=Preproduction" >> $GITHUB_ENV

- name: Production 💫
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ on:
pull_request:
branches: [main, main-*]
paths:
- '.github/workflows/lint.yml'
- '.github/workflows/**'
- 'src/**'
- 'e2e-tests/**'
- 'generate-exip-pricing-grid/**'
Expand Down
Loading

0 comments on commit 1b506e7

Please sign in to comment.