Skip to content

Commit

Permalink
Clone Agones for release targets (#3119)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvi84 committed Apr 25, 2023
1 parent b22ec70 commit 1f8387d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build/release/post_cloudbuild.yaml
Expand Up @@ -13,6 +13,17 @@
# limitations under the License.

steps:
#
# Shallow clone of Agones/main branch from the main repository
#
- name: "gcr.io/cloud-builders/git"
dir: "/workspace"
args:
- "clone"
- "--depth=1"
- "--branch=main"
- "https://github.com/googleforgames/agones.git"

#
# Restore any caches
#
Expand Down
11 changes: 11 additions & 0 deletions build/release/pre_cloudbuild.yaml
Expand Up @@ -13,6 +13,17 @@
# limitations under the License.

steps:
#
# Shallow clone of Agones/main branch from the main repository
#
- name: "gcr.io/cloud-builders/git"
dir: "/workspace"
args:
- "clone"
- "--depth=1"
- "--branch=main"
- "https://github.com/googleforgames/agones.git"

#
# Creates the initial make + docker build platform
#
Expand Down

0 comments on commit 1f8387d

Please sign in to comment.