-
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.
Update release process to align with new project structure (#1637)
Signed-off-by: Ruben Vargas <[email protected]>
- Loading branch information
1 parent
4401d84
commit e0c53a5
Showing
7 changed files
with
58 additions
and
50 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
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
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,26 +1,39 @@ | ||
name: "Release" | ||
|
||
name: "Prepare the release" | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
unit-tests: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
|
||
- uses: actions/[email protected] | ||
- uses: jpkrohling/[email protected] | ||
|
||
- name: "install kubebuilder" | ||
run: ./hack/install-kubebuilder.sh | ||
|
||
- name: "install kustomize" | ||
run: ./hack/install-kustomize.sh | ||
|
||
- uses: jpkrohling/[email protected] | ||
with: | ||
operator-sdk-version: v0.18.2 | ||
- uses: docker/[email protected] | ||
- uses: docker/[email protected] | ||
- name: "perform the release" | ||
operator-sdk-version: v1.13.1 | ||
|
||
- name: "generate release resources" | ||
run: make release-artifacts USER=jaegertracing | ||
|
||
- name: "create the release in GitHub" | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
run: ./.ci/create-release-github.sh | ||
|
||
- name: "publishes the images" | ||
env: | ||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | ||
|
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 |
---|---|---|
|
@@ -317,6 +317,10 @@ deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in | |
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. | ||
$(KUSTOMIZE) build config/default | kubectl delete -f - | ||
|
||
.PHONY: operatorhub | ||
operatorhub: check-operatorhub-pr-template | ||
$(VECHO)./.ci/operatorhub.sh | ||
|
||
.PHONY: check-operatorhub-pr-template | ||
check-operatorhub-pr-template: | ||
$(VECHO)curl https://raw.githubusercontent.com/operator-framework/community-operators/master/docs/pull_request_template.md -o .ci/.operatorhub-pr-template.md -s > /dev/null 2>&1 | ||
|
@@ -598,6 +602,13 @@ install-git-hooks: | |
set-test-image-vars: | ||
$(eval IMG=local/jaeger-operator:e2e) | ||
|
||
|
||
# Generates the released manifests | ||
release-artifacts: set-image-controller | ||
mkdir -p dist | ||
$(KUSTOMIZE) build config/default -o dist/jaeger-operator.yaml | ||
|
||
|
||
kuttl: | ||
ifeq (, $(shell which kubectl-kuttl)) | ||
echo ${PATH} | ||
|
@@ -644,3 +655,7 @@ install-tools: | |
golang.org/x/tools/cmd/goimports \ | ||
github.com/securego/gosec/cmd/[email protected] \ | ||
./.ci/install-gomplate.sh | ||
|
||
.PHONY: prepare-release | ||
prepare-release: | ||
$(VECHO)./.ci/prepare-release.sh |
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 |
---|---|---|
|
@@ -401,7 +401,14 @@ spec: | |
links: | ||
- name: Jaeger Operator Source Code | ||
url: https://github.com/jaegertracing/jaeger-operator | ||
maintainers: | ||
- email: [email protected] | ||
name: Jaeger Google Group | ||
maturity: alpha | ||
provider: | ||
name: CNCF | ||
replaces: jaeger-operator.v1.27.0 | ||
selector: | ||
matchLabels: | ||
name: jaeger-operator | ||
version: 1.28.0 |
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 |
---|---|---|
|
@@ -79,7 +79,14 @@ spec: | |
links: | ||
- name: Jaeger Operator Source Code | ||
url: https://github.com/jaegertracing/jaeger-operator | ||
maintainers: | ||
- email: [email protected] | ||
name: Jaeger Google Group | ||
maturity: alpha | ||
provider: | ||
name: CNCF | ||
replaces: jaeger-operator.v1.27.0 | ||
selector: | ||
matchLabels: | ||
name: jaeger-operator | ||
version: 0.0.0 |