mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 03:57:04 +00:00
Set production services for release PRs in all networks
This commit is contained in:
parent
ccd54721cf
commit
9c0e8f4f68
7
.github/workflows/deploy-ewc.yml
vendored
7
.github/workflows/deploy-ewc.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
|
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -65,9 +65,9 @@ jobs:
|
|||||||
yarn cache clean
|
yarn cache clean
|
||||||
|
|
||||||
# Set production flag
|
# Set production flag
|
||||||
- name: Set production flag for tag build
|
- name: Set production flag for release PR or tagged build
|
||||||
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v') || github.base_ref == 'master'
|
||||||
|
|
||||||
- name: Build ${{ env.REACT_APP_NETWORK }} app
|
- name: Build ${{ env.REACT_APP_NETWORK }} app
|
||||||
run: yarn build
|
run: yarn build
|
||||||
@ -101,7 +101,6 @@ jobs:
|
|||||||
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
repo-token-user-login: 'github-actions[bot]'
|
repo-token-user-login: 'github-actions[bot]'
|
||||||
allow-repeats: true
|
|
||||||
if: success() && github.event.number
|
if: success() && github.event.number
|
||||||
env:
|
env:
|
||||||
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
||||||
|
7
.github/workflows/deploy-mainnet.yml
vendored
7
.github/workflows/deploy-mainnet.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
|
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -64,9 +64,9 @@ jobs:
|
|||||||
yarn cache clean
|
yarn cache clean
|
||||||
|
|
||||||
# Set production flag
|
# Set production flag
|
||||||
- name: Set production flag for tag build
|
- name: Set production flag for release PR or tagged build
|
||||||
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v') || github.base_ref == 'master'
|
||||||
|
|
||||||
- name: Build ${{ env.REACT_APP_NETWORK }} app
|
- name: Build ${{ env.REACT_APP_NETWORK }} app
|
||||||
run: yarn build
|
run: yarn build
|
||||||
@ -103,7 +103,6 @@ jobs:
|
|||||||
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
repo-token-user-login: 'github-actions[bot]'
|
repo-token-user-login: 'github-actions[bot]'
|
||||||
allow-repeats: true
|
|
||||||
if: success() && github.event.number
|
if: success() && github.event.number
|
||||||
env:
|
env:
|
||||||
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
||||||
|
3
.github/workflows/deploy-rinkeby.yml
vendored
3
.github/workflows/deploy-rinkeby.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
|||||||
yarn cache clean
|
yarn cache clean
|
||||||
|
|
||||||
# Set production flag
|
# Set production flag
|
||||||
- name: Set production flag for tag build
|
- name: Set production flag for release PR or tagged build
|
||||||
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
||||||
if: startsWith(github.ref, 'refs/tags/v') || github.base_ref == 'master'
|
if: startsWith(github.ref, 'refs/tags/v') || github.base_ref == 'master'
|
||||||
|
|
||||||
@ -103,7 +103,6 @@ jobs:
|
|||||||
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
repo-token-user-login: 'github-actions[bot]'
|
repo-token-user-login: 'github-actions[bot]'
|
||||||
allow-repeats: true
|
|
||||||
if: success() && github.event.number
|
if: success() && github.event.number
|
||||||
env:
|
env:
|
||||||
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
||||||
|
7
.github/workflows/deploy-volta.yml
vendored
7
.github/workflows/deploy-volta.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
|
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -65,9 +65,9 @@ jobs:
|
|||||||
yarn cache clean
|
yarn cache clean
|
||||||
|
|
||||||
# Set production flag
|
# Set production flag
|
||||||
- name: Set production flag for tag build
|
- name: Set production flag for release PR or tagged build
|
||||||
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v') || github.base_ref == 'master'
|
||||||
|
|
||||||
- name: Build ${{ env.REACT_APP_NETWORK }} app
|
- name: Build ${{ env.REACT_APP_NETWORK }} app
|
||||||
run: yarn build
|
run: yarn build
|
||||||
@ -101,7 +101,6 @@ jobs:
|
|||||||
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
repo-token-user-login: 'github-actions[bot]'
|
repo-token-user-login: 'github-actions[bot]'
|
||||||
allow-repeats: true
|
|
||||||
if: success() && github.event.number
|
if: success() && github.event.number
|
||||||
env:
|
env:
|
||||||
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
||||||
|
7
.github/workflows/deploy-xdai.yml
vendored
7
.github/workflows/deploy-xdai.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Remove broken apt repos [Ubuntu]
|
- name: Remove broken apt repos [Ubuntu]
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
|
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -65,9 +65,9 @@ jobs:
|
|||||||
yarn cache clean
|
yarn cache clean
|
||||||
|
|
||||||
# Set production flag
|
# Set production flag
|
||||||
- name: Set production flag for tag build
|
- name: Set production flag for release PR or tagged build
|
||||||
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v') || github.base_ref == 'master'
|
||||||
|
|
||||||
- name: Build ${{ env.REACT_APP_NETWORK }} app
|
- name: Build ${{ env.REACT_APP_NETWORK }} app
|
||||||
run: yarn build
|
run: yarn build
|
||||||
@ -101,7 +101,6 @@ jobs:
|
|||||||
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
* [Safe Multisig app ${{ env.REACT_APP_NETWORK }}](${{ env.REVIEW_FEATURE_URL }}/${{ env.REACT_APP_NETWORK }}/app/)
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
repo-token-user-login: 'github-actions[bot]'
|
repo-token-user-login: 'github-actions[bot]'
|
||||||
allow-repeats: true
|
|
||||||
if: success() && github.event.number
|
if: success() && github.event.number
|
||||||
env:
|
env:
|
||||||
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
REVIEW_FEATURE_URL: https://pr${{ github.event.number }}--${{ env.REPO_NAME_ALPHANUMERIC }}.review.gnosisdev.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user