Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FIO Mainnet workflow #1425

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/deploy-fio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- fio-v*

jobs:
create-fio-testnet-image:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The job name change from create-fio-testnet-image to create-fio-mainnet-image appears correct. Ensure all references to MAINNET are consistent and that there's no environmental mix-up between testnets and mainnets.

create-fio-mainnet-image:
runs-on: ubuntu-latest
environment: fio
steps:
Expand Down Expand Up @@ -69,9 +69,9 @@ jobs:
build-kubernetes
env:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Namespace and host changes from testnet to mainnet are correctly updated. Validate that the NAMESPACE 'fio-dashboard' and the host 'fio.antelope.tools' are correctly configured on the mainnet settings.

# general
NAMESPACE: fio-testnet-dashboard
INGRESS_HOST: fio-testnet.antelope.tools
INGRESS_GRAPHQL_HOST: graphql-fio-testnet.antelope.tools
NAMESPACE: fio-dashboard
INGRESS_HOST: fio.antelope.tools
INGRESS_GRAPHQL_HOST: graphql-fio.antelope.tools
# webapp
REACT_APP_EOS_API_NETWORK_NAME: fio
# postgres
Expand All @@ -80,7 +80,7 @@ jobs:
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that HAPI_EOS_API_NETWORK_NAME and HAPI_EOS_API_ENDPOINTS accurately represent the mainnet values. Misconfiguration can lead to network connection issues.

POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_NETWORK_NAME: fio-testnet
HAPI_EOS_API_NETWORK_NAME: fio
HAPI_EOS_API_ENDPOINTS: '["https://fio.eosusa.io","https://fio.greymass.com","https://fio.eosphere.io"]'
HAPI_EOS_STATE_HISTORY_PLUGIN_ENDPOINT: ''
HAPI_EOS_MISSED_BLOCKS_ENABLED: 'false'
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
uses: steebchen/[email protected]
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
NAMESPACE: fio-testnet-dashboard
NAMESPACE: fio-dashboard
K8S_BUILD_DIR: build_k8s
with:
args: version && make deploy-kubernetes
Loading