File tree Expand file tree Collapse file tree 4 files changed +13
-10
lines changed
optional-container-engine/test Expand file tree Collapse file tree 4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 15
15
16
16
const path = require ( `path` ) ;
17
17
const projectId = process . env . GCLOUD_PROJECT ;
18
- const test = `6-pubsub` ;
18
+ const test = `6-pubsub-worker` ;
19
+ const port = 8091 ;
19
20
20
21
module . exports = {
21
22
test : test ,
22
- url : `http://localhost:8081 ` ,
23
+ url : `http://localhost:${ port } ` ,
23
24
demoUrl : `http://${ test } -dot-worker-dot-${ projectId } .appspot-preview.com` ,
24
25
yaml : `worker.yaml` ,
25
26
cwd : path . resolve ( path . join ( __dirname , `../` ) ) ,
26
27
cmd : `node` ,
27
28
args : [ `worker.js` ] ,
28
29
msg : `This worker has processed` ,
30
+ port : port ,
29
31
env : {
30
- PORT : 8081 ,
31
32
SUBSCRIPTION_NAME : `shared-worker-subscription-${ test } ` ,
32
33
TOPIC_NAME : `book-process-queue-${ test } `
33
34
}
Original file line number Diff line number Diff line change 15
15
16
16
const path = require ( `path` ) ;
17
17
const projectId = process . env . GCLOUD_PROJECT ;
18
- const test = `7-gce` ;
18
+ const test = `7-gce-worker` ;
19
+ const port = 8092 ;
19
20
20
21
module . exports = {
21
22
test : test ,
22
- url : `http://localhost:8081 ` ,
23
+ url : `http://localhost:${ port } ` ,
23
24
demoUrl : `http://${ test } -dot-worker-dot-${ projectId } .appspot-preview.com` ,
24
25
yaml : `worker.yaml` ,
25
26
cwd : path . resolve ( path . join ( __dirname , `../` ) ) ,
26
27
cmd : `node` ,
27
28
args : [ `worker.js` ] ,
28
29
msg : `This worker has processed` ,
30
+ port : port ,
29
31
env : {
30
- PORT : 8081 ,
31
32
SUBSCRIPTION_NAME : `shared-worker-subscription-${ test } ` ,
32
33
TOPIC_NAME : `book-process-queue-${ test } `
33
34
}
Original file line number Diff line number Diff line change 14
14
'use strict' ;
15
15
16
16
const path = require ( `path` ) ;
17
- const test = `7-gce ` ;
17
+ const test = `optional-container-engine ` ;
18
18
19
19
module . exports = {
20
20
test : test ,
Original file line number Diff line number Diff line change 15
15
16
16
const path = require ( `path` ) ;
17
17
const projectId = process . env . GCLOUD_PROJECT ;
18
- const test = `7-gce` ;
18
+ const test = `optional-container-engine-worker` ;
19
+ const port = 8093 ;
19
20
20
21
module . exports = {
21
22
test : test ,
22
- url : `http://localhost:8081 ` ,
23
+ url : `http://localhost:${ port } ` ,
23
24
demoUrl : `http://${ test } -dot-worker-dot-${ projectId } .appspot-preview.com` ,
24
25
yaml : `worker.yaml` ,
25
26
cwd : path . resolve ( path . join ( __dirname , `../` ) ) ,
26
27
cmd : `node` ,
27
28
args : [ `worker.js` ] ,
28
29
msg : `This worker has processed` ,
30
+ port : port ,
29
31
env : {
30
- PORT : 8081 ,
31
32
SUBSCRIPTION_NAME : `shared-worker-subscription-${ test } ` ,
32
33
TOPIC_NAME : `book-process-queue-${ test } `
33
34
}
You can’t perform that action at this time.
0 commit comments