-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into multi-options
- Loading branch information
Showing
49 changed files
with
10,742 additions
and
9,554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo curl -Lo /usr/local/bin/kubectl-kuttl https://github.com/kudobuilder/kuttl/releases/download/v0.7.2/kubectl-kuttl_0.7.2_linux_x86_64 | ||
sudo curl -Lo /usr/local/bin/kubectl-kuttl https://github.com/kudobuilder/kuttl/releases/download/v0.10.0/kubectl-kuttl_0.10.0_linux_x86_64 | ||
sudo chmod +x /usr/local/bin/kubectl-kuttl | ||
export PATH=$PATH:/usr/local/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.14.4' | ||
go-version: 1.16 | ||
- uses: actions/[email protected] | ||
- uses: jpkrohling/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,28 +8,28 @@ on: | |
|
||
jobs: | ||
end-to-end: | ||
runs-on: ubuntu-16.04 | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
TEST_GROUP: [smoke, es, cassandra, streaming, examples1, examples2, generate, upgrade, istio] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.14.4' | ||
- uses: jpkrohling/[email protected] | ||
go-version: 1.16 | ||
- uses: actions/[email protected] | ||
- name: "setup docker" | ||
run: ./.ci/setup-docker.sh | ||
- uses: manusa/[email protected] | ||
with: | ||
minikube-version: v1.5.2 | ||
minikube version: 'v1.20.0' | ||
kubernetes version: 'v1.19.1' | ||
driver: none | ||
github token: ${{ secrets.GITHUB_TOKEN }} | ||
start args: '--addons=ingress --wait=all' | ||
- uses: jpkrohling/[email protected] | ||
- uses: jpkrohling/[email protected] | ||
with: | ||
operator-sdk-version: v0.18.2 | ||
- uses: actions/[email protected] | ||
|
||
- name: "setup docker" | ||
run: ./.ci/setup-docker.sh | ||
|
||
- name: "start minikube" | ||
run: ./.ci/start-minikube.sh | ||
|
||
- name: "install go tools" | ||
run: make install-tools | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.14.4' | ||
go-version: 1.16 | ||
- uses: actions/[email protected] | ||
- uses: jpkrohling/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,9 @@ UNIT_TEST_PACKAGES := $(shell go list ./cmd/... ./pkg/... | grep -v elasticsearc | |
|
||
TEST_OPTIONS = $(VERBOSE) -kubeconfig $(KUBERNETES_CONFIG) -namespacedMan ../../deploy/test/namespace-manifests.yaml -globalMan ../../deploy/test/global-manifests.yaml -root . | ||
|
||
KUBE_VERSION ?= 1.21 | ||
KIND_CONFIG ?= kind-$(KUBE_VERSION).yaml | ||
|
||
.DEFAULT_GOAL := build | ||
|
||
.PHONY: check | ||
|
@@ -393,7 +396,7 @@ install-tools: | |
golang.org/x/lint/golint \ | ||
golang.org/x/tools/cmd/goimports \ | ||
github.com/securego/gosec/cmd/[email protected] \ | ||
sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0 \ | ||
sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0 \ | ||
k8s.io/code-generator/cmd/[email protected] \ | ||
k8s.io/kube-openapi/cmd/[email protected] | ||
|
||
|
@@ -419,7 +422,7 @@ check-operatorhub-pr-template: | |
.PHONY: local-jaeger-container | ||
local-jaeger-container: | ||
@echo "Starting local container with Jaeger. Check http://localhost:16686" | ||
@docker run -d --rm -p 16686:16686 -p 6831:6831/udp --name jaeger jaegertracing/all-in-one:1.15 > /dev/null | ||
@docker run -d --rm -p 16686:16686 -p 6831:6831/udp --name jaeger jaegertracing/all-in-one:1.22 > /dev/null | ||
|
||
.PHONY: changelog | ||
changelog: | ||
|
@@ -488,12 +491,18 @@ prepare-e2e-kuttl-tests: build docker build-assert-job | |
|
||
# end-to-tests | ||
.PHONY: kuttl-e2e | ||
kuttl-e2e: prepare-e2e-kuttl-tests run-kuttl-e2e | ||
kuttl-e2e: prepare-e2e-kuttl-tests start-kind run-kuttl-e2e | ||
|
||
.PHONY: run-kuttl-e2e | ||
run-kuttl-e2e: | ||
$(KUTTL) test | ||
|
||
start-kind: | ||
kind create cluster --config $(KIND_CONFIG) | ||
kind load docker-image local/jaeger-operator:e2e | ||
kind load docker-image local/asserts:e2e | ||
kind load docker-image jaegertracing/vertx-create-span:operator-e2e-tests | ||
|
||
.PHONY: build-assert-job | ||
build-assert-job: | ||
@docker build -t local/asserts:e2e -f Dockerfile.asserts . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,15 @@ | |
1. Commit version change and changelog and create a pull request: | ||
``` | ||
git commit -sm "Preparing release v1.22.1" | ||
git commit -sm "Preparing release v1.23.0" | ||
``` | ||
1. Tag and push | ||
``` | ||
git checkout master ## it's only possible to release from master for now! | ||
git tag release/v1.22.1 | ||
git push [email protected]:jaegertracing/jaeger-operator.git release/v1.22.1 | ||
git tag release/v1.23.0 | ||
git push [email protected]:jaegertracing/jaeger-operator.git release/v1.23.0 | ||
``` | ||
1. Wait until release CI job finishes and then pull the changes: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.