Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
505d12a9
Commit
505d12a9
authored
Nov 27, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17869 from mesosphere/sttts-conformance-clone
Auto commit by PR queue bot
parents
fc927e87
2302caf9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
run-with-cluster.sh
contrib/mesos/ci/run-with-cluster.sh
+1
-1
test-conformance.sh
contrib/mesos/ci/test-conformance.sh
+6
-12
No files found.
contrib/mesos/ci/run-with-cluster.sh
View file @
505d12a9
...
...
@@ -81,6 +81,6 @@ exec docker run \
trap 'timeout 5m ./cluster/kube-down.sh' EXIT &&
\
./cluster/kube-down.sh &&
\
./cluster/kube-up.sh &&
\
trap
'test
\$
? != 0 && export MESOS_DOCKER_DUMP_LOGS=true; timeout 5m ./cluster/kube-down.sh'
EXIT &&
\
trap
\"
test
\\\$
? != 0 && export MESOS_DOCKER_DUMP_LOGS=true; cd
\$
{PWD} && timeout 5m ./cluster/kube-down.sh
\"
EXIT &&
\
${
RUN_CMD
}
"
contrib/mesos/ci/test-conformance.sh
View file @
505d12a9
...
...
@@ -31,19 +31,13 @@ TEST_ARGS="$@"
KUBE_ROOT
=
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../../.."
&&
pwd
)
TEST_CMD
=
"KUBECONFIG=~/.kube/config hack/conformance-test.sh"
if
[
-n
"
${
CONFORMANCE_BRANCH
}
"
]
;
then
# checkout CONFORMANCE_BRANCH, but leave the contrib/mesos/ci directory
# untouched.
# create a CONFORMANCE_BRANCH clone in a subdirectory
TEST_CMD
=
"
git fetch https://github.com/kubernetes/kubernetes
${
CONFORMANCE_BRANCH
}
&&
git checkout FETCH_HEAD -- . ':(exclude)contrib/mesos/ci/**' &&
git reset FETCH_HEAD &&
git clean -d -f -- . ':(exclude)contrib/mesos/ci/**' &&
git status &&
make all &&
"
else
TEST_CMD
=
""
git fetch https://github.com/kubernetes/kubernetes --tags -q
${
CONFORMANCE_BRANCH
}
&&
git clone -s -b
${
CONFORMANCE_BRANCH
}
. conformance &&
cd conformance && make all &&
${
TEST_CMD
}
"
fi
TEST_CMD+
=
"KUBECONFIG=~/.kube/config hack/conformance-test.sh"
"
${
KUBE_ROOT
}
/contrib/mesos/ci/run-with-cluster.sh"
${
TEST_CMD
}
${
TEST_ARGS
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment