From 460688ca0701e416c6b87e22e6b5caddd11f7503 Mon Sep 17 00:00:00 2001 From: Ludovic Levalleux Date: Fri, 28 Jul 2023 14:36:33 +0100 Subject: [PATCH] ci: add exchange policy rules in deployment pipelines (#779) --- .github/workflows/ci.yaml | 4 ++++ .github/workflows/ci_reusable.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7570a877c..23d97ac3b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/ci_reusable.yaml b/.github/workflows/ci_reusable.yaml index fa750ccad..86ab7064a 100644 --- a/.github/workflows/ci_reusable.yaml +++ b/.github/workflows/ci_reusable.yaml @@ -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 }} @@ -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"