Buildpack Integration Test #604
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Validates Functions Framework with GCF buildpacks. | |
name: Buildpack Integration Test | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
pull_request: | |
# Runs every day on 12:00 AM PST | |
schedule: | |
- cron: "0 0 * * *" | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
go113-buildpack-test: | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main | |
with: | |
http-builder-source: 'testdata/conformance/function' | |
http-builder-target: 'declarativeHTTP' | |
cloudevent-builder-source: 'testdata/conformance/function' | |
cloudevent-builder-target: 'declarativeCloudEvent' | |
prerun: ${{format('testdata/conformance/prerun.sh {0} testdata/conformance/function', github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha )}} | |
builder-runtime: 'go113' | |
builder-runtime-version: '1.13' | |
builder-url: gcr.io/gae-runtimes/buildpacks/google-gae-22/go/builder:latest | |
go116-buildpack-test: | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main | |
with: | |
http-builder-source: 'testdata/conformance/function' | |
http-builder-target: 'declarativeHTTP' | |
cloudevent-builder-source: 'testdata/conformance/function' | |
cloudevent-builder-target: 'declarativeCloudEvent' | |
prerun: ${{format('testdata/conformance/prerun.sh {0} testdata/conformance/function', github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha )}} | |
builder-runtime: 'go116' | |
builder-runtime-version: '1.16' | |
builder-url: gcr.io/gae-runtimes/buildpacks/google-gae-22/go/builder:latest | |
non-declarative-buildpack-test: | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main | |
with: | |
http-builder-source: 'testdata/conformance/nondeclarative' | |
http-builder-target: 'HTTP' | |
cloudevent-builder-source: 'testdata/conformance/nondeclarative' | |
cloudevent-builder-target: 'CloudEvent' | |
prerun: ${{format('testdata/conformance/prerun.sh {0} testdata/conformance/nondeclarative', github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha )}} | |
builder-runtime: 'go116' | |
builder-runtime-version: '1.16' | |
builder-url: gcr.io/gae-runtimes/buildpacks/google-gae-22/go/builder:latest |