Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wenovus committed Aug 1, 2023
1 parent e5ce68c commit 293774e
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ steps:
git clone git@github.com:openconfig/models-ci.git /go/src/github.com/openconfig/models-ci
cd /go/src/github.com/openconfig/models-ci
# Modify the major version to update models-ci version.
branch=$(git tag -l 'v10.*' | sort -V | tail -1)
#branch=$(git tag -l 'v10.*' | sort -V | tail -1)
branch=fail-at-generator-pull
git checkout $branch
volumes:
- name: 'ssh'
Expand Down Expand Up @@ -213,16 +214,6 @@ steps:
id: 'oc-pyang'

############### GOYANG/YGOT ###############
- name: 'golang'
entrypoint: 'go'
args: ['install', 'github.com/openconfig/ygot/generator@latest']
volumes:
- name: 'gopath'
path: /go
env:
- 'GOPATH=/go'
waitFor: ['go path creation']
id: 'goyang-ygot prep'
- name: 'us-west1-docker.pkg.dev/$PROJECT_ID/models-ci/models-ci-image'
entrypoint: 'bash'
args: ['-c', "/go/src/github.com/openconfig/models-ci/validators/goyang-ygot/test.sh"]
Expand All @@ -237,7 +228,7 @@ steps:
- 'COMMIT_SHA=$COMMIT_SHA'
- '_REPO_SLUG=$_REPO_SLUG'
- 'BRANCH_NAME=$BRANCH_NAME'
waitFor: ['validator prep', 'goyang-ygot prep', 'oc-pyang']
waitFor: ['validator prep', 'go path creation', 'oc-pyang']
id: 'goyang-ygot'

############### PYANG ###############
Expand Down

0 comments on commit 293774e

Please sign in to comment.