Skip to content

Commit

Permalink
fix(cli): replace qa by stg (#811)
Browse files Browse the repository at this point in the history
* YOLO

* stfu

* logz

* update lock file

* skip no errors

* update pushapisdk

* remove bad package link

* remove tsignore
  • Loading branch information
louis-bompart authored Jun 1, 2022
1 parent a342b33 commit 7a47f9b
Show file tree
Hide file tree
Showing 18 changed files with 155 additions and 125 deletions.
4 changes: 2 additions & 2 deletions .deployment.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"slack_channels": ["#searchuibuilds"]
},
"environments_order": {
"sequential": ["dev", "qa", "prd"]
"sequential": ["dev", "stg", "prd"]
},
"qa": {
"stg": {
"start_environment_automatically": true
},
"prd": {
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
cliConfigJson: ${{ steps.setup.outputs.cliConfigJson}}
env:
# Platform environment to log into for the e2e tests.
PLATFORM_ENV: 'qa'
PLATFORM_ENV: 'stg'
# Username used to log into the organization whose ID is stored in the ORG_ID variable
PLATFORM_USER_NAME: ${{ secrets.PLATFORM_USER_NAME }}
# Password used to log into the organization whose ID is stored in the ORG_ID variable
Expand Down Expand Up @@ -103,6 +103,11 @@ jobs:
run: |
echo "${{ secrets.E2E_TOKEN_PASSPHRASE }}" | gpg -a --batch --passphrase-fd 0 --symmetric --cipher-algo AES256 --output encodedConfig $CLI_CONFIG_PATH
echo "::set-output name=cliConfigJson::$(base64 -w 0 encodedConfig)"
- uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
if: always()
with:
name: e2e-login-publish-artifacts
path: ./packages/cli-e2e/artifacts
e2e-setup-verdaccio:
strategy:
matrix:
Expand Down Expand Up @@ -159,7 +164,7 @@ jobs:
]
env:
# Platform environment to log into for the e2e tests.
PLATFORM_ENV: 'qa'
PLATFORM_ENV: 'stg'
# Username used to log into the organization whose ID is stored in the ORG_ID variable
PLATFORM_USER_NAME: ${{ secrets.PLATFORM_USER_NAME }}
# Password used to log into the organization whose ID is stored in the ORG_ID variable
Expand Down Expand Up @@ -237,7 +242,7 @@ jobs:
runs-on: ubuntu-latest
env:
# Platform environment to log into for the e2e tests.
PLATFORM_ENV: 'qa'
PLATFORM_ENV: 'stg'
# Username used to log into the organization whose ID is stored in the ORG_ID variable
PLATFORM_USER_NAME: ${{ secrets.PLATFORM_USER_NAME }}
# Password used to log into the organization whose ID is stored in the ORG_ID variable
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/daily-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
cliConfigJson: ${{ steps.setup.outputs.cliConfigJson}}
env:
# Platform environment to log into for the e2e tests.
PLATFORM_ENV: 'qa'
PLATFORM_ENV: 'stg'
# Username used to log into the organization whose ID is stored in the ORG_ID variable
PLATFORM_USER_NAME: ${{ secrets.PLATFORM_USER_NAME }}
# Password used to log into the organization whose ID is stored in the ORG_ID variable
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
]
env:
# Platform environment to log into for the e2e tests.
PLATFORM_ENV: 'qa'
PLATFORM_ENV: 'stg'
# Username used to log into the organization whose ID is stored in the ORG_ID variable
PLATFORM_USER_NAME: ${{ secrets.PLATFORM_USER_NAME }}
# Password used to log into the organization whose ID is stored in the ORG_ID variable
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
timeout-minutes: 30
env:
# Platform environment to log into for the e2e tests.
PLATFORM_ENV: 'qa'
PLATFORM_ENV: 'stg'
# Username used to log into the organization whose ID is stored in the ORG_ID variable
PLATFORM_USER_NAME: ${{ secrets.PLATFORM_USER_NAME }}
# Password used to log into the organization whose ID is stored in the ORG_ID variable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
env:
ORG_ID: ${{ secrets.ORG_ID }}
PLATFORM_API_KEY: ${{ secrets.PLATFORM_API_KEY }}
PLATFORM_ENV: 'qa'
PLATFORM_ENV: 'stg'
PLATFORM_USER_NAME: ${{ secrets.PLATFORM_USER_NAME }}
PLATFORM_USER_PASSWORD: ${{ secrets.PLATFORM_USER_PASSWORD }}
steps:
Expand Down
7 changes: 7 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"type": "node"
},
{
"type": "pwa-node",
"request": "attach",
Expand Down
Loading

0 comments on commit 7a47f9b

Please sign in to comment.