Skip to content

Commit

Permalink
Update references to new utility cluster (#31)
Browse files Browse the repository at this point in the history
* Update references to new utility cluster

* Update runner refs

* Putting tests back to ubuntu-latest because I'm tired

* Still dealing with runner names
  • Loading branch information
joekottke authored Dec 18, 2024
1 parent af8e32d commit 51f3044
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
env:
DOCKERHUB_ORG: mobilecoin
REPO_NAME: block-explorer
TARGET_CLUSTER: utility-r1-d-k8s
TARGET_CLUSTER: utility-r1-f-k8s
CHART_REPO: https://harbor.mobilecoin.com/chartrepo/mobilecoinofficial-public
CHART_PATH: ./.internal-ci/helm/block-explorer

Expand All @@ -23,7 +23,7 @@ concurrency:

jobs:
build:
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
strategy:
matrix:
network: [main, test]
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
deploy-stage:
needs:
- build
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
strategy:
matrix:
network: [main, test]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- run: yarn test

lint-docker:
runs-on: [self-hosted, Linux, small]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -50,7 +50,7 @@ jobs:
*.dockerignore
lint-actions:
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -63,7 +63,7 @@ jobs:

# no reviewdog for helm
lint-helm:
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
container:
image: mobilecoin/gha-k8s-toolbox:v1
steps:
Expand All @@ -89,7 +89,7 @@ jobs:
- lint-docker
- lint-actions
- lint-helm
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
steps:
- name: All Checks OK!
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dispatch-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
workflow_dispatch: {}

env:
TARGET_CLUSTER: utility-r1-d-k8s
TARGET_CLUSTER: utility-r1-f-k8s
CHART_REPO: https://harbor.mobilecoin.com/chartrepo/mobilecoinofficial-public

jobs:
deploy-mainnet:
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
steps:
- name: Create namespace
uses: mobilecoinofficial/gha-k8s-toolbox@v1
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
rancher_token: ${{ secrets.RANCHER_B_TOKEN }}

deploy-testnet:
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
steps:
- name: Create namespace
uses: mobilecoinofficial/gha-k8s-toolbox@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
gh-release:
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tag:
runs-on: [self-hosted, Linux, small]
runs-on: mco-dev-small-x64
steps:
# We need to use an external PAT here because GHA will not run downstream events if we use the built in token.
- name: Checkout
Expand Down

0 comments on commit 51f3044

Please sign in to comment.