Skip to content

MWPW-135527 Move common validation and error handler in Floodgate AIO… #62

MWPW-135527 Move common validation and error handler in Floodgate AIO…

MWPW-135527 Move common validation and error handler in Floodgate AIO… #62

Workflow file for this run

name: AIO App CI
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to Stage
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 1
matrix:
node-version: ['16']
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm i
- name: Setup CLI
uses: adobe/[email protected]
with:
os: ${{ matrix.os }}
- name: Build
env:
AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }}
uses: adobe/[email protected]
with:
os: ${{ matrix.os }}
command: build
- name: Deploy
env:
AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }}
AIO_RUNTIME_AUTH: ${{ secrets.AIO_RUNTIME_AUTH_STAGE }}
FG_SITE: ${{ secrets.FG_SITE }}
FG_CLIENT_ID: ${{ secrets.FG_CLIENT_ID }}
FG_AUTHORITY: ${{ secrets.FG_AUTHORITY }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
TENANT_ID: ${{ secrets.TENANT_ID }}
CERT_PASSWORD: ${{ secrets.CERT_PASSWORD }}
CERT_KEY: ${{ secrets.CERT_KEY }}
CERT_THUMB_PRINT: ${{ secrets.CERT_THUMB_PRINT }}
SPLUNK_HEC__HEC_TOKEN: ${{ secrets.SPLUNK_HEC_TOKEN_STAGE }}
GROUP_CHECK_URL: ${{ secrets.GROUP_CHECK_URL }}
FG_USER_GROUPS: ${{ secrets.FG_USER_GROUPS }}
FG_ADMIN_GROUPS: ${{ secrets.FG_ADMIN_GROUPS }}
uses: adobe/[email protected]
with:
os: ${{ matrix.os }}
command: deploy
noPublish: true