Skip to content

Commit

Permalink
create release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniusLuo committed Jun 12, 2018
1 parent a95172c commit 9e88d1d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 21 deletions.
8 changes: 4 additions & 4 deletions BUILD_RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
To build a new release, a few steps are required. This will be enhanced in the future.

1. Update FireCamp software release version
1) Change the version in Makefile from "latest" to the release version such as "0.9".
2) Chagne the version in common/types.go from "latest" to the release version such as "0.9".
3) Update the "Release" to such as "0.9" and "QSS3KeyPrefix" to "firecamp/releases/0.9" in firecamp-master.template and firecamp.template
1) Change the version in Makefile from "latest" to the release version such as "1.0".
2) Chagne the version in common/types.go from "latest" to the release version such as "1.0".
3) Update the "Release" to such as "1.0" and "QSS3KeyPrefix" to "firecamp/releases/1.0" in firecamp-master.template and firecamp.template

Update the README.md and docs/installation/README.md to the new version as well.

Check whether need to update AMI ID in firecamp-autoscalegroup.template, https://aws.amazon.com/amazon-linux-ami/

2. Upload the new files
Create the new release folder in the "cloudstax" bucket, such as firecamp/releases/0.9. Create subfolders: "templates", "scripts", "packages". Upload all templates under packages/aws-cloudformation/ to "templates", upload packages/aws-cloudformation/init.sh to "scripts", and upload $GOPATH/bin/firecamp-service-cli.tgz and $GOPATH/bin/firecamp-swarminit.tgz to "packages". The swarminit command is used by packaging/aws-cloudformation/init.sh to initialize the Docker Swarm cluster.
Create the new release folder in the "cloudstax" bucket, such as firecamp/releases/1.0. Create subfolders: "templates", "scripts", "packages". Upload all templates under packages/aws-cloudformation/ to "templates", upload packages/aws-cloudformation/init.sh to "scripts", and upload $GOPATH/bin/firecamp-service-cli.tgz and $GOPATH/bin/firecamp-swarminit.tgz to "packages". The swarminit command is used by packaging/aws-cloudformation/init.sh to initialize the Docker Swarm cluster.

Note: the default template allows '.' in the QSS3KeyPrefix. AWS QuickStart always points to the latest version, such as aws/vpc/latest for QSAWSVPCS3KeyPrefix, and '.' is not allowed in the key prefix. For the new release, when updating the AWS QuickStart git, remove '.' in the QSS3KeyPrefix and point to the latest version in QuickStart.
Also change "QSS3BucketName" from "cloudstax" to "quickstart-reference".
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
.PHONY: install docker test

org="cloudstax/"
version="latest"
catalogversion="latest"
version="1.0"
catalogversion="1.0"

all: install

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Basically, the FireCamp platform maintains the service membership and data volum
## Installation
The FireCamp cluster could be easily installed using AWS CloudFormation for AWS ECS and Docker Swarm.
1. [Create FireCamp cluster via AWS QuickStart](https://aws.amazon.com/quickstart/architecture/cloudstax-firecamp/). This will create an ECS or Docker Swarm cluster across 3 availability zones. The cluster only has the private network address and not accessible from the external internet. The Bastion node is also created and is the only node that could SSH to the cluster.
2. SSH to the Bastion node and wget firecamp cli of the installed release. For example, to get the cli of release 0.9.x, `wget https://s3.amazonaws.com/cloudstax/firecamp/releases/0.9.x/packages/firecamp-service-cli.tgz`.
2. SSH to the Bastion node and wget firecamp cli of the installed release. For example, to get the cli of release 1.0, `wget https://s3.amazonaws.com/cloudstax/firecamp/releases/1.0/packages/firecamp-service-cli.tgz`.
3. Use the firecamp cli to create the stateful service. Refer to each catalog service for the detail tutorials of the service, such as [MongoDB](https://github.com/cloudstax/firecamp/tree/master/catalog/mongodb#tutorials).

For the Installation details, please refer to [Installation](https://github.com/cloudstax/firecamp/tree/master/docs/installation).
Expand Down Expand Up @@ -88,5 +88,3 @@ If you hit an issue or bug, or want to propose some features or improvements, pl
- *Specific.* Include as much detail as possible: which version, what environment, etc.
- *Unique.* Please do not duplicate existing tickets.
- *Scoped to a Single Bug.* One bug per report.

We also welcome you to join us on [Slack](https://cloudstax.herokuapp.com) for more interactive discussion.
4 changes: 2 additions & 2 deletions api/common/types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package common

const (
Version = "latest"
CatalogVersion = "latest"
Version = "1.0"
CatalogVersion = "1.0"
Version1 = "1.0"

CloudPlatformAWS = "aws"
Expand Down
10 changes: 5 additions & 5 deletions packaging/aws-cloudformation/firecamp-master.template
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,14 @@
},
"Release": {
"Type": "String",
"Default": "latest",
"AllowedValues": [ "latest", "0.9.6", "0.9.5" ],
"Default": "1.0",
"AllowedValues": [ "1.0" ],
"Description": "The FireCamp System Services release version. For the detail release notes, please refer to https://github.com/cloudstax/firecamp/releases."
},
"CatalogRelease": {
"Type": "String",
"Default": "latest",
"AllowedValues": [ "latest" ],
"Default": "1.0",
"AllowedValues": [ "1.0" ],
"Description": "The FireCamp Catalog Service release version. For the detail release notes, please refer to https://github.com/cloudstax/firecamp/releases."
},
"QSS3BucketName": {
Expand All @@ -316,7 +316,7 @@
"AllowedPattern": "^[0-9a-zA-Z-/.]*$",
"ConstraintDescription": "CloudFormation key prefix can include numbers, lowercase letters, uppercase letters, dot (.), hyphens (-), and forward slash (/).",
"Description": "S3 key prefix for the CloudFormation assets. CloudFormation key prefix can include numbers, lowercase letters, uppercase letters, dot (.), hyphens (-), and forward slash (/).",
"Default": "firecamp/releases/latest/",
"Default": "firecamp/releases/1.0/",
"Type": "String"
},
"NodeInstanceType":{
Expand Down
10 changes: 5 additions & 5 deletions packaging/aws-cloudformation/firecamp.template
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@
},
"Release": {
"Type": "String",
"Default": "latest",
"AllowedValues": [ "latest", "0.9.6", "0.9.5" ],
"Default": "1.0",
"AllowedValues": [ "1.0" ],
"Description": "The FireCamp System Services release version. For the detail release notes, please refer to https://github.com/cloudstax/firecamp/releases."
},
"CatalogRelease": {
"Type": "String",
"Default": "latest",
"AllowedValues": [ "latest" ],
"Default": "1.0",
"AllowedValues": [ "1.0" ],
"Description": "The FireCamp Catalog Service release version. For the detail release notes, please refer to https://github.com/cloudstax/firecamp/releases."
},
"QSS3BucketName": {
Expand All @@ -190,7 +190,7 @@
"AllowedPattern": "^[0-9a-zA-Z-/.]*$",
"ConstraintDescription": "CloudFormation key prefix can include numbers, lowercase letters, uppercase letters, dot (.), hyphens (-), and forward slash (/).",
"Description": "S3 key prefix for the CloudFormation assets. CloudFormation key prefix can include numbers, lowercase letters, uppercase letters, dot (.), hyphens (-), and forward slash (/).",
"Default": "firecamp/releases/latest/",
"Default": "firecamp/releases/1.0/",
"Type": "String"
},
"NumberOfManagers":{
Expand Down

0 comments on commit 9e88d1d

Please sign in to comment.