Skip to content

Commit

Permalink
Merge pull request #1359 from bloxapp/stage
Browse files Browse the repository at this point in the history
v1.3.3rc
  • Loading branch information
Lior Rutenberg authored Apr 1, 2024
2 parents 97d20e6 + 86cddd7 commit 2578c2a
Show file tree
Hide file tree
Showing 99 changed files with 1,906 additions and 3,038 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ jobs:

- name: Run unit tests
run: make unit-test

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
21 changes: 3 additions & 18 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,23 +147,11 @@ Deploy nodes to prod:
# █▓▒░ Keep commented unless you're testing the bootnode ░▒▓█
#- .k8/production/holesky/scripts/deploy-boot-nodes.sh $DOCKER_REPO_INFRA_PROD $CI_COMMIT_SHA ssv $APP_REPLICAS_INFRA_PROD blox-infra-prod kubernetes-admin@blox-infra-prod ssv.network $K8S_API_VERSION $PROD_HEALTH_CHECK_IMAGE $SSV_NODES_CPU_LIMIT_V3 $SSV_NODES_MEM_LIMIT_V3
#
# +---------------------------+
# | 🟠 Deploy SSV Prater nodes |
# +---------------------------+
- .k8/production/prater/scripts/deploy-cluster-1--4.sh $DOCKER_REPO_INFRA_PROD $CI_COMMIT_SHA ssv $APP_REPLICAS_INFRA_PROD blox-infra-prod kubernetes-admin@blox-infra-prod ssv.network $K8S_API_VERSION $PROD_HEALTH_CHECK_IMAGE $SSV_NODES_CPU_LIMIT_V3 $SSV_NODES_MEM_LIMIT_V3
#
# +----------------------------+
# | 🔴 Deploy SSV Mainnet nodes |
# +----------------------------+
# - .k8/production/mainnet/scripts/deploy-cluster-1-4.sh $DOCKER_REPO_INFRA_PROD $CI_COMMIT_SHA ssv $APP_REPLICAS_INFRA_PROD blox-infra-prod kubernetes-admin@blox-infra-prod ssv.network $K8S_API_VERSION $PROD_HEALTH_CHECK_IMAGE $SSV_NODES_CPU_LIMIT_V3 $SSV_NODES_MEM_LIMIT_V3
#
#
# +-----------------------------+
# │ 🟠 Deploy Prater Bootnode |
# +-----------------------------+
# █▓▒░ Keep commented unless you're testing the bootnode ░▒▓█
# - .k8/production/prater/scripts/deploy-boot-nodes.sh $DOCKER_REPO_INFRA_PROD $CI_COMMIT_SHA ssv $APP_REPLICAS_INFRA_PROD blox-infra-prod kubernetes-admin@blox-infra-prod ssv.network $K8S_API_VERSION $PROD_HEALTH_CHECK_IMAGE $SSV_NODES_CPU_LIMIT_V3 $SSV_NODES_MEM_LIMIT_V3
#
# +------------------------------+
# │ 🔴 Deploy Mainnet Bootnode |
# +------------------------------+
Expand All @@ -182,6 +170,8 @@ Deploy exporter to prod:
- export K8S_API_VERSION=$INFRA_PROD_K8_API_VERSION
- export SSV_EXPORTER_CPU_LIMIT=$PROD_SSV_EXPORTER_CPU_LIMIT
- export SSV_EXPORTER_MEM_LIMIT=$PROD_SSV_EXPORTER_MEM_LIMIT
- export SSV_EXPORTER_MAINNET_CPU_LIMIT=$PROD_SSV_EXPORTER_MAINNET_CPU_LIMIT
- export SSV_EXPORTER_MAINNET_MEM_LIMIT=$PROD_SSV_EXPORTER_MAINNET_MEM_LIMIT
- export SSV_NODES_CPU_LIMIT_V3=$PROD_SSV_NODES_CPU_LIMIT_V3
- export SSV_NODES_MEM_LIMIT_V3=$PROD_SSV_NODES_MEM_LIMIT_V3
- curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl
Expand All @@ -194,14 +184,9 @@ Deploy exporter to prod:
- .k8/production/holesky/scripts/deploy-exporters.sh $DOCKER_REPO_INFRA_PROD $CI_COMMIT_SHA ssv $APP_REPLICAS_INFRA_PROD blox-infra-prod kubernetes-admin@blox-infra-prod ssv.network $K8S_API_VERSION $SSV_EXPORTER_CPU_LIMIT $SSV_EXPORTER_MEM_LIMIT
#
# +------------------------------+
# | 🟠 Deploy Prater exporter |
# +------------------------------+
- .k8/production/prater/scripts/deploy-exporters.sh $DOCKER_REPO_INFRA_PROD $CI_COMMIT_SHA ssv $APP_REPLICAS_INFRA_PROD blox-infra-prod kubernetes-admin@blox-infra-prod ssv.network $K8S_API_VERSION $SSV_EXPORTER_CPU_LIMIT $SSV_EXPORTER_MEM_LIMIT
#
# +------------------------------+
# │ 🔴 Deploy Mainnet exporter |
# +------------------------------+
# - .k8/production/mainnet/scripts/deploy-exporters.sh $DOCKER_REPO_INFRA_PROD $CI_COMMIT_SHA ssv $APP_REPLICAS_INFRA_PROD blox-infra-prod kubernetes-admin@blox-infra-prod ssv.network $K8S_API_VERSION $SSV_EXPORTER_CPU_LIMIT $SSV_EXPORTER_MEM_LIMIT
# - .k8/production/mainnet/scripts/deploy-exporters.sh $DOCKER_REPO_INFRA_PROD $CI_COMMIT_SHA ssv $APP_REPLICAS_INFRA_PROD blox-infra-prod kubernetes-admin@blox-infra-prod ssv.network $K8S_API_VERSION $SSV_EXPORTER_MAINNET_CPU_LIMIT $SSV_EXPORTER_MAINNET_MEM_LIMIT

only:
- main
Expand Down
4 changes: 2 additions & 2 deletions .k8/production/mainnet/ssv-exporter-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ spec:
imagePullPolicy: Always
resources:
limits:
cpu: "1"
memory: 6000Mi
cpu: REPLACE_EXPORTER_CPU_LIMIT
memory: REPLACE_EXPORTER_MEM_LIMIT
command: ["make", "start-node"]
ports:
- containerPort: 12015
Expand Down
127 changes: 0 additions & 127 deletions .k8/production/prater/boot-node-prater-deployment.yml

This file was deleted.

128 changes: 0 additions & 128 deletions .k8/production/prater/scripts/deploy-boot-nodes.sh

This file was deleted.

Loading

0 comments on commit 2578c2a

Please sign in to comment.