Set version to 0.2.1-rc in CLI, API and helm charts

This commit is contained in:
Soam Vasani
2017-09-08 20:48:00 -07:00
parent 12fce0baa5
commit 04eef11fce
8 changed files with 17 additions and 27 deletions
+1 -3
View File
@@ -1,14 +1,12 @@
apiVersion: v1
name: fission-all
version: v0.2.0-20170822
version: 0.2.1-rc
description: Fission is a fast serverless framework for Kubernetes.
keywords:
- fission
- serverless
home: http://fission.io/
maintainers:
- name: Sanket Sudake
email: sanketsudake@gmail.com
- name: Soam Vasani
email: soamvasani@platform9.com
- name: Ta Ching Chen
+3 -5
View File
@@ -1,17 +1,15 @@
1. Install the client CLI.
Mac:
$ curl -Lo fission https://github.com/fission/fission/releases/download/nightly20170705/fission-cli-osx && chmod +x fission && sudo mv fission /usr/local/bin/
$ curl -Lo fission https://github.com/fission/fission/releases/download/v0.2.1-rc/fission-cli-osx && chmod +x fission && sudo mv fission /usr/local/bin/
Linux:
$ curl -Lo fission https://github.com/fission/fission/releases/download/nightly20170705/fission-cli-linux && chmod +x fission && sudo mv fission /usr/local/bin/
$ curl -Lo fission https://github.com/fission/fission/releases/download/v0.2.1-rc/fission-cli-linux && chmod +x fission && sudo mv fission /usr/local/bin/
Windows:
For Windows, you can use the linux binary on WSL. Or you can download this windows executable: https://github.com/fission/fission/releases/download/nightly20170705/fission-cli-windows.exe
For Windows, you can use the linux binary on WSL. Or you can download this windows executable: https://github.com/fission/fission/releases/download/v0.2.1-rc/fission-cli-windows.exe
2. Set the FISSION_URL and FISSION_ROUTER environment variables.
FISSION_URL is used by the fission CLI to find the server.
FISSION_URL should be prefixed with a http://. (FISSION_ROUTER is only needed for the examples below to work.)
{{- if contains "NodePort" .Values.serviceType }}
$ export FISSION_URL=http://$(minikube ip):{{ .Values.controllerPort }}
+2 -5
View File
@@ -13,13 +13,13 @@ image: fission/fission-bundle
pullPolicy: IfNotPresent
## Fission image version
imageTag: v0.2.0-20170822
imageTag: v0.2.1-rc
## Fission fetcher repository
fetcherImage: fission/fetcher
## Fission fetcher image version
fetcherImageTag: v0.2.0-20170822
fetcherImageTag: v0.2.1-rc
## Port at which Fission controller service should be exposed
controllerPort: 31313
@@ -42,9 +42,6 @@ logger:
influxdbAdmin: "admin"
fluentdImage: fission/fluentd
## Fission ui config
fissionUiImage: fission/fission-ui:0.1.0
## Message queue trigger config
### NATS Streaming
nats:
+1 -3
View File
@@ -1,14 +1,12 @@
apiVersion: v1
name: fission-core
version: v0.2.0-20170822
version: 0.2.1-rc
description: Fission is a fast serverless framework for Kubernetes.
keywords:
- fission
- serverless
home: http://fission.io/
maintainers:
- name: Sanket Sudake
email: sanketsudake@gmail.com
- name: Soam Vasani
email: soamvasani@platform9.com
- name: Ta Ching Chen
+3 -5
View File
@@ -1,17 +1,15 @@
1. Install the client CLI.
Mac:
$ curl -Lo fission https://github.com/fission/fission/releases/download/nightly20170705/fission-cli-osx && chmod +x fission && sudo mv fission /usr/local/bin/
$ curl -Lo fission https://github.com/fission/fission/releases/download/v0.2.1-rc/fission-cli-osx && chmod +x fission && sudo mv fission /usr/local/bin/
Linux:
$ curl -Lo fission https://github.com/fission/fission/releases/download/nightly20170705/fission-cli-linux && chmod +x fission && sudo mv fission /usr/local/bin/
$ curl -Lo fission https://github.com/fission/fission/releases/download/v0.2.1-rc/fission-cli-linux && chmod +x fission && sudo mv fission /usr/local/bin/
Windows:
For Windows, you can use the linux binary on WSL. Or you can download this windows executable: https://github.com/fission/fission/releases/download/nightly20170705/fission-cli-windows.exe
For Windows, you can use the linux binary on WSL. Or you can download this windows executable: https://github.com/fission/fission/releases/download/v0.2.1-rc/fission-cli-windows.exe
2. Set the FISSION_URL and FISSION_ROUTER environment variables.
FISSION_URL is used by the fission CLI to find the server.
FISSION_URL should be prefixed with a http://. (FISSION_ROUTER is only needed for the examples below to work.)
{{- if contains "NodePort" .Values.serviceType }}
$ export FISSION_URL=http://$(minikube ip):{{ .Values.controllerPort }}
+4 -4
View File
@@ -7,19 +7,19 @@
serviceType: LoadBalancer
## Fission image repository
image: minikube/fission-bundle
image: fission/fission-bundle
## Fission image version
imageTag: testing
imageTag: v0.2.1-rc
## Image pull policy
pullPolicy: IfNotPresent
## Fission fetcher repository
fetcherImage: minikube/fetcher
fetcherImage: fission/fetcher
## Fission fetcher image version
fetcherImageTag: testing
fetcherImageTag: v0.2.1-rc
## Port at which Fission controller service should be exposed
controllerPort: 31313
+2 -2
View File
@@ -102,11 +102,11 @@ func (api *API) getLogDBConfig(dbType string) logDBConfig {
func (api *API) HomeHandler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=utf-8")
fmt.Fprintf(w, "{\"message\": \"Fission API\", \"version\": \"0.1.0\"}\n")
fmt.Fprintf(w, "{\"message\": \"Fission API\", \"version\": \"0.2.1-rc\"}\n")
}
func (api *API) ApiVersionMismatchHandler(w http.ResponseWriter, r *http.Request) {
err := fission.MakeError(fission.ErrorNotFound, "Fission server supports API v2 only - v1 is not supported. Please upgrade your Fission client / CLI")
err := fission.MakeError(fission.ErrorNotFound, "Fission server supports API v2 only -- v1 is not supported. Please upgrade your Fission client/CLI.")
api.respondWithError(w, err)
}
+1
View File
@@ -26,6 +26,7 @@ func main() {
app := cli.NewApp()
app.Name = "fission"
app.Usage = "Serverless functions for Kubernetes"
app.Version = "0.2.1-rc"
app.Flags = []cli.Flag{
cli.StringFlag{Name: "server", Usage: "Fission server URL", EnvVar: "FISSION_URL"},