diff --git a/.bluemix/deploy.json b/.bluemix/deploy.json new file mode 100644 index 00000000..38ec23e5 --- /dev/null +++ b/.bluemix/deploy.json @@ -0,0 +1,78 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Hello World Deploy Stage", + "description": "hello-world simple toolchain", + "longDescription": "The Delivery Pipeline for Devops Services allows you to automate your continuous deployment setup hello-world.", + "type": "object", + "properties": { + "prod-region": { + "description": "The bluemix region", + "type": "string" + }, + "prod-organization": { + "description": "The bluemix org", + "type": "string" + }, + "prod-space": { + "description": "The bluemix space", + "type": "string" + }, + "hello-world-name": { + "description": "hello world app name", + "type": "string" + } + }, + "required": ["prod-region", "prod-organization", "prod-space", "hello-world-name"], + "form": [ + { + "type": "validator", + "url": "/develop/setup/bm-helper/helper.html" + }, + { + "type": "text", + "readonly": false, + "title": "Hello World App Name", + "key": "hello-world-name" + }, + { + "type": "table", + "columnCount": 4, + "widths": ["15%", "28%", "28%", "28%"], + "items": [ + { + "type": "label", + "title": "" + }, + { + "type": "label", + "title": "Region" + }, + { + "type": "label", + "title": "Organization" + }, + { + "type": "label", + "title": "Space" + }, + { + "type": "label", + "title": "Prod Stage" + }, + { + "type": "select", + "key": "prod-region" + }, + { + "type": "select", + "key": "prod-organization" + }, + { + "type": "select", + "key": "prod-space", + "readonly": false + } + ] + } + ] +} diff --git a/.bluemix/github.json b/.bluemix/github.json new file mode 100644 index 00000000..ed2e67ba --- /dev/null +++ b/.bluemix/github.json @@ -0,0 +1,53 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Hello-world Deploy Stage", + "description": "GitHub Schema hello-world", + "longDescription": "The GitHub Service allows you to create or use an existing GitHub repository to store your source code.", + "type": "object", + "properties": { + "hello-world-repo_name": { + "type": "string" + }, + "hello-world-repo_url": { + "type": "string" + } + }, + "required": ["hello-world-repo_name", "hello-world-repo_url"], + "form": [ + { + "type": "validator", + "url": "/develop/setup/bm-helper/custom_github_helper.html" + }, + { + "type": "table", + "columnCount": 3, + "widths": ["47%", "6%", "47%"], + "items": [ + { + "type": "label", + "title": "Source Repository" + }, + { + "type": "label", + "title": "" + }, + { + "type": "label", + "title": "Target Repository" + }, + { + "type": "text", + "key": "hello-world-repo_url" + }, + { + "type": "icon", + "iconType": "right_arrow" + }, + { + "type": "text", + "key": "hello-world-repo_name" + } + ] + } + ] +} diff --git a/.bluemix/hello-world.pipeline.yml b/.bluemix/hello-world.pipeline.yml new file mode 100644 index 00000000..ad1eb8ad --- /dev/null +++ b/.bluemix/hello-world.pipeline.yml @@ -0,0 +1,42 @@ +--- +stages: +- name: BUILD + inputs: + - type: git + branch: master + service: ${HELLO_WORLD_REPO} + triggers: + - type: commit + jobs: + - name: Build + type: builder +- name: DEPLOY + inputs: + - type: job + stage: BUILD + job: Build + triggers: + - type: stage + properties: + - name: CF_APP_NAME + value: undefined + type: text + - name: APP_URL + value: undefined + type: text + jobs: + - name: Deploy + type: deployer + target: + region_id: ${PROD_REGION_ID} + organization: ${PROD_ORG_NAME} + space: ${PROD_SPACE_NAME} + application: ${CF_APP_NAME} + script: | + #!/bin/bash + # Push app + export CF_APP_NAME="$CF_APP" + cf push "${CF_APP_NAME}" + export APP_URL=http://$(cf app $CF_APP_NAME | grep urls: | awk '{print $2}') + # View logs + #cf logs "${CF_APP_NAME}" --recent diff --git a/.bluemix/toolchain.yml b/.bluemix/toolchain.yml new file mode 100644 index 00000000..c0d61c1d --- /dev/null +++ b/.bluemix/toolchain.yml @@ -0,0 +1,51 @@ +--- +name: "Simple DevOps toolchain with Hello World app" +description: "This Hello World application uses Node.js and includes a DevOps toolchain that is preconfigured for continuous delivery, source control, issue tracking, and online editing." +version: 0.1 +# Generate base64 representation of image at http://www.askapache.com/online-tools/base64-image-converter/ +image: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH/9k= +required: + - deploy + - hello-world-repo + +# Github repos +hello-world-repo: + service_id: githubpublic + parameters: + repo_name: "hello-world-{{name}}" + repo_url: https://github.com/open-toolchain/node-hello-world + type: clone + has_issues: true + +# Pipelines +hello-world-build: + service_id: pipeline + parameters: + name: "hello-world-{{name}}" + ui-pipeline: true + configuration: + content: $file(hello-world.pipeline.yml) + env: + HELLO_WORLD_REPO: "hello-world-repo" + CF_APP_NAME: "{{deploy.parameters.hello-world-name}}" + PROD_SPACE_NAME: "{{deploy.parameters.prod-space}}" + PROD_ORG_NAME: "{{deploy.parameters.prod-organization}}" + PROD_REGION_ID: "{{deploy.parameters.prod-region}}" + execute: true + services: ["hello-world-repo"] + hidden: [form, description] + + +#Web IDE +webide: + service_id: orion + +#Deployment +deploy: + schema: deploy.json + service-category: pipeline + parameters: + prod-region: "{{region}}" + prod-organization: "{{organization}}" + prod-space: prod + hello-world-name: "{{hello-world-repo.parameters.repo_name}}" diff --git a/.cfignore b/.cfignore new file mode 100644 index 00000000..56aec12a --- /dev/null +++ b/.cfignore @@ -0,0 +1,2 @@ +launchConfigurations/ +.git/ diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..544e04e2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +launchConfigurations/ diff --git a/README.md b/README.md index 313823f7..1df06426 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ -# simple-toolchain +#Simple toolchain + +This Hello World application uses Node.js and includes a DevOps toolchain that is preconfigured for continuous delivery, source control, issue tracking, and online editing. + +To get started, click **Deploy to Bluemix**. + +[![Deploy To Bluemix](https://bluemix.net/deploy/button.png)](https://daily-console.stage1.ng.bluemix.net/develop/setup/deploy/?repository=https%3A//github.com/open-toolchain/simple-toolchain) + +