Skip to content

Commit cf0a4f8

Browse files
authored
fix(docs): configure docs container to update (googleapis#9356)
1 parent 36a5b72 commit cf0a4f8

2 files changed

Lines changed: 5 additions & 50 deletions

File tree

.kokoro/docs/common.cfg

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,23 @@ action {
77
}
88
}
99

10-
# Download trampoline resources.
11-
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
10+
# Path to Dockerfile relative to the SCM root
11+
dockerfile_path: ".kokoro/docs/docker/Dockerfile"
1212

13-
# Use the trampoline script to run in docker.
14-
build_file: "google-cloud-php/.kokoro/trampoline.sh"
15-
16-
# Configure the docker image for kokoro-trampoline.
17-
env_vars: {
18-
key: "TRAMPOLINE_IMAGE"
19-
value: "gcr.io/cloud-devrel-kokoro-resources/google-cloud-php-docs"
20-
}
21-
env_vars: {
22-
key: "TRAMPOLINE_BUILD_FILE"
23-
value: "github/google-cloud-php/.kokoro/docs/publish.sh"
13+
container_artifact {
14+
destination: "gcr.io/cloud-devrel-kokoro-resources/google-cloud-php-docs:latest"
2415
}
2516

2617
env_vars: {
2718
key: "STAGING_BUCKET"
2819
value: "docs-staging-v2"
2920
}
3021

31-
# It will upload the docker image after successful builds.
32-
env_vars: {
33-
key: "TRAMPOLINE_IMAGE_UPLOAD"
34-
value: "true"
35-
}
36-
37-
# It will always build the docker image.
38-
env_vars: {
39-
key: "TRAMPOLINE_DOCKERFILE"
40-
value: ".kokoro/docs/docker/Dockerfile"
41-
}
42-
4322
before_action {
4423
fetch_keystore {
4524
keystore_resource {
4625
keystore_config_id: 73713
4726
keyname: "docuploader_service_account"
4827
}
4928
}
50-
}
29+
}

.kokoro/trampoline.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)