-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from CloudBoost/staging
Staging
- Loading branch information
Showing
7 changed files
with
136 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
machine: | ||
node: | ||
version: 7.4.0 | ||
services: | ||
- docker | ||
environment: | ||
CLOUDSDK_CORE_DISABLE_PROMPTS: 1 | ||
dependencies: | ||
override: | ||
- sudo apt-get update | ||
- sudo apt-get install curl libc6 libcurl3 zlib1g | ||
- npm install | ||
post: | ||
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | ||
- chmod +x ./kubectl | ||
- sudo mv ./kubectl /usr/local/bin/kubectl | ||
test: | ||
pre: | ||
- docker build -t cloudboost/tutorial:3.0.$CIRCLE_BUILD_NUM . | ||
override: | ||
- echo "NO TESTS REQUIRED FOR tutorial-UI" | ||
deployment: | ||
staging: | ||
branch: staging | ||
commands: | ||
- docker build -t cloudboost/tutorial:staging . | ||
- docker login --username $DOCKERUSERNAME --password $DOCKERPASSWORD --email $DOCKEREMAIL | ||
- docker push cloudboost/tutorial:3.0.$CIRCLE_BUILD_NUM | ||
- docker push cloudboost/tutorial:staging | ||
- git clone https://github.com/CloudBoost/kube-cred.git | ||
- cd kube-cred && openssl enc -in config.enc -out config -d -aes256 -k $KUBE_ENC | ||
- mkdir ~/.kube | ||
- cd kube-cred && mv config ~/.kube/ | ||
- kubectl rolling-update cloudboost-tutorial-staging --image=cloudboost/tutorial:staging --image-pull-policy=Always | ||
- curl -X DELETE "https://api.cloudflare.com/client/v4/zones/"$cloudflare_zone"/purge_cache" -H "X-Auth-Email:[email protected]" -H "X-Auth-Key:"$cloud_flare_key -H "Content-Type:application/json" --data "{'purge_everything':true}" | ||
production: | ||
branch: master | ||
commands: | ||
- docker build -t cloudboost/tutorial:latest . | ||
- docker login --username $DOCKERUSERNAME --password $DOCKERPASSWORD --email $DOCKEREMAIL | ||
- docker push cloudboost/tutorial:3.0.$CIRCLE_BUILD_NUM | ||
- docker push cloudboost/tutorial:latest | ||
- git clone https://github.com/CloudBoost/kube-cred.git | ||
- cd kube-cred && openssl enc -in config.enc -out config -d -aes256 -k $KUBE_ENC | ||
- mkdir ~/.kube | ||
- cd kube-cred && mv config ~/.kube/ | ||
- kubectl rolling-update cloudboost-tutorial --image=cloudboost/tutorial:latest --image-pull-policy=Always | ||
- curl -X DELETE "https://api.cloudflare.com/client/v4/zones/"$cloudflare_zone"/purge_cache" -H "X-Auth-Email:[email protected]" -H "X-Auth-Key:"$cloud_flare_key -H "Content-Type:application/json" --data "{'purge_everything':true}" |
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 |
---|---|---|
|
@@ -4529,5 +4529,4 @@ body.skin-3 { | |
|
||
.settings_img{ | ||
height: 415px; | ||
} | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<title>CloudBoost</title> | ||
|
||
<meta charset="utf-8"> | ||
<link rel="shortcut icon" href="img/icon.png"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="CloudBoost is one complete Database Solution for your apps which does data-storage, search and realtime, graphs, time-series and much more."> | ||
<meta name="keywords" content="database service,database as a service, hybrid database, cloudboost, search, realtime, storage, app storage, nosql"> | ||
|
||
<!--Common head links--> | ||
<% include ./partials/commonHeadLinks %> | ||
|
||
|
||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div id="wrapper"> | ||
|
||
<div id="page-wrapper" class="white-bg" style="background: #2f4050;"> | ||
<!--Header Nav--> | ||
<% include ./partials/header %> | ||
<!--Header Nav--> | ||
<div style="margin-top: 15%;color: white;padding-left: 10%;padding-bottom:10%"> | ||
<h3 style=" font-family: 'Signika', sans-serif;font-size: 50px;">404</h3> | ||
<h4>Sorry but the page you're looking for does not exist.</h4> | ||
<div style="margin-top:3%"> | ||
<a href="/" style="background: #549afc;padding: 16px 24px;border-radius: 20px;color: white;font-weight: 600;">Go back to getting started</a> | ||
<a href="mailto:[email protected]" style="background: #549afc;padding: 16px 24px;border-radius: 20px;color: white;font-weight: 600;">Report a problem</a> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
|
||
<!--Scripts--> | ||
<% include ./partials/commonScripts %> | ||
|
||
</body> | ||
|
||
</html> |