Skip to content

Commit

Permalink
temp branch for deploying an alpha chain with v5.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreat committed Apr 4, 2024
1 parent dcca2a2 commit 2beeee6
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ self-hosted-runner:
- small
- large
- large-cd
- mcf-dev-small-x64
14 changes: 12 additions & 2 deletions .github/workflows/mobilecoin-dispatch-dev-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ on:
- none
- v5.0.3-dev
- v5.1.1-dev
- v5.1.1-dev.alpha.6317
minimum_block:
description: "Minimum block to wait for before testing"
type: choice
required: true
default: "6317"
options:
- "500"
- "5946"
- "6317"
ingest_color:
description: "Fog Ingest blue/green"
type: choice
Expand All @@ -53,7 +63,7 @@ on:
jobs:
list-values:
name: 👾 Environment Info - ${{ inputs.namespace }} - ${{ inputs.version }} 👾
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -90,5 +100,5 @@ jobs:
ingest_color: ${{ inputs.ingest_color }}
namespace: ${{ inputs.namespace }}
version: ${{ inputs.version }}
minimum_block: ${{ inputs.bootstrap_version == 'v5.1.1-dev' && '5946' || '500' }}
minimum_block: ${{ inputs.minimum_block }}
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/mobilecoin-workflow-dev-bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
secrets: inherit

restore-s3-archive:
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
needs:
- reset
container:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
# We now have a db with setup-environment
# Note this only works if we are in the same cluster as the dev env.
restore-db-from-archive:
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
needs:
- setup-environment
container:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/mobilecoin-workflow-dev-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
consensus-deploy:
needs:
- setup-environment
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
strategy:
matrix:
release_name:
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
mobilecoind-deploy:
needs:
- consensus-deploy
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Generate mobilecoind values file
run: |
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
fog-report-deploy-a:
needs:
- consensus-deploy
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Generate fog-report values file
run: |
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
fog-report-deploy-b:
needs:
- consensus-deploy
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Generate fog-report-b values file
run: |
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
fog-view-deploy:
needs:
- consensus-deploy
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Generate fog-view values file
run: |
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
needs:
- consensus-deploy
- mobilecoind-deploy
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Generate fog-ledger values file
run: |
Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
needs:
- consensus-deploy
- mobilecoind-deploy
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Generate fog-ingest values file
run: |
Expand Down Expand Up @@ -404,7 +404,7 @@ jobs:
- fog-ledger-deploy
- fog-report-deploy-a
- fog-report-deploy-b
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Check end points up.
uses: mobilecoinofficial/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mobilecoin-workflow-dev-reset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ on:

jobs:
reset-helm:
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
strategy:
matrix:
chart:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
rancher_token: ${{ secrets.DEV_RANCHER_TOKEN }}

reset-k8s:
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
needs:
- reset-helm
steps:
Expand All @@ -91,7 +91,7 @@ jobs:
rancher_token: ${{ secrets.DEV_RANCHER_TOKEN }}

reset-s3:
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
container:
image: mobilecoin/gha-s3-pg-helper:v0
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ env:

jobs:
setup-environment:
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobilecoin-workflow-dev-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ on:

jobs:
cd-integration-tests:
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
env:
SRC_KEYS_DIR: /tmp/sample_data/keys
SRC_FOG_KEYS_DIR: /tmp/sample_data/fog_keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
secrets: inherit

consensus-restart:
runs-on: [self-hosted, Linux, small]
runs-on: mcf-dev-small-x64
needs:
- setup-environment
strategy:
Expand Down

0 comments on commit 2beeee6

Please sign in to comment.