Skip to content

Commit de024c2

Browse files
authored
fix: switch back to public us.gcr.io builder images (#104)
* fix: switch back to public us.gcr.io builder images gcr.io is private and can't be accessed by GitHub runners. This means buildpack integration test Workflow callers will need to continue specifying a builder tag from the us.gcr.io buckets instead of using latest.
1 parent 7a73634 commit de024c2

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,15 @@ jobs:
2929
- name: Verify generation
3030
run: "./check_go_generate.sh"
3131

32+
- name: Build client
33+
run: $(cd client && go build -o ../cl) && chmod +x cl
34+
3235
- name: Run conformance tests
33-
uses: ./action
34-
with:
35-
functionType: 'http'
36-
validateMapping: false
37-
source: 'testdata'
38-
target: 'HTTP'
39-
runtime: 'go113'
40-
tag: 'go113_20201005_20_RC00'
36+
run: |
37+
./cl \
38+
-type='http' \
39+
-validate-mapping=false \
40+
-builder-source='testdata' \
41+
-builder-target='HTTP' \
42+
-builder-runtime='go113' \
43+
-builder-tag='go113_20220501_1_13_15_RC00'

cl

25.1 MB
Binary file not shown.

client/buildpacks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030

3131
const (
3232
image = "conformance-test-func"
33-
builderURL = "gcr.io/fn-img/buildpacks/%s/builder:%s"
33+
builderURL = "us.gcr.io/fn-img/buildpacks/%s/builder:%s"
3434
gcfTargetPlatform = "gcf"
3535
)
3636

function_output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"res":"PASS"}

0 commit comments

Comments
 (0)