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

Deploy testnet CLIs into prod2 #686

Merged
merged 3 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/actions/testnet/deploy-indexer/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'deploy-indexer'
runs:
using: 'composite'
steps:
- name: -> V2 -- Deploy INDEXER cli in TESTNET [namespace -> ${{ env.TESTNET_COMMON_NAMESPACE_V2 }}]
- name: -> V2 -- Deploy INDEXER cli in TESTNET
uses: tensor-hq/eksctl-helm-action@main
env:
RELEASE_NAME: ${{ env.INDEXER_RELEASE_NAME_V2 }} # notice
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/testnet/deploy-operator/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'deploy-operator'
runs:
using: 'composite'
steps:
- name: -> V2 -- Deploy OPERATOR cli in TESTNET [namespace -> ${{ env.TESTNET_COMMON_NAMESPACE_V2 }}]
- name: -> V2 -- Deploy OPERATOR cli in TESTNET
uses: tensor-hq/eksctl-helm-action@main
env:
RELEASE_NAME: ${{ env.OPERATOR_RELEASE_NAME_V2 }} # notice
Expand Down
4 changes: 0 additions & 4 deletions .github/actions/testnet/initial-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,8 @@ runs:
- name: Pull the holograph-indexer helm chart version x.x.x from ECR
shell: bash
env:
#
CHART_REPO: holo-indexer
CHART_VERSION: ${{ env.TESTNET_HOLO_INDEXER_HELM_CHART_VERSION }}
#
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
run: |
helm pull oci://$ECR_REGISTRY/$CHART_REPO --version $CHART_VERSION
Expand All @@ -93,10 +91,8 @@ runs:
- name: Pull the holograph-operator helm chart version x.x.x from ECR
shell: bash
env:
#
CHART_REPO: holo-operator
CHART_VERSION: ${{ env.TESTNET_HOLO_OPERATOR_HELM_CHART_VERSION }}
#
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
run: |
helm pull oci://$ECR_REGISTRY/$CHART_REPO --version $CHART_VERSION
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_clis_develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ env:
#
STG_COMMON_NAMESPACE_V2: 'develop-v2'
#######################################
STG_HOLOGRAPH_INDEXER_HELM_CHART_VERSION: 0.1.88
STG_HOLOGRAPH_INDEXER_HELM_CHART_VERSION: 0.1.89
INDEXER_RELEASE_NAME_V2: 'indexer-dev-v2' # format -> [release_name]-indexer-[env]
#
STG_HOLOGRAPH_OPERATOR_HELM_CHART_VERSION: 0.1.20
STG_HOLOGRAPH_OPERATOR_HELM_CHART_VERSION: 0.1.21
OPERATOR_RELEASE_NAME_V2: 'operator-dev-v2' # format -> [release_name]-indexer-[env]
#######################################

Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/cicd_clis_testnet.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy V2 holoclis to prod[testnet-v2]
name: Deploy V2 holoclis to prod2[testnet-v2]

permissions:
id-token: write
Expand All @@ -7,11 +7,11 @@ permissions:
env:
AWS_REGION: us-west-2
IAM_ROLE: arn:aws:iam::177635894328:role/Github_role_to_access_ECR
ECR_REPOSITORY: holo-cli # notice: the same for all cli apps
ECR_REPOSITORY: holo-cli
#
IMAGE_TAG: testnet-${{ github.sha }}
#
CLUSTER_NAME: prod0
CLUSTER_NAME: 'prod2'
#
AWS_KEY_ID: ${{ secrets.PROD0_CICD_USER_AWS_ACCESS_KEY_ID }}
AWS_ACCESS_KEY: ${{ secrets.PROD0_CICD_USER_AWS_SECRET_ACCESS_KEY }}
Expand All @@ -30,18 +30,18 @@ env:
#
TESTNET_COMMON_NAMESPACE_V2: 'testnet-v2'
#######################################
TESTNET_HOLO_INDEXER_HELM_CHART_VERSION: 0.1.88
TESTNET_HOLO_INDEXER_HELM_CHART_VERSION: 0.1.89
INDEXER_RELEASE_NAME_V2: 'blondie-indexer-testnet-v2' # format -> [release_name]-indexer-[env]
#
TESTNET_HOLO_OPERATOR_HELM_CHART_VERSION: 0.1.20
TESTNET_HOLO_OPERATOR_HELM_CHART_VERSION: 0.1.21
OPERATOR_RELEASE_NAME_V2: 'blondie-operator-testnet-v2' # format -> [release_name]-indexer-[env]
#######################################

# notice: the trigger
#on:
# push:
# branches:
# - 'something'
# - 'deactivated'
# # Excluded branches
# - '!develop'
# - '!main'
Expand All @@ -51,7 +51,6 @@ on:
pull_request:
branches:
- 'testnet'
# - 'deactivated'
types: [closed]

jobs:
Expand Down
Loading