forked from knative/serving
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcb_e2e.yaml
43 lines (42 loc) · 1.28 KB
/
cb_e2e.yaml
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
timeout: 3600s
logsBucket: 'gs://adrcunha-flex-test-cb'
steps:
- name: 'gcr.io/knative-tests/test-infra/prow-tests:stable'
id: 'setup'
entrypoint: 'bash'
args:
- '-c'
- |
set -ex
# Hacky. There must be a better way.
export GOPATH=/workspace/go
mkdir -p $$GOPATH/src/knative.dev
cd $$GOPATH/src/knative.dev
git clone -b $BRANCH_NAME https://github.com/adrcunha/$REPO_NAME serving
cd serving
git checkout $COMMIT_SHA
# kubetest from source is broken due to changes in aws-k8s-tester
# can't get from prow-tests because it's in /workspace
which kubetest || echo "no kubetest in path"
ls -la /workspace
mkdir -p $$GOPATH/bin
cp /workspace/kubetest $$GOPATH/bin/kubetest
- name: 'gcr.io/knative-tests/test-infra/prow-tests:stable'
id: 'e2e'
waitFor: ['setup']
entrypoint: 'bash'
args:
- '-c'
- |
set -ex
export GOPATH=/workspace/go
# hack for making the script happy, shouldn't be required
export PULL_BASE_REF=bogus_base_ref
# dont set PROW_JOB_ID, we don't have Boskos
export BUILD_NUMBER=4321
#
gcloud auth list
which kubetest || echo "no kubetest in path"
export PROJECT_ID=knative-boskos-staging-02
cd $$GOPATH/src/knative.dev/serving
./test/presubmit-tests.sh --integration-tests