Skip to content

Commit

Permalink
Configure GOPATH for custom configs (#452)
Browse files Browse the repository at this point in the history
This is to prevent errors like this:
go: github.com/openshift-knative/hack/cmd/sobranch@latest: mkdir
/go/pkg/mod/cache/download/github.com/openshift-knative: permission
denied
  • Loading branch information
mgencur authored Nov 26, 2024
1 parent d5a4f1f commit 771b7ea
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions config/serverless-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ repositories:
cluster_profile: aws
test:
- as: operator-e2e
commands: FORCE_KONFLUX_INDEX=true make test-e2e-with-kafka
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-e2e-with-kafka
from: serverless-source-image
resources:
limits:
Expand All @@ -74,7 +74,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-serving-eventing-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-no-upgrade
from: serverless-source-image
resources:
limits:
Expand All @@ -83,7 +83,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-eventing-kafka-broker-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-kafka-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-kafka-no-upgrade
from: serverless-source-image
resources:
limits:
Expand All @@ -106,7 +106,7 @@ repositories:
cluster_profile: azure4
test:
- as: operator-e2e
commands: FORCE_KONFLUX_INDEX=true make test-e2e-with-kafka
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-e2e-with-kafka
from: serverless-source-image
resources:
limits:
Expand All @@ -115,7 +115,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-serving-eventing-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-no-upgrade
from: serverless-source-image
resources:
limits:
Expand All @@ -124,7 +124,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-eventing-kafka-broker-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-kafka-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-kafka-no-upgrade
from: serverless-source-image
resources:
limits:
Expand All @@ -147,7 +147,7 @@ repositories:
cluster_profile: gcp
test:
- as: operator-e2e
commands: FORCE_KONFLUX_INDEX=true make test-e2e-with-kafka
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-e2e-with-kafka
from: serverless-source-image
resources:
limits:
Expand All @@ -156,7 +156,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-serving-eventing-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-no-upgrade
from: serverless-source-image
resources:
limits:
Expand All @@ -165,7 +165,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-eventing-kafka-broker-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-kafka-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-kafka-no-upgrade
from: serverless-source-image
resources:
limits:
Expand Down Expand Up @@ -207,7 +207,7 @@ repositories:
HYPERSHIFT_NODE_COUNT: "6"
test:
- as: operator-e2e
commands: FORCE_KONFLUX_INDEX=true USER_MANAGEMENT_ALLOWED=false make
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin USER_MANAGEMENT_ALLOWED=false make
test-e2e-with-kafka
from: serverless-source-image
resources:
Expand All @@ -217,7 +217,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-serving-eventing-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-no-upgrade
from: serverless-source-image
resources:
limits:
Expand All @@ -226,7 +226,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-eventing-kafka-broker-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-kafka-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-kafka-no-upgrade
from: serverless-source-image
resources:
limits:
Expand Down Expand Up @@ -264,7 +264,7 @@ repositories:
- ref: osd-create-create
test:
- as: operator-e2e
commands: FORCE_KONFLUX_INDEX=true make test-e2e-with-kafka
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-e2e-with-kafka
from: serverless-source-image
resources:
limits:
Expand All @@ -273,7 +273,7 @@ repositories:
cpu: 100m
memory: 200Mi
- as: knative-serving-eventing-e2e
commands: FORCE_KONFLUX_INDEX=true make test-upstream-e2e-no-upgrade
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-upstream-e2e-no-upgrade
from: serverless-source-image
resources:
limits:
Expand All @@ -295,7 +295,7 @@ repositories:
cluster_profile: gcp
test:
- as: operator-e2e
commands: FORCE_KONFLUX_INDEX=true HA=false make test-e2e-with-kafka-no-tracing
commands: FORCE_KONFLUX_INDEX=true HA=false GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-e2e-with-kafka-no-tracing
from: serverless-source-image
resources:
limits:
Expand Down Expand Up @@ -323,7 +323,7 @@ repositories:
cluster_profile: vsphere-elastic
test:
- as: operator-e2e
commands: FORCE_KONFLUX_INDEX=true HA=false make test-e2e-with-kafka
commands: FORCE_KONFLUX_INDEX=true HA=false GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin make test-e2e-with-kafka
from: serverless-source-image
resources:
limits:
Expand Down

0 comments on commit 771b7ea

Please sign in to comment.