| [ |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/config" |
| ], |
| "infra_step": true, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git init" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/infra/config" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "master" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git clean" |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend" |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.Remove existing k8s configurations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/config/goma/k8s/rbe-dev/rbe-dev", |
| "*/*.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.Remove existing k8s configurations.glob existing configurations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/rbe-dev/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/rbe-dev/goma/configmap_nginx-extra-conf.yaml@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[START_DIR]/config/goma/k8s/rbe-dev/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/rbe-dev/goma/configmap_nginx-extra-conf.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.Remove existing k8s configurations.remove [START_DIR]/config/goma/k8s/rbe-dev/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/rbe-dev/goma/configmap_nginx-extra-conf.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/config/goma/k8s/templates-rbe", |
| "*/*yaml*" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.glob template dir [START_DIR]/config/goma/k8s/templates-rbe", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_cmd-cache-server.yaml@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.ensure directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.generate yaml [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.generate yaml [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.read input template [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@# Copyright 2020 Google Inc. All Rights Reserved.@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ apiVersion: apps/v1beta2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ kind: Deployment@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ annotations:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ imagetag: $IMAGETAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ buildtag: $TAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ replicas: 2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ selector:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ matchLabels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ template:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ containers:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - command:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - /opt/goma/bin/auth_server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - --project-id=$PROJECT_ID@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ image: gcr.io/$CONTAINER_PROJECT_ID/auth-server:$IMAGETAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ ports:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - containerPort: 5050@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - containerPort: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ resources:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ limits:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ cpu: 1500m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ memory: 1500Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ requests:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ cpu: 100m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ memory: 100Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ # following could be configured by PodPreset?@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ livenessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ readinessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_END@deploy_auth-server.yaml.custom.in@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.generate yaml [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.ensure gcloud", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/gcloud", |
| "-ensure-file", |
| "infra/gcloud/${platform} version:266.0.0.chromium0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.generate yaml [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.ensure gcloud.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@5@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:266.0.0.\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gcloud/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[START_DIR]/cipd/gcloud/bin/gcloud" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.generate yaml [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.ensure gcloud.remove gcloud wrapper", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@5@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::gcloud]/resources/gcloud", |
| "[START_DIR]/cipd/gcloud/bin/gcloud" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.generate yaml [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.ensure gcloud.copy patched gcloud", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@5@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gcloud/bin/gcloud", |
| "container", |
| "images", |
| "list-tags", |
| "gcr.io/goma-fuchsia/auth-server", |
| "--filter", |
| "tags: latest", |
| "--limit", |
| "1", |
| "--format=get(digest)" |
| ], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.generate yaml [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.retrieve digest for gcr.io/goma-fuchsia/auth-server", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "# Copyright 2020 Google Inc. All Rights Reserved.\n apiVersion: apps/v1beta2\n kind: Deployment\n metadata:\n labels:\n app: auth-server\n annotations:\n imagetag: latest\n buildtag: 20120514_125321\n name: auth-server\n spec:\n replicas: 2\n selector:\n matchLabels:\n app: auth-server\n template:\n metadata:\n labels:\n app: auth-server\n spec:\n containers:\n - command:\n - /opt/goma/bin/auth_server\n - --project-id=goma-fuchsia\n name: auth-server\n image: gcr.io/goma-fuchsia/auth-server@\n ports:\n - containerPort: 5050\n protocol: TCP\n - containerPort: 8081\n protocol: TCP\n resources:\n limits:\n cpu: 1500m\n memory: 1500Mi\n requests:\n cpu: 100m\n memory: 100Mi\n # following could be configured by PodPreset?\n livenessProbe:\n httpGet:\n path: /healthz\n port: 8081\n scheme: HTTP\n initialDelaySeconds: 3\n periodSeconds: 5\n readinessProbe:\n httpGet:\n path: /healthz\n port: 8081\n scheme: HTTP\n initialDelaySeconds: 3\n periodSeconds: 5", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.generate yaml [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml.write gke yaml [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_auth-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@# Copyright 2020 Google Inc. All Rights Reserved.@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ apiVersion: apps/v1beta2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ kind: Deployment@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ annotations:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ imagetag: latest@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ buildtag: 20120514_125321@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ replicas: 2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ selector:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ matchLabels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ template:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ containers:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - command:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - /opt/goma/bin/auth_server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - --project-id=goma-fuchsia@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ image: gcr.io/goma-fuchsia/auth-server@@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ ports:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - containerPort: 5050@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - containerPort: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ resources:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ limits:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ cpu: 1500m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ memory: 1500Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ requests:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ cpu: 100m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ memory: 100Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ # following could be configured by PodPreset?@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ livenessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ readinessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_END@deploy_auth-server.yaml@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.ensure directory (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_cmd-cache-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.remove [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_cmd-cache-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_cmd-cache-server.yaml", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_cmd-cache-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/templates-rbe.copy [START_DIR]/config/goma/k8s/templates-rbe/[START_DIR]/config/goma/k8s/templates-rbe/goma/deploy_cmd-cache-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/config/goma/k8s/rbe-dev/templates", |
| "*/*yaml*" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.glob template dir [START_DIR]/config/goma/k8s/rbe-dev/templates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.custom.in@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_cmd-cache-server.yaml@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.ensure directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.generate yaml [START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.custom.in", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.generate yaml [START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.read input template [START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.custom.in", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@# Copyright 2020 Google Inc. All Rights Reserved.@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ apiVersion: apps/v1beta2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ kind: Deployment@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ annotations:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ imagetag: $IMAGETAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ buildtag: $TAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ replicas: 2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ selector:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ matchLabels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ template:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ containers:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - command:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - /opt/goma/bin/auth_server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - --project-id=$PROJECT_ID@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ image: gcr.io/$CONTAINER_PROJECT_ID/auth-server:$IMAGETAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ ports:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - containerPort: 5050@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - containerPort: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ resources:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ limits:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ cpu: 1500m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ memory: 1500Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ requests:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ cpu: 100m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ memory: 100Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ # following could be configured by PodPreset?@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ livenessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ readinessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_END@deploy_auth-server.yaml.custom.in@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gcloud/bin/gcloud", |
| "container", |
| "images", |
| "list-tags", |
| "gcr.io/goma-fuchsia/auth-server", |
| "--filter", |
| "tags: latest", |
| "--limit", |
| "1", |
| "--format=get(digest)" |
| ], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.generate yaml [START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.retrieve digest for gcr.io/goma-fuchsia/auth-server", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "# Copyright 2020 Google Inc. All Rights Reserved.\n apiVersion: apps/v1beta2\n kind: Deployment\n metadata:\n labels:\n app: auth-server\n annotations:\n imagetag: latest\n buildtag: 20120514_125321\n name: auth-server\n spec:\n replicas: 2\n selector:\n matchLabels:\n app: auth-server\n template:\n metadata:\n labels:\n app: auth-server\n spec:\n containers:\n - command:\n - /opt/goma/bin/auth_server\n - --project-id=goma-fuchsia\n name: auth-server\n image: gcr.io/goma-fuchsia/auth-server@\n ports:\n - containerPort: 5050\n protocol: TCP\n - containerPort: 8081\n protocol: TCP\n resources:\n limits:\n cpu: 1500m\n memory: 1500Mi\n requests:\n cpu: 100m\n memory: 100Mi\n # following could be configured by PodPreset?\n livenessProbe:\n httpGet:\n path: /healthz\n port: 8081\n scheme: HTTP\n initialDelaySeconds: 3\n periodSeconds: 5\n readinessProbe:\n httpGet:\n path: /healthz\n port: 8081\n scheme: HTTP\n initialDelaySeconds: 3\n periodSeconds: 5", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.generate yaml [START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml.write gke yaml [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_auth-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@# Copyright 2020 Google Inc. All Rights Reserved.@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ apiVersion: apps/v1beta2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ kind: Deployment@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ annotations:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ imagetag: latest@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ buildtag: 20120514_125321@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ replicas: 2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ selector:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ matchLabels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ template:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ containers:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - command:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - /opt/goma/bin/auth_server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - --project-id=goma-fuchsia@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ image: gcr.io/goma-fuchsia/auth-server@@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ ports:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - containerPort: 5050@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - containerPort: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ resources:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ limits:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ cpu: 1500m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ memory: 1500Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ requests:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ cpu: 100m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ memory: 100Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ # following could be configured by PodPreset?@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ livenessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ readinessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_END@deploy_auth-server.yaml@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.ensure directory (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_cmd-cache-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.remove [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_cmd-cache-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_cmd-cache-server.yaml", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_cmd-cache-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates.copy [START_DIR]/config/goma/k8s/rbe-dev/templates/[START_DIR]/config/goma/k8s/rbe-dev/templates/goma/deploy_cmd-cache-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia", |
| "*/*yaml*" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.glob template dir [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.custom.in@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_cmd-cache-server.yaml@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.ensure directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.generate yaml [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.custom.in", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.generate yaml [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.read input template [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.custom.in", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@# Copyright 2020 Google Inc. All Rights Reserved.@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ apiVersion: apps/v1beta2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ kind: Deployment@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ annotations:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ imagetag: $IMAGETAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ buildtag: $TAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ replicas: 2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ selector:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ matchLabels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ template:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ containers:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - command:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - /opt/goma/bin/auth_server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - --project-id=$PROJECT_ID@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ image: gcr.io/$CONTAINER_PROJECT_ID/auth-server:$IMAGETAG@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ ports:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - containerPort: 5050@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ - containerPort: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ resources:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ limits:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ cpu: 1500m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ memory: 1500Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ requests:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ cpu: 100m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ memory: 100Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ # following could be configured by PodPreset?@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ livenessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ readinessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml.custom.in@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_END@deploy_auth-server.yaml.custom.in@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gcloud/bin/gcloud", |
| "container", |
| "images", |
| "list-tags", |
| "gcr.io/goma-fuchsia/auth-server", |
| "--filter", |
| "tags: latest", |
| "--limit", |
| "1", |
| "--format=get(digest)" |
| ], |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.generate yaml [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.retrieve digest for gcr.io/goma-fuchsia/auth-server", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "# Copyright 2020 Google Inc. All Rights Reserved.\n apiVersion: apps/v1beta2\n kind: Deployment\n metadata:\n labels:\n app: auth-server\n annotations:\n imagetag: latest\n buildtag: 20120514_125321\n name: auth-server\n spec:\n replicas: 2\n selector:\n matchLabels:\n app: auth-server\n template:\n metadata:\n labels:\n app: auth-server\n spec:\n containers:\n - command:\n - /opt/goma/bin/auth_server\n - --project-id=goma-fuchsia\n name: auth-server\n image: gcr.io/goma-fuchsia/auth-server@\n ports:\n - containerPort: 5050\n protocol: TCP\n - containerPort: 8081\n protocol: TCP\n resources:\n limits:\n cpu: 1500m\n memory: 1500Mi\n requests:\n cpu: 100m\n memory: 100Mi\n # following could be configured by PodPreset?\n livenessProbe:\n httpGet:\n path: /healthz\n port: 8081\n scheme: HTTP\n initialDelaySeconds: 3\n periodSeconds: 5\n readinessProbe:\n httpGet:\n path: /healthz\n port: 8081\n scheme: HTTP\n initialDelaySeconds: 3\n periodSeconds: 5", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.generate yaml [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.custom.in from template [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml.write gke yaml [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_auth-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@# Copyright 2020 Google Inc. All Rights Reserved.@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ apiVersion: apps/v1beta2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ kind: Deployment@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ annotations:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ imagetag: latest@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ buildtag: 20120514_125321@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ replicas: 2@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ selector:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ matchLabels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ template:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ metadata:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ labels:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ app: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ spec:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ containers:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - command:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - /opt/goma/bin/auth_server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - --project-id=goma-fuchsia@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ name: auth-server@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ image: gcr.io/goma-fuchsia/auth-server@@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ ports:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - containerPort: 5050@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ - containerPort: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ protocol: TCP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ resources:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ limits:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ cpu: 1500m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ memory: 1500Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ requests:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ cpu: 100m@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ memory: 100Mi@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ # following could be configured by PodPreset?@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ livenessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ readinessProbe:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ httpGet:@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ path: /healthz@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ port: 8081@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ scheme: HTTP@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ initialDelaySeconds: 3@@@", |
| "@@@STEP_LOG_LINE@deploy_auth-server.yaml@ periodSeconds: 5@@@", |
| "@@@STEP_LOG_END@deploy_auth-server.yaml@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.ensure directory (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_cmd-cache-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.remove [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_cmd-cache-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_cmd-cache-server.yaml", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_cmd-cache-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.generate yaml from template directory [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia.copy [START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/[START_DIR]/config/goma/k8s/rbe-dev/templates-goma-fuchsia/goma/deploy_cmd-cache-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.patch yaml files", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/config/goma/k8s/rbe-dev", |
| "*/*.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.patch yaml files.glob yaml dir [START_DIR]/config/goma/k8s/rbe-dev", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/goma/deploy_exec-server.yaml@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/config/goma/k8s/rbe-dev/patches", |
| "[START_DIR]/config/goma/k8s/rbe-dev/goma/deploy_exec-server.yaml.*" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.patch yaml files.glob patch dir [START_DIR]/config/goma/k8s/rbe-dev/patches", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/config/goma/k8s/rbe-dev/patches/[START_DIR]/config/goma/k8s/rbe-dev/patches/goma/deploy_exec-server.yaml.replica.strategic@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/config/goma/k8s/rbe-dev/patches/[START_DIR]/config/goma/k8s/rbe-dev/patches/goma/deploy_exec-server.yaml.replica.strategic", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.patch yaml files.read patch [START_DIR]/config/goma/k8s/rbe-dev/patches/[START_DIR]/config/goma/k8s/rbe-dev/patches/goma/deploy_exec-server.yaml.replica.strategic", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@deploy_exec-server.yaml.replica.strategic@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.process yamls.patch yaml files.ensure kubectl", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/kubectl", |
| "-ensure-file", |
| "fuchsia/third_party/kubectl/linux-amd64 version:1.16.1-00", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.patch yaml files.ensure kubectl.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.16.1-0\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/kubectl/linux-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/kubectl/kubectl", |
| "patch", |
| "-f", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/goma/deploy_exec-server.yaml", |
| "--local=true", |
| "--type=strategic", |
| "--patch", |
| "", |
| "-o", |
| "yaml" |
| ], |
| "name": "configurate goma GCP backend.process yamls.patch yaml files.patch [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/goma/deploy_exec-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/goma/deploy_exec-server.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.process yamls.patch yaml files.write patched yaml [START_DIR]/config/goma/k8s/rbe-dev/[START_DIR]/config/goma/k8s/rbe-dev/goma/deploy_exec-server.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@deploy_exec-server.yaml@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "configurate goma GCP backend.generate memory store", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[fuchsia::yaml]/resources/parse_yaml.py", |
| "[START_DIR]/config/goma/gke-res/rbe-dev/storage.yaml" |
| ], |
| "name": "configurate goma GCP backend.generate memory store.load yaml [START_DIR]/config/goma/gke-res/rbe-dev/storage.yaml", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"region\": \"us-central\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gcloud/bin/gcloud", |
| "redis", |
| "instances", |
| "describe", |
| "rbe-dev-memorystore", |
| "--project", |
| "goma-fuchsia", |
| "--region", |
| "us-central", |
| "--format", |
| "get(host)" |
| ], |
| "name": "configurate goma GCP backend.generate memory store.retrieve host info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gcloud/bin/gcloud", |
| "redis", |
| "instances", |
| "describe", |
| "rbe-dev-memorystore", |
| "--project", |
| "goma-fuchsia", |
| "--region", |
| "us-central", |
| "--format", |
| "get(port)" |
| ], |
| "name": "configurate goma GCP backend.generate memory store.retrieve port info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "apiVersion: v1\nkind: ConfigMap\nmetadata:\n name: memorystore\ndata:\n REDISHOST: \"\"\n REDISPORT: \"\"\n", |
| "[START_DIR]/config/goma/k8s/rbe-dev/goma/configmap-memorystore.yaml" |
| ], |
| "infra_step": true, |
| "name": "configurate goma GCP backend.generate memory store.write configmap-memorystore.yaml file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@configmap-memorystore.yaml@apiVersion: v1@@@", |
| "@@@STEP_LOG_LINE@configmap-memorystore.yaml@kind: ConfigMap@@@", |
| "@@@STEP_LOG_LINE@configmap-memorystore.yaml@metadata:@@@", |
| "@@@STEP_LOG_LINE@configmap-memorystore.yaml@ name: memorystore@@@", |
| "@@@STEP_LOG_LINE@configmap-memorystore.yaml@data:@@@", |
| "@@@STEP_LOG_LINE@configmap-memorystore.yaml@ REDISHOST: \"\"@@@", |
| "@@@STEP_LOG_LINE@configmap-memorystore.yaml@ REDISPORT: \"\"@@@", |
| "@@@STEP_LOG_END@configmap-memorystore.yaml@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "--all", |
| "--intent-to-add" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git add" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git diff" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "hash-object", |
| "a diff" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git hash-object" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "-A" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git add (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "[goma] Update config for goma-fuchsia/rbe-dev:\n\nUsing gomatools tag: latest\n\nExempt-From-Owner-Approval: Roller.\n\nChange-Id: Iabc123\n" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git commit" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "HEAD^" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "diff", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@diff@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "origin", |
| "HEAD:refs/for/master" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "git push" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure gerrit" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/gerrit", |
| "-ensure-file", |
| "infra/tools/luci/gerrit/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/config", |
| "infra_step": true, |
| "name": "ensure gerrit.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gerrit/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gerrit/gerrit", |
| "set-review", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"Iabc123\", \"input\": {\"labels\": {\"Code-Review\": 2}}, \"revision_id\": \"current\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "submit to commit queue", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gerrit/gerrit", |
| "submit", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"Iabc123\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/config", |
| "name": "submit", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |