diff --git a/.github/actions/prepare-deploy/action.yml b/.github/actions/prepare-deploy/action.yml index 1e76509660..3ed8c6631b 100644 --- a/.github/actions/prepare-deploy/action.yml +++ b/.github/actions/prepare-deploy/action.yml @@ -70,12 +70,7 @@ runs: echo "function_name=${{ inputs.app_base_name }}-demo" >> $GITHUB_OUTPUT echo "front_url=app-demo.k-f.dev" >> $GITHUB_OUTPUT echo "env_name=demo" >> $GITHUB_OUTPUT - elif ${{ inputs.deploy_to == 'moonbeam-alpha' }}; then - # moonbeam-alpha - echo "function_name=${{ inputs.app_base_name }}-moonbeam-alpha" >> $GITHUB_OUTPUT - echo "front_url=app-moonbeam-alpha.k-f.dev" >> $GITHUB_OUTPUT - echo "env_name=moonbeam-alpha" >> $GITHUB_OUTPUT - elif ${{ inputs.deploy_to == 'development' }}; then + elif ${{ github.ref == 'refs/heads/main' }}; then # DEV echo "function_name=${{ inputs.app_base_name }}-dev" >> $GITHUB_OUTPUT echo "front_url=app-dev.k-f.dev" >> $GITHUB_OUTPUT diff --git a/.github/workflows/moonbeam-alpha-deploy.yml b/.github/workflows/moonbeam-alpha-deploy.yml deleted file mode 100644 index 16f0014455..0000000000 --- a/.github/workflows/moonbeam-alpha-deploy.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: "Moonbeam dev (alpha) deployments (manual)" -on: - push: - branches: main - pull_request: - paths: - - '.github/workflows/moonbeam-alpha-deploy.yml' - -jobs: - app-moonbeam-alpha: - uses: ./.github/workflows/centrifuge-app.yml - secrets: inherit - with: - deploy_env: moonbeam-alpha - - - pinning-moonbeam-alpha: - uses: ./.github/workflows/pinning-api.yml - secrets: inherit - with: - deploy_env: moonbeam-alpha - - - onboarding-moonbeam-alpha: - uses: ./.github/workflows/onboarding-api.yml - secrets: inherit - with: - deploy_env: moonbeam-alpha - - # faucet-moonbeam-alpha: - # uses: ./.github/workflows/faucet-api.yml - # secrets: inherit - # with: - # deploy_env: moonbeam-alpha \ No newline at end of file diff --git a/.gitignore b/.gitignore index 89a8e425fa..58ee203ebb 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,3 @@ yarn-error.log !.env.demo !.env.catalyst !.env.production -!.env.moonbeam-alpha diff --git a/centrifuge-app/.env-config/.env.demo b/centrifuge-app/.env-config/.env.demo index b655634f8a..963c3aee0a 100644 --- a/centrifuge-app/.env-config/.env.demo +++ b/centrifuge-app/.env-config/.env.demo @@ -1,5 +1,5 @@ -REACT_APP_COLLATOR_WSS_URL=wss://fullnode.algol.cntrfg.com/public-ws -REACT_APP_DEFAULT_NODE_URL=https://pod.algol.k-f.dev +REACT_APP_COLLATOR_WSS_URL=wss://fullnode.moonbase-dev.cntrfg.com/public-ws +REACT_APP_DEFAULT_NODE_URL=https://pod.moonbeam-alpha.k-f.dev REACT_APP_DEFAULT_UNLIST_POOLS=true REACT_APP_FAUCET_URL=https://europe-central2-peak-vista-185616.cloudfunctions.net/faucet-api-demo REACT_APP_IPFS_GATEWAY=https://centrifuge.mypinata.cloud/ @@ -7,7 +7,7 @@ REACT_APP_IS_DEMO=true REACT_APP_ONBOARDING_API_URL=https://europe-central2-peak-vista-185616.cloudfunctions.net/onboarding-api-demo REACT_APP_PINNING_API_URL=https://europe-central2-peak-vista-185616.cloudfunctions.net/pinning-api-demo REACT_APP_POOL_CREATION_TYPE=immediate -REACT_APP_RELAY_WSS_URL=wss://fullnode-relay.algol.cntrfg.com/public-ws +REACT_APP_RELAY_WSS_URL=wss://frag-moonbase-relay-rpc-ws.g.moonbase.moonbeam.network REACT_APP_SUBQUERY_URL=https://api.subquery.network/sq/centrifuge/pools-demo REACT_APP_SUBSCAN_URL= REACT_APP_TINLAKE_NETWORK=goerli diff --git a/centrifuge-app/.env-config/.env.moonbeam-alpha b/centrifuge-app/.env-config/.env.moonbeam-alpha deleted file mode 100644 index 3f956b9bbb..0000000000 --- a/centrifuge-app/.env-config/.env.moonbeam-alpha +++ /dev/null @@ -1,20 +0,0 @@ -REACT_APP_COLLATOR_WSS_URL=wss://fullnode.moonbase-dev.cntrfg.com/public-ws -REACT_APP_DEFAULT_NODE_URL=https://pod.moonbeam-alpha.k-f.dev -REACT_APP_DEFAULT_UNLIST_POOLS=true -REACT_APP_FAUCET_URL=https://europe-central2-peak-vista-185616.cloudfunctions.net/faucet-api-moonbean-alpha -REACT_APP_IPFS_GATEWAY=https://centrifuge.mypinata.cloud/ -REACT_APP_IS_DEMO=true -REACT_APP_ONBOARDING_API_URL=https://europe-central2-peak-vista-185616.cloudfunctions.net/onboarding-api-moonbeam-alpha -REACT_APP_PINNING_API_URL=https://europe-central2-peak-vista-185616.cloudfunctions.net/pinning-api-moonbeam-alpha -REACT_APP_POOL_CREATION_TYPE=immediate -REACT_APP_RELAY_WSS_URL=wss://frag-moonbase-relay-rpc-ws.g.moonbase.moonbeam.network -REACT_APP_SUBQUERY_URL=https://api.subquery.network/sq/centrifuge/pools-demo -REACT_APP_SUBSCAN_URL= -REACT_APP_TINLAKE_NETWORK=goerli -REACT_APP_INFURA_KEY=bf808e7d3d924fbeb74672d9341d0550 -REACT_APP_WHITELISTED_ACCOUNTS= -REACT_APP_NETWORK=centrifuge -REACT_APP_REWARDS_TREE_URL=https://storage.googleapis.com/rad-rewards-trees-kovan-staging/latest.json -REACT_APP_MEMBERLIST_ADMIN_PURE_PROXY=kALwmJutBq95s41U9fWnoApCUgvPqPGTh1GSmFnQh5f9fWo93 -REACT_APP_WALLETCONNECT_ID=c32fa79350803519804a67fcab0b742a -REACT_APP_TINLAKE_SUBGRAPH_URL=https://graph.centrifuge.io/tinlake diff --git a/onboarding-api/env-vars/demo.env b/onboarding-api/env-vars/demo.env index a791f6cec1..f7c7e84d99 100644 --- a/onboarding-api/env-vars/demo.env +++ b/onboarding-api/env-vars/demo.env @@ -1,7 +1,7 @@ REDIRECT_URL=https://app-demo.k-f.dev MEMBERLIST_ADMIN_PURE_PROXY=kAM1ELFDHdHeLDAkAdwEnfufoCL5hpUycGs4ZQkSQKVpHFoXm -COLLATOR_WSS_URL=wss://fullnode.algol.cntrfg.com/public-ws -RELAY_WSS_URL=wss://fullnode-relay.algol.cntrfg.com +COLLATOR_WSS_URL=wss://fullnode.moonbase-dev.cntrfg.com/public-ws +RELAY_WSS_URL=wss://frag-moonbase-relay-rpc-ws.g.moonbase.moonbeam.network INFURA_KEY=bf808e7d3d924fbeb74672d9341d0550 EVM_NETWORK=goerli -ONBOARDING_STORAGE_BUCKET=centrifuge-onboarding-api-dev +ONBOARDING_STORAGE_BUCKET=centrifuge-onboarding-api-dev \ No newline at end of file diff --git a/onboarding-api/env-vars/moonbeam-alpha.env b/onboarding-api/env-vars/moonbeam-alpha.env deleted file mode 100644 index ce95c37a2d..0000000000 --- a/onboarding-api/env-vars/moonbeam-alpha.env +++ /dev/null @@ -1,7 +0,0 @@ -REDIRECT_URL=https://app-moonbase.k-f.dev -MEMBERLIST_ADMIN_PURE_PROXY=kAM1ELFDHdHeLDAkAdwEnfufoCL5hpUycGs4ZQkSQKVpHFoXm -COLLATOR_WSS_URL=wss://fullnode.moonbase-dev.cntrfg.com/public-ws -RELAY_WSS_URL=wss://frag-moonbase-relay-rpc-ws.g.moonbase.moonbeam.network -INFURA_KEY=bf808e7d3d924fbeb74672d9341d0550 -EVM_NETWORK=goerli -ONBOARDING_STORAGE_BUCKET=centrifuge-onboarding-api-dev \ No newline at end of file diff --git a/onboarding-api/env-vars/moonbeam-alpha.secrets b/onboarding-api/env-vars/moonbeam-alpha.secrets deleted file mode 100644 index ecdceefbd5..0000000000 --- a/onboarding-api/env-vars/moonbeam-alpha.secrets +++ /dev/null @@ -1,7 +0,0 @@ -SHUFTI_PRO_SECRET_KEY=projects/peak-vista-185616/secrets/SHUFTI_PRO_SECRET_KEY -SHUFTI_PRO_CLIENT_ID=projects/peak-vista-185616/secrets/SHUFTI_PRO_CLIENT_ID -JWT_SECRET=projects/peak-vista-185616/secrets/JWT_SECRET -SENDGRID_API_KEY=projects/peak-vista-185616/secrets/SENDGRID_API_KEY -COOKIE_SECRET=projects/peak-vista-185616/secrets/COOKIE_SECRET -PURE_PROXY_CONTROLLER_SEED=projects/peak-vista-185616/secrets/PURE_PROXY_CONTROLLER_SEED -EVM_MEMBERLIST_ADMIN_PRIVATE_KEY=projects/peak-vista-185616/secrets/EVM_MEMBERLIST_ADMIN_PRIVATE_KEY \ No newline at end of file diff --git a/pinning-api/env-vars/moonbeam-alpha.secrets b/pinning-api/env-vars/moonbeam-alpha.secrets deleted file mode 100644 index ed859fd326..0000000000 --- a/pinning-api/env-vars/moonbeam-alpha.secrets +++ /dev/null @@ -1,2 +0,0 @@ -PINATA_API_KEY=projects/peak-vista-185616/secrets/PINATA_API_KEY -PINATA_SECRET_API_KEY=projects/peak-vista-185616/secrets/PINATA_SECRET_API_KEY