8000 Create cloudbuild.yaml · LambdaTest/java-testng-selenium@c6028f5 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit c6028f5

Browse files
authored
Create cloudbuild.yaml
1 parent 5744d91 commit c6028f5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

cloudbuild.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
steps:
2+
- name: gcr.io/cloud-builders/docker
3+
args: ['run' , '-d', '--name=lt', '--network=cloudbuild', 'lambdatest/tunnel', '--user', '${_LT_USERNAME}', '--key', '${_LT_ACCESS_KEY}', '--tunnelName', 'GCloud', '--infoAPIPort', '15000','--load-balanced']
4+
- name: curlimages/curl
5+
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']
6+
- name: 'ubuntu'
7+
args: ['sleep', '20']
8+
- name: 'bash'
9+
args: ['ls']
10+
- name: 'maven'
11+
entrypoint: 'mvn'
12+
args: ['test', '-P', 'local']
13+
env:
14+
- 'LT_USERNAME=${_LT_USERNAME}'
15+
- 'LT_ACCESS_KEY=${_LT_ACCESS_KEY}'

0 commit comments

Comments
 (0)
0