Skip to content

Commit

Permalink
Create cloudbuild.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
4DvAnCeBoY authored Oct 12, 2021
1 parent 5744d91 commit c6028f5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
steps:
- name: gcr.io/cloud-builders/docker
args: ['run' , '-d', '--name=lt', '--network=cloudbuild', 'lambdatest/tunnel', '--user', '${_LT_USERNAME}', '--key', '${_LT_ACCESS_KEY}', '--tunnelName', 'GCloud', '--infoAPIPort', '15000','--load-balanced']
- name: curlimages/curl
args: ['-s', '--retry-connrefused', '--connect-timeout', '5', '--max-time', '5', '--retry', '30', '--retry-delay', '2', '--retry-max-time', '60', 'http://lt:15000/api/v1.0/info']
- name: 'ubuntu'
args: ['sleep', '20']
- name: 'bash'
args: ['ls']
- name: 'maven'
entrypoint: 'mvn'
args: ['test', '-P', 'local']
env:
- 'LT_USERNAME=${_LT_USERNAME}'
- 'LT_ACCESS_KEY=${_LT_ACCESS_KEY}'

0 comments on commit c6028f5

Please sign in to comment.