Skip to content

Commit

Permalink
ci: add exchange policy rules in deployment pipelines (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
levalleux-ludo authored Jul 28, 2023
1 parent 6150cff commit 460688c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
REACT_APP_META_TX_API_KEY: ${{ secrets.REACT_APP_META_TX_API_KEY_TESTING }}
REACT_APP_META_TX_API_IDS: ${{ secrets.REACT_APP_META_TX_API_IDS_TESTING }}
REACT_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID_TESTING }}
REACT_APP_FAIR_EXCHANGE_POLICY_RULES: ${{ secrets.REACT_APP_FAIR_EXCHANGE_POLICY_RULES_TESTING }}

call-reusable-workflow-testing:
uses: bosonprotocol/interface/.github/workflows/ci_reusable.yaml@main
Expand Down Expand Up @@ -95,6 +96,7 @@ jobs:
REACT_APP_META_TX_API_KEY: ${{ secrets.REACT_APP_META_TX_API_KEY_TESTING }}
REACT_APP_META_TX_API_IDS: ${{ secrets.REACT_APP_META_TX_API_IDS_TESTING }}
REACT_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID_TESTING }}
REACT_APP_FAIR_EXCHANGE_POLICY_RULES: ${{ secrets.REACT_APP_FAIR_EXCHANGE_POLICY_RULES_TESTING }}

call-reusable-workflow-staging:
uses: bosonprotocol/interface/.github/workflows/ci_reusable.yaml@main
Expand Down Expand Up @@ -129,6 +131,7 @@ jobs:
REACT_APP_META_TX_API_KEY: ${{ secrets.REACT_APP_META_TX_API_KEY_STAGING }}
REACT_APP_META_TX_API_IDS: ${{ secrets.REACT_APP_META_TX_API_IDS_STAGING }}
REACT_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID_STAGING }}
REACT_APP_FAIR_EXCHANGE_POLICY_RULES: ${{ secrets.REACT_APP_FAIR_EXCHANGE_POLICY_RULES_STAGING }}

call-reusable-workflow-production:
uses: bosonprotocol/interface/.github/workflows/ci_reusable.yaml@main
Expand Down Expand Up @@ -163,6 +166,7 @@ jobs:
REACT_APP_META_TX_API_KEY: ${{ secrets.REACT_APP_META_TX_API_KEY_PRODUCTION }}
REACT_APP_META_TX_API_IDS: ${{ secrets.REACT_APP_META_TX_API_IDS_PRODUCTION }}
REACT_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID_PRODUCTION }}
REACT_APP_FAIR_EXCHANGE_POLICY_RULES: ${{ secrets.REACT_APP_FAIR_EXCHANGE_POLICY_RULES_PRODUCTION }}

job-summary:
name: Create Job Summary
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci_reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ on:
required: true
REACT_APP_WALLET_CONNECT_PROJECT_ID:
required: true
REACT_APP_FAIR_EXCHANGE_POLICY_RULES:
required: true
outputs:
JOB_LINT:
value: ${{ jobs.build-test-deploy.outputs.jobLint }}
Expand Down Expand Up @@ -113,6 +115,7 @@ jobs:
REACT_APP_META_TX_API_KEY: ${{ secrets.REACT_APP_META_TX_API_KEY }}
REACT_APP_META_TX_API_IDS: ${{ secrets.REACT_APP_META_TX_API_IDS }}
REACT_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID }}
REACT_APP_FAIR_EXCHANGE_POLICY_RULES: ${{ secrets.REACT_APP_FAIR_EXCHANGE_POLICY_RULES }}
REACT_APP_RELEASE_TAG: ${{ inputs.REACT_APP_RELEASE_TAG }}
REACT_APP_RELEASE_NAME: ${{ inputs.REACT_APP_RELEASE_NAME }}
REACT_APP_VIEW_MODE: "dapp"
Expand Down

0 comments on commit 460688c

Please sign in to comment.