File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
+ pull_request :
7
8
workflow_dispatch :
9
+ # Runs every day on 12:00 AM PST
10
+ schedule :
11
+ - cron : " 0 0 * * *"
8
12
9
13
# Declare default permissions as read only.
10
14
permissions : read-all
19
23
cloudevent-builder-target : ' com.google.cloud.functions.conformance.CloudEventsConformanceFunction'
20
24
prerun : ' invoker/conformance/prerun.sh'
21
25
builder-runtime : ' java11'
26
+ builder-runtime-version : ' 11'
27
+ builder-url : gcr.io/gae-runtimes/buildpacks/google-gae-22/java/builder:latest
22
28
java17-buildpack-test :
23
29
uses : GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main
24
30
with :
27
33
cloudevent-builder-source : ' /tmp/tests/conformance'
28
34
cloudevent-builder-target : ' com.google.cloud.functions.conformance.CloudEventsConformanceFunction'
29
35
prerun : ' invoker/conformance/prerun.sh'
30
- builder-runtime : ' java17'
36
+ builder-runtime : ' java17'
37
+ builder-runtime-version : ' 17'
38
+ builder-url : gcr.io/gae-runtimes/buildpacks/google-gae-22/java/builder:latest
Original file line number Diff line number Diff line change 14
14
# - Copy the conformance tests folder into temp
15
15
# - Build java-function-invoker with version 0.0.0-SNAPSHOT into artifacts
16
16
# folder
17
- # - Build functions-framework-api with version 0.0.0-SNAPSHOT into artifacts
17
+ # - Build functions-framework-api with version 0.0.0-SNAPSHOT into artifacts
18
18
# folder
19
19
# - Ensure that we use the buildpack_pom.xml file by renaming it to pom.xml
20
20
21
-
22
21
set -e
23
22
REPO_ROOT=$( git rev-parse --show-toplevel)
24
23
@@ -36,7 +35,7 @@ function get_mvn_version() {
36
35
}
37
36
38
37
# Must first install a local version of the API package
39
- cd $REPO_ROOT /functions-framework-api
38
+ cd $REPO_ROOT /functions-framework-api
40
39
mvn install -Dmaven.repo.local=/tmp/tests/conformance/artifacts
41
40
FRAMEWORK_API_VERSION=$( get_mvn_version)
42
41
@@ -50,3 +49,5 @@ mv /tmp/tests/conformance/buildpack_pom.xml /tmp/tests/conformance/pom.xml
50
49
51
50
sed -i " s/FRAMEWORK-API-VERSION/${FRAMEWORK_API_VERSION} /g" /tmp/tests/conformance/pom.xml
52
51
sed -i " s/INVOKER-VERSION/${INVOKER_VERSION} /g" /tmp/tests/conformance/pom.xml
52
+
53
+ cat /tmp/tests/conformance/pom.xml
You can’t perform that action at this time.
0 commit comments