-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #629 from IntersectMBO/test
Update All cards with GA details, extensive refactor UI and Fixes
- Loading branch information
Showing
449 changed files
with
20,643 additions
and
7,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Build and deploy GovTool to BETA server | ||
run-name: Deploy by @${{ github.actor }} | ||
|
||
# That should be executed on create: tag event | ||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
ENVIRONMENT: "beta" | ||
CARDANO_NETWORK: "sanchonet" | ||
DOMAIN: "sanchogov.tools" | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy app | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./scripts/govtool | ||
env: | ||
DBSYNC_POSTGRES_DB: "cexplorer" | ||
DBSYNC_POSTGRES_USER: "postgres" | ||
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb" | ||
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }} | ||
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }} | ||
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }} | ||
NGINX_BASIC_AUTH: ${{ secrets.NGINX_BASIC_AUTH }} | ||
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }} | ||
TRAEFIK_LE_EMAIL: "admin+govtool@binarapps.com" | ||
GTM_ID: ${{ secrets.GTM_ID }} | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }} | ||
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }} | ||
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v3 | ||
with: | ||
aws-access-key-id: ${{ secrets.GHA_AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.GHA_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: eu-west-1 | ||
|
||
- name: Login to AWS ECR | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-region: eu-west-1 | ||
|
||
- name: Setup SSH agent | ||
uses: webfactory/ssh-agent@v0.8.0 | ||
with: | ||
ssh-private-key: ${{ secrets.GHA_SSH_PRIVATE_KEY }} | ||
|
||
- name: Deploy app | ||
run: | | ||
make --debug=b all | ||
- name: Reprovision Grafana | ||
run: | | ||
sleep 30 # give grafana time to start up | ||
make --debug=b reload-grafana |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Build and deploy GovTool to DEV server | ||
run-name: Deploy by @${{ github.actor }} | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
ENVIRONMENT: "dev" | ||
CARDANO_NETWORK: "sanchonet" | ||
DOMAIN: "dev-sanchonet.govtool.byron.network" | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy app | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./scripts/govtool | ||
env: | ||
DBSYNC_POSTGRES_DB: "cexplorer" | ||
DBSYNC_POSTGRES_USER: "postgres" | ||
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb" | ||
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }} | ||
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }} | ||
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }} | ||
NGINX_BASIC_AUTH: ${{ secrets.NGINX_BASIC_AUTH }} | ||
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }} | ||
TRAEFIK_LE_EMAIL: "admin+govtool@binarapps.com" | ||
GTM_ID: ${{ secrets.GTM_ID }} | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }} | ||
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }} | ||
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v3 | ||
with: | ||
aws-access-key-id: ${{ secrets.GHA_AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.GHA_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: eu-west-1 | ||
|
||
- name: Login to AWS ECR | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-region: eu-west-1 | ||
|
||
- name: Setup SSH agent | ||
uses: webfactory/ssh-agent@v0.8.0 | ||
with: | ||
ssh-private-key: ${{ secrets.GHA_SSH_PRIVATE_KEY }} | ||
|
||
- name: Deploy app | ||
run: | | ||
make --debug=b all | ||
- name: Reprovision Grafana | ||
run: | | ||
sleep 30 # give grafana time to start up | ||
make --debug=b reload-grafana |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Build and deploy GovTool to STAGING server | ||
run-name: Deploy by @${{ github.actor }} | ||
|
||
on: | ||
push: | ||
branches: | ||
- staging | ||
|
||
env: | ||
ENVIRONMENT: "staging" | ||
CARDANO_NETWORK: "sanchonet" | ||
DOMAIN: "staging.govtool.byron.network" | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy app | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./scripts/govtool | ||
env: | ||
DBSYNC_POSTGRES_DB: "cexplorer" | ||
DBSYNC_POSTGRES_USER: "postgres" | ||
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb" | ||
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }} | ||
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }} | ||
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }} | ||
NGINX_BASIC_AUTH: ${{ secrets.NGINX_BASIC_AUTH }} | ||
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }} | ||
TRAEFIK_LE_EMAIL: "admin+govtool@binarapps.com" | ||
GTM_ID: ${{ secrets.GTM_ID }} | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }} | ||
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }} | ||
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v3 | ||
with: | ||
aws-access-key-id: ${{ secrets.GHA_AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.GHA_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: eu-west-1 | ||
|
||
- name: Login to AWS ECR | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-region: eu-west-1 | ||
|
||
- name: Setup SSH agent | ||
uses: webfactory/ssh-agent@v0.8.0 | ||
with: | ||
ssh-private-key: ${{ secrets.GHA_SSH_PRIVATE_KEY }} | ||
|
||
- name: Deploy app | ||
run: | | ||
make --debug=b all | ||
- name: Reprovision Grafana | ||
run: | | ||
sleep 30 # give grafana time to start up | ||
make --debug=b reload-grafana |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Build and deploy GovTool to TEST server | ||
run-name: Deploy by @${{ github.actor }} | ||
|
||
on: | ||
push: | ||
branches: | ||
- test | ||
|
||
env: | ||
ENVIRONMENT: "test" | ||
CARDANO_NETWORK: "sanchonet" | ||
DOMAIN: "test-sanchonet.govtool.byron.network" | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy app | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./scripts/govtool | ||
env: | ||
DBSYNC_POSTGRES_DB: "cexplorer" | ||
DBSYNC_POSTGRES_USER: "postgres" | ||
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb" | ||
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }} | ||
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }} | ||
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }} | ||
NGINX_BASIC_AUTH: ${{ secrets.NGINX_BASIC_AUTH }} | ||
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }} | ||
TRAEFIK_LE_EMAIL: "admin+govtool@binarapps.com" | ||
GTM_ID: ${{ secrets.GTM_ID }} | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }} | ||
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }} | ||
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v3 | ||
with: | ||
aws-access-key-id: ${{ secrets.GHA_AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.GHA_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: eu-west-1 | ||
|
||
- name: Login to AWS ECR | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-region: eu-west-1 | ||
|
||
- name: Setup SSH agent | ||
uses: webfactory/ssh-agent@v0.8.0 | ||
with: | ||
ssh-private-key: ${{ secrets.GHA_SSH_PRIVATE_KEY }} | ||
|
||
- name: Deploy app | ||
run: | | ||
make --debug=b all | ||
- name: Reprovision Grafana | ||
run: | | ||
sleep 30 # give grafana time to start up | ||
make --debug=b reload-grafana |
Oops, something went wrong.