GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — optiframe/cloudbuild.yaml at main · George-Fam/optiframe

Expand file tree

/

cloudbuild.yaml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
52 lines (47 loc) · 1.36 KB
/

cloudbuild.yaml

Copy path

File metadata and controls

52 lines (47 loc) · 1.36 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
substitutions:
_REGION: northamerica-northeast1
_SERVICE: optiframe
_REPO: optiframe
_API_URL: ""
_MIN_INSTANCES: "1"
_MAX_INSTANCES: "3"
_CONCURRENCY: "4"
_CPU: "2"
_MEMORY: 2Gi
steps:
- id: build
name: gcr.io/cloud-builders/docker
args:
- build
- --build-arg=API_URL=${_API_URL}
- -t
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_SERVICE}:$SHORT_SHA
- -t
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_SERVICE}:latest
- .
- id: push
name: gcr.io/cloud-builders/docker
args: [push, --all-tags, "${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_SERVICE}"]
- id: deploy
name: gcr.io/google.com/cloudsdktool/cloud-sdk:slim
entrypoint: gcloud
args:
- run
- deploy
- ${_SERVICE}
- --image=${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_SERVICE}:$SHORT_SHA
- --region=${_REGION}
- --allow-unauthenticated
- --service-account=${_SERVICE}-run@$PROJECT_ID.iam.gserviceaccount.com
- --memory=${_MEMORY}
- --cpu=${_CPU}
- --concurrency=${_CONCURRENCY}
- --timeout=60
- --min-instances=${_MIN_INSTANCES}
- --max-instances=${_MAX_INSTANCES}
- --cpu-boost
images:
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_SERVICE}:$SHORT_SHA
options:
machineType: E2_HIGHCPU_8
logging: CLOUD_LOGGING_ONLY
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.