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
c1e71373
Unverified
Commit
c1e71373
authored
Jan 20, 2020
by
Erik Wilson
Committed by
GitHub
Jan 20, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1327 from erikwilson/disable-publish-tests
Disable db tests on publish
parents
3b133389
c110f17d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
Dockerfile.test.dapper
Dockerfile.test.dapper
+1
-1
test
scripts/test
+7
-2
No files found.
Dockerfile.test.dapper
View file @
c1e71373
...
@@ -19,7 +19,7 @@ RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/$( \
...
@@ -19,7 +19,7 @@ RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/$( \
ENV TEST_CLEANUP true
ENV TEST_CLEANUP true
ENV DAPPER_RUN_ARGS --privileged --network host
ENV DAPPER_RUN_ARGS --privileged --network host
ENV DAPPER_ENV REPO TAG DRONE_TAG IMAGE_NAME GCLOUD_AUTH
ENV DAPPER_ENV REPO TAG DRONE_TAG
DRONE_SYSTEM_HOST
IMAGE_NAME GCLOUD_AUTH
ENV DAPPER_SOURCE /go/src/github.com/rancher/k3s/
ENV DAPPER_SOURCE /go/src/github.com/rancher/k3s/
ENV DAPPER_OUTPUT ./dist
ENV DAPPER_OUTPUT ./dist
ENV DAPPER_DOCKER_SOCKET true
ENV DAPPER_DOCKER_SOCKET true
...
...
scripts/test
View file @
c1e71373
...
@@ -17,9 +17,14 @@ E2E_OUTPUT=$artifacts test-run-sonobuoy
...
@@ -17,9 +17,14 @@ E2E_OUTPUT=$artifacts test-run-sonobuoy
# ---
# ---
if
[[
"
$DRONE_SYSTEM_HOST
"
=
~
'publish'
]]
;
then
printf
"
\0
33[33mSkipping remaining tests on publish.
\0
33[m
\n
"
exit
0
fi
if
[
"
$ARCH
"
!=
'amd64'
]
;
then
if
[
"
$ARCH
"
!=
'amd64'
]
;
then
printf
"
\0
33[33mSkipping remaining tests, images not available for
$ARCH
.
\0
33[m
\n
"
printf
"
\0
33[33mSkipping remaining tests, images not available for
$ARCH
.
\0
33[m
\n
"
exit
0
exit
0
fi
fi
# ---
# ---
...
...
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