-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #999 from XudongLiuHarold/add-cloud-build-for-vsph…
…ere-cpi Add gcp cloud build configuration for vsphere cloud provider
- Loading branch information
Showing
3 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Ignore the build output. | ||
/.build | ||
|
||
# Ignore tooling binaries. | ||
/hack/tools/bin | ||
|
||
# Ignore vendor at the root of the project. Please note that | ||
# /vendor/bitbucket.org/ww/goautoneg is versioned forcefully in order to | ||
# bypass a build issue. | ||
/vendor | ||
|
||
*.json | ||
*.sublime-project | ||
*.sublime-workspace | ||
*.swp | ||
.idea | ||
|
||
|
||
# OSX leaves these everywhere on SMB shares | ||
._* | ||
|
||
# OSX trash | ||
.DS_Store | ||
|
||
# Eclipse files | ||
.classpath | ||
.project | ||
.settings/** | ||
|
||
# Files generated by JetBrains IDEs, e.g. IntelliJ IDEA | ||
.idea/ | ||
*.iml | ||
|
||
# Vscode files | ||
.vscode | ||
|
||
# irrelated file for building image | ||
/charts | ||
/docs | ||
/manifests | ||
/releases | ||
/scripts | ||
/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# See https://cloud.google.com/cloud-build/docs/build-config | ||
# See https://console.cloud.google.com/gcr/images/k8s-staging-test-infra/global/gcb-docker-gcloud | ||
timeout: 2700s | ||
options: | ||
substitution_option: ALLOW_LOOSE | ||
machineType: 'E2_HIGHCPU_8' | ||
steps: | ||
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20240210-29014a6e3a' | ||
entrypoint: make | ||
env: | ||
- DOCKER_CLI_EXPERIMENTAL=enabled | ||
- TAG=$_GIT_TAG | ||
- PULL_BASE_REF=$_PULL_BASE_REF | ||
- DOCKER_BUILDKIT=1 | ||
args: | ||
- release-staging | ||
substitutions: | ||
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and | ||
# can be used as a substitution | ||
_GIT_TAG: '12345' | ||
_PULL_BASE_REF: 'dev' |