Correct keycloak config for V25 upgrade. #139
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
name: deploy to development | |
on: | |
push: | |
branches: | |
- trunk | |
concurrency: | |
group: dte-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
main: | |
name: Nx Cloud - Main Job | |
uses: nrwl/ci/.github/workflows/[email protected] | |
with: | |
number-of-agents: 3 | |
main-branch-name: trunk | |
init-commands: | | |
npx nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3 | |
npx nx-cloud record -- npx nx format:write | |
parallel-commands-on-agents: | | |
npx nx affected --target=lint --parallel=3 | |
npx nx affected --target=test --parallel=3 --ci --code-coverage | |
npx nx affected --target=build --parallel=3 | |
npx nx affected --target=e2e --parallel=3 --ci | |
artifacts-path: dist/apps | |
artifacts-name: affected-apps | |
agents: | |
name: Nx Cloud - Agents | |
uses: nrwl/ci/.github/workflows/[email protected] | |
with: | |
number-of-agents: 3 | |
deploy: | |
strategy: | |
matrix: | |
client: [ic, me] | |
name: Deploy affected applications | |
needs: [main, agents] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1-node16 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_KEY }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET }} | |
aws-region: us-east-1 | |
if: matrix.client == 'ic' | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1-node16 | |
with: | |
aws-access-key-id: ${{ secrets.ME_AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.ME_AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
if: matrix.client == 'me' | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v3 | |
with: | |
main-branch-name: 'trunk' | |
- name: Download artifact | |
id: download-artifact | |
uses: actions/download-artifact@v3 | |
continue-on-error: true | |
with: | |
name: affected-apps | |
path: dist/apps | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: npm install | |
- name: Replace favicons | |
run: npx nx affected --target=replace-favicon | |
env: | |
TENANT: ${{ matrix.client }} | |
- name: run many deployments | |
run: npx nx affected --target=deploy:dev |