Skip to content
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: 2 additions & 0 deletions .github/workflows/deploy-fisherman-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ jobs:
network: staging-ignition
namespace: ignition-fisherman-sepolia
l1_network: sepolia
cluster: aztec-gke-private

setup-irm-mainnet:
needs: deploy-fisherman
Expand All @@ -195,3 +196,4 @@ jobs:
network: mainnet
namespace: ignition-fisherman-mainnet
l1_network: mainnet
cluster: aztec-gke-private
13 changes: 12 additions & 1 deletion .github/workflows/deploy-irm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ on:
required: true
type: string
default: "aztec-gke-private"

jobs:
deploy-irm:
env:
Expand Down Expand Up @@ -86,6 +85,13 @@ jobs:
run: |
gcloud container clusters get-credentials ${{ env.CLUSTER_NAME }} --region ${{ env.REGION }}

- name: Get IRM version from VERSION file
id: get_version
run: |
VERSION=$(cat spartan/metrics/irm-monitor/VERSION | tr -d '[:space:]')
echo "IRM version: ${VERSION}"
echo "IMAGE_TAG=${VERSION}" >> "$GITHUB_ENV"

- name: Validate inputs
run: |
# Validate l1_network
Expand Down Expand Up @@ -123,10 +129,15 @@ jobs:
echo "MONITORING_NAMESPACE=${EFFECTIVE_MONITORING_NAMESPACE}" >> "$GITHUB_ENV"

- name: Deploy IRM
env:
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
IMAGE_TAG: ${{ env.IMAGE_TAG }}
run: |
echo "Deploying IRM to network: ${{ inputs.network }}"
echo "Namespace to monitor: ${NAMESPACE}"
echo "Monitoring namespace: ${MONITORING_NAMESPACE}"
echo "L1 network: ${{ inputs.l1_network }}"
echo "Image tag: ${IMAGE_TAG}"

./spartan/metrics/irm-monitor/scripts/update-monitoring.sh $NAMESPACE $MONITORING_NAMESPACE ${{ inputs.network }} $INFURA_SECRET_NAME
2 changes: 1 addition & 1 deletion .github/workflows/deploy-network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:

if [ -n "$CLUSTER" ]; then
echo "cluster=$CLUSTER" >> $GITHUB_OUTPUT
else
else
echo "cluster=" >> $GITHUB_OUTPUT
fi

Expand Down
Loading
Loading