Merge pull request #1986 from gnosis/fix/v3.1.1

Fix v3.1.1. Production deploy
This commit is contained in:
Daniel Sanchez 2021-03-03 16:17:28 +01:00 committed by GitHub
commit 8d21e9d614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 57 additions and 43 deletions

View File

@ -114,15 +114,18 @@ jobs:
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
# Script to upload release files # Script to upload release files
- run: bash ./scripts/github/deploy_release.sh - name: 'Upload release build files for production'
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
env: run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }} --delete
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # - run: bash ./scripts/github/deploy_release.sh
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} # if: startsWith(github.ref, 'refs/tags/v')
PR_NUMBER: ${{ github.event.number }} # env:
REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }} # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }} # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
VERSION_TAG: ${{ github.event.release.tag_name }} # PR_NUMBER: ${{ github.event.number }}
# REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }}
# REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }}
# VERSION_TAG: ${{ github.event.release.tag_name }}
# Script to prepare production deployments # Script to prepare production deployments
- run: bash ./scripts/github/prepare_production_deployment.sh - run: bash ./scripts/github/prepare_production_deployment.sh

View File

@ -95,15 +95,18 @@ jobs:
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
# Script to upload release files # Script to upload release files
- run: bash ./scripts/github/deploy_release.sh - name: 'Upload release build files for production'
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
env: run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }} --delete
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # - run: bash ./scripts/github/deploy_release.sh
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} # if: startsWith(github.ref, 'refs/tags/v')
PR_NUMBER: ${{ github.event.number }} # env:
REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }} # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }} # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
VERSION_TAG: ${{ github.event.release.tag_name }} # PR_NUMBER: ${{ github.event.number }}
# REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }}
# REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }}
# VERSION_TAG: ${{ github.event.release.tag_name }}
# Script to prepare production deployments # Script to prepare production deployments
- run: bash ./scripts/github/prepare_production_deployment.sh - run: bash ./scripts/github/prepare_production_deployment.sh

View File

@ -121,17 +121,20 @@ jobs:
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
# Script to upload release files # Script to upload release files
- run: bash ./scripts/github/deploy_release.sh - name: 'Upload release build files for production'
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
env: run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }} --delete
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # - run: bash ./scripts/github/deploy_release.sh
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} # if: startsWith(github.ref, 'refs/tags/v')
PR_NUMBER: ${{ github.event.number }} # env:
REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }} # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }} # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
VERSION_TAG: ${{ github.event.release.tag_name }} # PR_NUMBER: ${{ github.event.number }}
# REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }}
# REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }}
# VERSION_TAG: ${{ github.event.release.tag_name }}
# Script to prepare production deployments # Script to notify production deployments
- run: bash ./scripts/github/prepare_production_deployment.sh - run: bash ./scripts/github/prepare_production_deployment.sh
if: success() && startsWith(github.ref, 'refs/tags/v') if: success() && startsWith(github.ref, 'refs/tags/v')
env: env:

View File

@ -118,16 +118,18 @@ jobs:
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
# Script to upload release files # Script to upload release files
- run: bash ./scripts/github/deploy_release.sh - name: 'Upload release build files for production'
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
env: run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }} --delete
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # - run: bash ./scripts/github/deploy_release.sh
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} # if: startsWith(github.ref, 'refs/tags/v')
PR_NUMBER: ${{ github.event.number }} # env:
REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }} # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }} # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
VERSION_TAG: ${{ github.event.release.tag_name }} # PR_NUMBER: ${{ github.event.number }}
# REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }}
# REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }}
# VERSION_TAG: ${{ github.event.release.tag_name }}
# Script to prepare production deployments # Script to prepare production deployments
- run: bash ./scripts/github/prepare_production_deployment.sh - run: bash ./scripts/github/prepare_production_deployment.sh
if: success() && startsWith(github.ref, 'refs/tags/v') if: success() && startsWith(github.ref, 'refs/tags/v')

View File

@ -117,15 +117,18 @@ jobs:
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
# Script to upload release files # Script to upload release files
- run: bash ./scripts/github/deploy_release.sh - name: 'Upload release build files for production'
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
env: run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }} --delete
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # - run: bash ./scripts/github/deploy_release.sh
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} # if: startsWith(github.ref, 'refs/tags/v')
PR_NUMBER: ${{ github.event.number }} # env:
REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }} # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }} # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
VERSION_TAG: ${{ github.event.release.tag_name }} # PR_NUMBER: ${{ github.event.number }}
# REVIEW_BUCKET_NAME: ${{ secrets.AWS_REVIEW_BUCKET_NAME }}
# REACT_APP_NETWORK: ${{ env.REACT_APP_NETWORK }}
# VERSION_TAG: ${{ github.event.release.tag_name }}
# Script to prepare production deployments # Script to prepare production deployments
- run: bash ./scripts/github/prepare_production_deployment.sh - run: bash ./scripts/github/prepare_production_deployment.sh

View File

@ -1,6 +1,6 @@
{ {
"name": "safe-react", "name": "safe-react",
"version": "3.1.0", "version": "3.1.1",
"description": "Allowing crypto users manage funds in a safer way", "description": "Allowing crypto users manage funds in a safer way",
"website": "https://github.com/gnosis/safe-react#readme", "website": "https://github.com/gnosis/safe-react#readme",
"bugs": { "bugs": {