-
Notifications
You must be signed in to change notification settings - Fork 161
76 lines (74 loc) · 3 KB
/
buildpack-integration-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Validates Functions Framework with GCF buildpacks.
name: Buildpack Integration Test
on:
push:
branches:
- main
pull_request:
# Runs every day on 12:00 AM PST
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
# Declare default permissions as read only.
permissions: read-all
jobs:
nodejs10:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main
with:
http-builder-source: 'test/conformance'
http-builder-target: 'writeHttpDeclarative'
cloudevent-builder-source: 'test/conformance'
cloudevent-builder-target: 'writeCloudEventDeclarative'
prerun: 'test/conformance/prerun.sh'
builder-runtime: 'nodejs10'
builder-runtime-version: '10'
nodejs12:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main
with:
http-builder-source: 'test/conformance'
http-builder-target: 'writeHttpDeclarative'
cloudevent-builder-source: 'test/conformance'
cloudevent-builder-target: 'writeCloudEventDeclarative'
prerun: 'test/conformance/prerun.sh'
builder-runtime: 'nodejs12'
builder-runtime-version: '12'
nodejs14:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main
with:
http-builder-source: 'test/conformance'
http-builder-target: 'writeHttpDeclarative'
cloudevent-builder-source: 'test/conformance'
cloudevent-builder-target: 'writeCloudEventDeclarative'
prerun: 'test/conformance/prerun.sh'
builder-runtime: 'nodejs14'
builder-runtime-version: '14'
nodejs16:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main
with:
http-builder-source: 'test/conformance'
http-builder-target: 'writeHttpDeclarative'
cloudevent-builder-source: 'test/conformance'
cloudevent-builder-target: 'writeCloudEventDeclarative'
prerun: 'test/conformance/prerun.sh'
builder-runtime: 'nodejs16'
builder-runtime-version: '16'
nodejs18:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main
with:
http-builder-source: 'test/conformance'
http-builder-target: 'writeHttpDeclarative'
cloudevent-builder-source: 'test/conformance'
cloudevent-builder-target: 'writeCloudEventDeclarative'
prerun: 'test/conformance/prerun.sh'
builder-runtime: 'nodejs18'
builder-runtime-version: '18'
nodejs20:
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main
with:
http-builder-source: 'test/conformance'
http-builder-target: 'writeHttpDeclarative'
cloudevent-builder-source: 'test/conformance'
cloudevent-builder-target: 'writeCloudEventDeclarative'
prerun: 'test/conformance/prerun.sh'
builder-runtime: 'nodejs20'
builder-runtime-version: '20'