Skip to content

Commit

Permalink
initial commit (#1545)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadregoti committed Mar 25, 2021
1 parent 7f4a8fa commit a892de2
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 16 deletions.
4 changes: 2 additions & 2 deletions gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.15.3-alpine3.12
WORKDIR /build

# Take the current space cloud version as a argument
ARG SC_VERSION=0.21.1
ARG SC_VERSION=0.21.2

# Copy all the source files
COPY . .
Expand All @@ -16,7 +16,7 @@ RUN GOOS=linux CGO_ENABLED=0 go build -a -ldflags '-s -w -extldflags "-static"'
RUN echo $SC_VERSION && wget https://storage.googleapis.com/space-cloud/mission-control/mission-control-v$SC_VERSION.zip && unzip mission-control-v$SC_VERSION.zip

FROM alpine:3.12
ARG SC_VERSION=0.21.1
ARG SC_VERSION=0.21.2

RUN apk --no-cache add ca-certificates

Expand Down
2 changes: 1 addition & 1 deletion gateway/utils/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

// BuildVersion is the current version of Space Cloud
const BuildVersion = "0.21.1"
const BuildVersion = "0.21.2"

// DLQEventTriggerPrefix used as suffix for DLQ event trigger
const DLQEventTriggerPrefix = "dlq_"
Expand Down
2 changes: 1 addition & 1 deletion install-manifests/docker/mongo/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.9"
services:
gateway:
image: "spaceuptech/gateway:0.21.1"
image: "spaceuptech/gateway:0.21.2"
pull_policy: "if_not_present" # other values never, if_not_present
restart: "always" # other values no, on-failure
environment:
Expand Down
2 changes: 1 addition & 1 deletion install-manifests/docker/mysql/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
gateway:
image: "spaceuptech/gateway:0.21.1"
image: "spaceuptech/gateway:0.21.2"
pull_policy: "if_not_present" # other values never, if_not_present
restart: "always" # other values no, on-failure
environment:
Expand Down
2 changes: 1 addition & 1 deletion install-manifests/docker/postgres/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
gateway:
image: "spaceuptech/gateway:0.21.1"
image: "spaceuptech/gateway:0.21.2"
pull_policy: "if_not_present" # other values never, if_not_present
restart: "always" # other values no, on-failure
environment:
Expand Down
2 changes: 1 addition & 1 deletion install-manifests/docker/sql-server/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
gateway:
image: "spaceuptech/gateway:0.21.1"
image: "spaceuptech/gateway:0.21.2"
pull_policy: "if_not_present" # other values never, if_not_present
restart: "always" # other values no, on-failure
environment:
Expand Down
17 changes: 16 additions & 1 deletion install-manifests/helm/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,21 @@ entries:
- https://storage.googleapis.com/space-cloud/helm/postgres/postgres-0.1.0.tgz
version: 0.1.0
space-cloud:
- apiVersion: v3
appVersion: 0.21.2
created: "2021-03-23T14:50:26.9208374+05:30"
description: Helm Chart to install Space Cloud
digest: 566cbbd7cb3bdbb5080ef048171a8087bab9036b26ae9b3a1016fb8fea6b4511
home: https://spaceuptech.com/
keywords:
- baaS
name: space-cloud
sources:
- https://github.com/spaceuptech/space-cloud/tree/master/install-manifests/helm/space-cloud
type: application
urls:
- space-cloud-0.21.2.tgz
version: 0.21.2
- apiVersion: v3
appVersion: 0.21.1
created: "2021-03-15T18:22:43.8366512+05:30"
Expand Down Expand Up @@ -118,4 +133,4 @@ entries:
urls:
- https://storage.googleapis.com/space-cloud/helm/sqlserver/sqlserver-0.1.0.tgz
version: 0.1.0
generated: "2021-03-15T18:22:43.8289356+05:30"
generated: "2021-03-23T14:50:26.9022297+05:30"
4 changes: 2 additions & 2 deletions install-manifests/helm/space-cloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v3
name: space-cloud
version: 0.21.1 # Chart version
appVersion: 0.21.1 # Space Cloud version
version: 0.21.2 # Chart version
appVersion: 0.21.2 # Space Cloud version
description: Helm Chart to install Space Cloud
type: application
keywords:
Expand Down
2 changes: 1 addition & 1 deletion install-manifests/kubernetes/04-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ spec:
containers:
- name: runner
command: ["./app", "start"]
image: spaceuptech/runner:0.21.1
image: spaceuptech/runner:0.21.2
imagePullPolicy: IfNotPresent # IfNotPresent | Always
env:
- name: "LOG_LEVEL"
Expand Down
2 changes: 1 addition & 1 deletion install-manifests/kubernetes/05-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ spec:
containers:
- name: gateway
command: [ "./app", "run" ]
image: spaceuptech/gateway:0.21.1
image: spaceuptech/gateway:0.21.2
imagePullPolicy: IfNotPresent # IfNotPresent | Always
livenessProbe:
exec:
Expand Down
2 changes: 1 addition & 1 deletion runner/model/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package model

// Version represents the current runner version
const Version string = "0.21.1"
const Version string = "0.21.2"
2 changes: 1 addition & 1 deletion space-cli/cmd/model/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ const (
)

// Version version of space cli
const Version string = "0.21.1"
const Version string = "0.21.2"
4 changes: 2 additions & 2 deletions space-cli/cmd/utils/versioning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ func TestGetChartDownloadURL(t *testing.T) {
name: "Right URL and version",
args: args{
url: model.HelmSpaceCloudChartDownloadURL,
version: "0.21.1",
version: "0.21.2",
},
want: "https://storage.googleapis.com/space-cloud/helm/space-cloud/space-cloud-0.21.1.tgz",
want: "https://storage.googleapis.com/space-cloud/helm/space-cloud/space-cloud-0.21.2.tgz",
},
}
for _, tt := range tests {
Expand Down

0 comments on commit a892de2

Please sign in to comment.