Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
f321bc49
Unverified
Commit
f321bc49
authored
4 years ago
by
Frederic Branczyk
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #671 from paulfantom/tests
tests: allow easy test paralelization
parents
e85046ad
d5e3c294
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+1
-0
1 addition, 0 deletions
.travis.yml
tests/e2e/travis-e2e.sh
+4
-2
4 additions, 2 deletions
tests/e2e/travis-e2e.sh
with
5 additions
and
2 deletions
.travis.yml
+
1
−
0
View file @
f321bc49
...
...
@@ -19,3 +19,4 @@ jobs:
script
:
make --always-make test
-
name
:
Run e2e tests
script
:
./tests/e2e/travis-e2e.sh
env
:
K8S_VERSION=1.19.0
This diff is collapsed.
Click to expand it.
tests/e2e/travis-e2e.sh
+
4
−
2
View file @
f321bc49
...
...
@@ -8,12 +8,14 @@ set -u
# print each command before executing it
set
-x
K8S_VERSION
=
"
${
K8S_VERSION
:-
"1.19.1"
}
"
curl
-LO
https://storage.googleapis.com/kubernetes-release/release/
$(
curl
-s
https://storage.googleapis.com/kubernetes-release/release/stable.txt
)
/bin/linux/amd64/kubectl
chmod
+x kubectl
curl
-Lo
kind https://github.com/kubernetes-sigs/kind/releases/download/v0.
7
.0/kind-linux-amd64
curl
-Lo
kind https://github.com/kubernetes-sigs/kind/releases/download/v0.
9
.0/kind-linux-amd64
chmod
+x kind
./kind create cluster
--image
=
kindest/node:v
1.19.0
./kind create cluster
--image
=
"
kindest/node:v
${
K8S_VERSION
}
"
# the default kube config location used by kind
export
KUBECONFIG
=
"
${
HOME
}
/.kube/config"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment