Skip to content

Commit

Permalink
Merge pull request #1137 from geyserfund/stelios/gey-2663-update-clou…
Browse files Browse the repository at this point in the history
…d-build-machine-types-back-to-default-geyser-app
  • Loading branch information
steliosrammos authored Sep 4, 2023
2 parents 6cdbc20 + beb83f9 commit f88e818
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
12 changes: 5 additions & 7 deletions ci/prod/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ steps:
docker pull us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:build || true \
&& docker pull us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:latest || true
- id: "Update Cached Dependencies Image"
name: "gcr.io/cloud-builders/docker"
entrypoint: "bash"
- id: 'Update Cached Dependencies Image'
name: 'gcr.io/cloud-builders/docker'
entrypoint: 'bash'
args:
- "-c"
- '-c'
- |
docker build \
--target dependencies \
Expand Down Expand Up @@ -83,7 +83,7 @@ steps:
- '--set-secrets'
- 'PRERENDER_TOKEN=prerender-api-key:latest'
images:
- "us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:dependencies"
- 'us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:dependencies'
- 'us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:build'
- 'us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:$COMMIT_SHA'
- 'us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:latest'
Expand All @@ -96,5 +96,3 @@ availableSecrets:
- versionName: projects/$PROJECT_ID/secrets/geyser-nostr-pubkey/versions/1
env: 'GEYSER_NOSTR_PUBKEY'
timeout: 1800s
options:
machineType: 'E2_HIGHCPU_8'
12 changes: 5 additions & 7 deletions ci/staging/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ steps:
docker pull us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:build || true \
&& docker pull us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:latest || true
- id: "Update Cached Dependencies Image"
name: "gcr.io/cloud-builders/docker"
entrypoint: "bash"
- id: 'Update Cached Dependencies Image'
name: 'gcr.io/cloud-builders/docker'
entrypoint: 'bash'
args:
- "-c"
- '-c'
- |
docker build \
--target dependencies \
Expand Down Expand Up @@ -79,7 +79,7 @@ steps:
- '--region'
- 'us-central1'
images:
- "us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:dependencies"
- 'us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:dependencies'
- 'us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:build'
- 'us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:$COMMIT_SHA'
- 'us-central1-docker.pkg.dev/$PROJECT_ID/geyser-docker-repo/${_SERVICE_NAME}:latest'
Expand All @@ -92,5 +92,3 @@ availableSecrets:
- versionName: projects/$PROJECT_ID/secrets/geyser-nostr-pubkey/versions/2
env: 'GEYSER_NOSTR_PUBKEY'
timeout: 1800s
options:
machineType: 'E2_HIGHCPU_8'

0 comments on commit f88e818

Please sign in to comment.