From d06ad04341377bec6b8c905a440956b7d659d8fb Mon Sep 17 00:00:00 2001 From: Sanket Sudake Date: Mon, 21 Jun 2021 15:22:59 +0530 Subject: [PATCH] Changes for 1.13.1 release (#2087) Signed-off-by: Sanket Sudake --- .github/workflows/codeql.yaml | 4 ++++ .github/workflows/push_pr.yaml | 8 ++++++++ .github/workflows/upgrade_test.yaml | 8 ++++++++ .gitignore | 4 ---- CHANGELOG.md | 20 -------------------- charts/README.md | 4 ++-- charts/fission-all/Chart.yaml | 4 ++-- charts/fission-all/values.yaml | 4 ++-- charts/fission-core/Chart.yaml | 4 ++-- charts/fission-core/values.yaml | 4 ++-- hack/release.sh | 21 ++++++++++----------- 11 files changed, 40 insertions(+), 45 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 03a3b45f..5a6ea3ee 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -4,9 +4,13 @@ on: push: branches: - master + paths: + - '**.go' pull_request: branches: - master + paths: + - '**.go' schedule: - cron: "0 0 * * 0" workflow_dispatch: diff --git a/.github/workflows/push_pr.yaml b/.github/workflows/push_pr.yaml index 6b766ed5..7c68066f 100644 --- a/.github/workflows/push_pr.yaml +++ b/.github/workflows/push_pr.yaml @@ -4,9 +4,17 @@ on: push: branches: - master + paths: + - '**.go' + - 'charts/**' + - 'test/**' pull_request: branches: - master + paths: + - '**.go' + - 'charts/**' + - 'test/**' workflow_dispatch: jobs: diff --git a/.github/workflows/upgrade_test.yaml b/.github/workflows/upgrade_test.yaml index 00ee77ff..85974e1c 100644 --- a/.github/workflows/upgrade_test.yaml +++ b/.github/workflows/upgrade_test.yaml @@ -4,9 +4,17 @@ on: push: branches: - master + paths: + - '**.go' + - 'charts/**' + - 'test/**' pull_request: branches: - master + paths: + - '**.go' + - 'charts/**' + - 'test/**' workflow_dispatch: jobs: diff --git a/.gitignore b/.gitignore index b20a1b33..b3ff8c20 100644 --- a/.gitignore +++ b/.gitignore @@ -29,9 +29,5 @@ environments/php7/vendor/ .DS_Store vendor/ local/ -environments/dotnet20/Builder/.vs/ -environments/dotnet20/.vs/ -environments/dotnet20/obj/ -environments/dotnet20/bin/ build/ diff --git a/CHANGELOG.md b/CHANGELOG.md index e67eac99..bda04a6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,3 @@ -# 1.13.0 -[Documentation](https://docs.fission.io/) -## Downloads for 1.13.0 - -filename | sha256 hash --------- | ----------- -[fission-1.13.0-darwin-amd64](https://github.com/fission/fission/releases/download/1.13.0/fission-1.13.0-darwin-amd64) | `47d47196e15455a60ec15b80141f3de7435bb524e4a9b373f059cb89e63e68ff` -[fission-1.13.0-windows-amd64.exe](https://github.com/fission/fission/releases/download/1.13.0/fission-1.13.0-windows-amd64.exe) | `755d5b0316a11f2357cf1880ba10daa2309a3906201d5d89e2a66311c888f2e0` -[fission-1.13.0-linux-amd64](https://github.com/fission/fission/releases/download/1.13.0/fission-1.13.0-linux-amd64) | `641fd6f8bb7508d1a88209cd1111decde91ad33a20066b2951d4eb3df0fed083` -[fission-1.13.0-linux-arm](https://github.com/fission/fission/releases/download/1.13.0/fission-1.13.0-linux-arm) | `dcebedcec612b7850a0780662b1d8d7597bbdd53ad6cda1db6458b51e04aa809` -[fission-1.13.0-linux-arm64](https://github.com/fission/fission/releases/download/1.13.0/fission-1.13.0-linux-arm64) | `faa8a3b23e88bc6867051ada7c1f272270f2a231e1f1b2d2d97c57ebd47b632a` -[fission-all-1.13.0.tgz](https://github.com/fission/fission/releases/download/1.13.0/fission-all-1.13.0.tgz) | `b1faaa96e4d71cff5bce960c185f7dc423b3251430734d1d65034991bb0b736d` -[fission-core-1.13.0.tgz](https://github.com/fission/fission/releases/download/1.13.0/fission-core-1.13.0.tgz) | `191ef5d320e3bd8a5c0877b187ebb0189c91c4dfd15f2131de2319bd61c51d8c` -[fission-all-1.13.0-minikube.yaml](https://github.com/fission/fission/releases/download/1.13.0/fission-all-1.13.0-minikube.yaml) | `7019cd21d8994ef659c03c2167412a7063c897c7d7acbdabcb9ba4d8ddd20bcd` -[fission-all-1.13.0.yaml](https://github.com/fission/fission/releases/download/1.13.0/fission-all-1.13.0.yaml) | `d21686dbbf7540876dcbc19e6f0bf3b6948f6e0169350d5ee9d4a25f75bfc00b` -[fission-all-1.13.0-openshift.yaml](https://github.com/fission/fission/releases/download/1.13.0/fission-all-1.13.0-openshift.yaml) | `8f53c7e1c8c582bc1d7c1ba548ba38d386b4b1c71c6d28fd79e6fada7cbcc72e` -[fission-core-1.13.0-minikube.yaml](https://github.com/fission/fission/releases/download/1.13.0/fission-core-1.13.0-minikube.yaml) | `3191e7ee5de1b7eaef647a4ff6b4a94035ab7759e4fe3f19411f42683695e97f` -[fission-core-1.13.0.yaml](https://github.com/fission/fission/releases/download/1.13.0/fission-core-1.13.0.yaml) | `075ebe033fa3d9c4519f1d650153e3a5346892a12e03fdf6594e66cf2cf80a40` -[fission-core-1.13.0-openshift.yaml](https://github.com/fission/fission/releases/download/1.13.0/fission-core-1.13.0-openshift.yaml) | `c42add1ec77444f31e7d0e30fd086f10dd00c345c6340c5748767668effecfe6` - # Changelog ## [v1.13.0](https://github.com/fission/fission/tree/v1.13.0) (2021-06-16) diff --git a/charts/README.md b/charts/README.md index 41db4199..5e7d2adf 100644 --- a/charts/README.md +++ b/charts/README.md @@ -43,10 +43,10 @@ Parameter | Description | Default `routerServiceType` | Type of Fission Router service to use. For minikube, set this to NodePort, elsewhere use LoadBalancer or ClusterIP. | `LoadBalancer` `repository` | Image base repository | `index.docker.io` `image` | Fission image repository | `fission/fission-bundle` -`imageTag` | Fission image tag | `1.13.0` +`imageTag` | Fission image tag | `1.13.1` `pullPolicy` | Image pull policy | `IfNotPresent` `fetcher.image` | Fission fetcher repository | `fission/fetcher` -`fetcher.imageTag` | Fission fetcher image tag | `1.13.0` +`fetcher.imageTag` | Fission fetcher image tag | `1.13.1` `controllerPort` | Fission Controller service port | `31313` `routerPort` | Fission Router service port | ` 31314` `functionNamespace` | Namespace in which to run fission functions (this is different from the release namespace) | `fission-function` diff --git a/charts/fission-all/Chart.yaml b/charts/fission-all/Chart.yaml index 4ccf0e58..f702e1a3 100644 --- a/charts/fission-all/Chart.yaml +++ b/charts/fission-all/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: fission-all -version: 1.13.0 +version: 1.13.1 description: Fission is a fast serverless framework for Kubernetes. keywords: - fission @@ -12,7 +12,7 @@ maintainers: - name: Sanket Sudake email: sanket@infracloud.io engine: gotpl -appVersion: 1.13.0 +appVersion: 1.13.1 type: application dependencies: - name: prometheus diff --git a/charts/fission-all/values.yaml b/charts/fission-all/values.yaml index dea3b0c2..f83367ba 100644 --- a/charts/fission-all/values.yaml +++ b/charts/fission-all/values.yaml @@ -20,7 +20,7 @@ image: fission/fission-bundle pullPolicy: IfNotPresent ## Fission image version -imageTag: 1.13.0 +imageTag: 1.13.1 ## Port at which Fission controller service should be exposed controllerPort: 31313 @@ -50,7 +50,7 @@ fetcher: ## Fetcher repository image: fission/fetcher ## Fetcher image version - imageTag: 1.13.0 + imageTag: 1.13.1 ## Fetcher is only for to downloading or uploading archive. ## Normally, you don't need to change the value here, unless necessary. diff --git a/charts/fission-core/Chart.yaml b/charts/fission-core/Chart.yaml index 52e5d123..8d24fc42 100644 --- a/charts/fission-core/Chart.yaml +++ b/charts/fission-core/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: fission-core -version: 1.13.0 +version: 1.13.1 description: Fission is a fast serverless framework for Kubernetes. keywords: - fission @@ -12,7 +12,7 @@ maintainers: - name: Sanket Sudake email: sanket@infracloud.io engine: gotpl -appVersion: 1.13.0 +appVersion: 1.13.1 type: application dependencies: - name: prometheus diff --git a/charts/fission-core/values.yaml b/charts/fission-core/values.yaml index 664fb541..0aa94f5c 100644 --- a/charts/fission-core/values.yaml +++ b/charts/fission-core/values.yaml @@ -17,7 +17,7 @@ repository: index.docker.io image: fission/fission-bundle ## Fission image version -imageTag: 1.13.0 +imageTag: 1.13.1 ## Image pull policy pullPolicy: IfNotPresent @@ -43,7 +43,7 @@ fetcher: ## Fetcher repository image: fission/fetcher ## Fetcher image version - imageTag: 1.13.0 + imageTag: 1.13.1 ## Fetcher is only for to downloading or uploading archive. ## Normally, you don't need to change the value here, unless necessary. diff --git a/hack/release.sh b/hack/release.sh index ea479452..a739290c 100755 --- a/hack/release.sh +++ b/hack/release.sh @@ -78,7 +78,9 @@ update_github_charts_repo() { gh_release() { local version=$1 - doit gh release create "$version" --draft --prerelease --title "$version" --notes-file $(realpath "${DIR}"/hack/notes.md) --target "$gitcommit" "${artifacts[@]}" + cp "${DIR}"/hack/notes.md relnotes.md + create_downloads_table ${version} >> relnotes.md + doit gh release create "$version" --draft --prerelease --title "$version" --notes-file $(realpath "${DIR}"/relnotes.md) --target "$gitcommit" "${artifacts[@]}" } generate_changelog() { @@ -89,8 +91,6 @@ generate_changelog() { echo "[Documentation](https://docs.fission.io/)" >>new_CHANGELOG.md echo - create_downloads_table ${version} >>new_CHANGELOG.md - # generate changelog from github github_changelog_generator -u fission -p fission -t "${GITHUB_TOKEN}" --future-release "${version}" --no-issues -o tmp_CHANGELOG.md sed -i '$ d' tmp_CHANGELOG.md @@ -106,7 +106,9 @@ create_downloads_table() { local release_tag=$1 local url_prefix="https://github.com/fission/fission/releases/download" - echo "## Downloads for ${version}" + echo + echo + echo "#### Downloads for ${version}" echo echo @@ -136,11 +138,6 @@ release_environment_check() { echo "Error finding chart repo at $chartsrepo" exit 1 fi - - if [ ! -d "$FISSION_HOME" ]; then - echo "The FISSION_HOME variable should be set to directory where Fission and fission-charts are checked out" - exit 1 - fi } build_charts() { @@ -280,7 +277,6 @@ fi check_commands release_environment_check "$version" "$chartsrepo" build_all "$version" "$date" "$gitcommit" -build_images "$version" "$date" "$gitcommit" build_charts "$version" build_yamls "$version" @@ -288,9 +284,12 @@ attach_github_release_cli "$version" attach_github_release_charts "$version" attach_github_release_yamls "$version" update_github_charts_repo "$version" "$chartsrepo" -generate_changelog "$version" gh_release "$version" +generate_changelog "$version" + +build_images "$version" "$date" "$gitcommit" + echo "############ DONE #############" echo "Congratulation, ${version} is ready to ship !!" echo "Run ./hack/release-tag.sh and publish release."