From 89d30ca0e4c39fda9e0f9f2873da50b6a5d270ce Mon Sep 17 00:00:00 2001 From: Martin Caarels Date: Sat, 14 Oct 2017 19:05:33 +0200 Subject: [PATCH 1/7] added bosh.md --- pages/common/bosh.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pages/common/bosh.md diff --git a/pages/common/bosh.md b/pages/common/bosh.md new file mode 100644 index 0000000000..eb1941e589 --- /dev/null +++ b/pages/common/bosh.md @@ -0,0 +1,35 @@ +# bosh + +> Cli tool to deploy and manage the bosh director + +- Deploy the director: + +`bosh create-env {{bosh.yml}} --state={{state.json}} --vars-store={{creds.yml}} -v {{custparam}}` + +- Create local alias for director: + +`bosh alias-env {{name}} -e {{192.168.1.123}} --ca-cert {{$(bosh int ./creds.yml --path /director_ssl/ca)}}` + +- Login to the director: + +`bosh login -e {{environment}} --client={{username}} --client-secret={{password}}` + +- List environments: + +`bosh environments` + +- List environment vm's: + +`bosh -e {{environment}} vms` + +- List deployments: + +`bosh -e {{environment}} deployments` + +- Upload stemcell: + +`bosh -e {{environment}} upload-stemcell {{stemcell.tgz|https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent}}` + +- Upload cloud config: + +`bosh -e {{environment }}update-cloud-config {{cloud.yml}}` From df71b560616c75e5053664e30cac8d628d4451ed Mon Sep 17 00:00:00 2001 From: Martin Caarels Date: Sat, 14 Oct 2017 19:11:54 +0200 Subject: [PATCH 2/7] added a period to the command description. --- pages/common/bosh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/bosh.md b/pages/common/bosh.md index eb1941e589..e291c8c62e 100644 --- a/pages/common/bosh.md +++ b/pages/common/bosh.md @@ -1,6 +1,6 @@ # bosh -> Cli tool to deploy and manage the bosh director +> Cli tool to deploy and manage the bosh director. - Deploy the director: From 8eaae1e9f84c0e770b102ccc4c4b8e14506ea68e Mon Sep 17 00:00:00 2001 From: Martin Caarels Date: Sat, 14 Oct 2017 19:27:22 +0200 Subject: [PATCH 3/7] fly: add page. --- pages/common/fly.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pages/common/fly.md diff --git a/pages/common/fly.md b/pages/common/fly.md new file mode 100644 index 0000000000..419eaa8d8f --- /dev/null +++ b/pages/common/fly.md @@ -0,0 +1,35 @@ +# fly + +> Cli tool for concourse-ci. + +- Authenticating with and saving concourse target: + +`fly --target {{example}} login --team-name {{my-team}} -c {{https://ci.example.com}}` + +- List targets: + +`fly targets` + +- List pipelines: + +`fly -t {{example}} pipelines` + +- Configure pipeline: + +`fly -t {{example}} set-pipeline --config {{pipeline.yml}} --pipeline {{my-pipeline}}` + +- Unpause pipeline: + +`fly -t {{example}} unpause-pipeline --pipeline {{my-pipeline}}` + +- Show pipeline configuration: + +`fly -t {{example}} get-pipeline --pipeline {{my-pipeline}}` + +- Update local copy of fly: + +`fly -t {{example}} sync` + +- Destroy pipeline: + +`fly -t {{example}} destroy-pipeline --pipeline {{my-pipeline}}` From fc20b0366c4c84c865dce0a86671fd8988bdb504 Mon Sep 17 00:00:00 2001 From: Martin Caarels Date: Sat, 14 Oct 2017 19:32:16 +0200 Subject: [PATCH 4/7] Modified from present tense to infinitive. --- pages/common/fly.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/fly.md b/pages/common/fly.md index 419eaa8d8f..36461f85ad 100644 --- a/pages/common/fly.md +++ b/pages/common/fly.md @@ -2,7 +2,7 @@ > Cli tool for concourse-ci. -- Authenticating with and saving concourse target: +- Authenticate with and save concourse target: `fly --target {{example}} login --team-name {{my-team}} -c {{https://ci.example.com}}` From 7c14f34a90e1a7ad9ab67ef81f677b98559760b0 Mon Sep 17 00:00:00 2001 From: Martin Caarels Date: Sun, 15 Oct 2017 21:23:50 +0200 Subject: [PATCH 5/7] removed bosh.md --- pages/common/bosh.md | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 pages/common/bosh.md diff --git a/pages/common/bosh.md b/pages/common/bosh.md deleted file mode 100644 index e291c8c62e..0000000000 --- a/pages/common/bosh.md +++ /dev/null @@ -1,35 +0,0 @@ -# bosh - -> Cli tool to deploy and manage the bosh director. - -- Deploy the director: - -`bosh create-env {{bosh.yml}} --state={{state.json}} --vars-store={{creds.yml}} -v {{custparam}}` - -- Create local alias for director: - -`bosh alias-env {{name}} -e {{192.168.1.123}} --ca-cert {{$(bosh int ./creds.yml --path /director_ssl/ca)}}` - -- Login to the director: - -`bosh login -e {{environment}} --client={{username}} --client-secret={{password}}` - -- List environments: - -`bosh environments` - -- List environment vm's: - -`bosh -e {{environment}} vms` - -- List deployments: - -`bosh -e {{environment}} deployments` - -- Upload stemcell: - -`bosh -e {{environment}} upload-stemcell {{stemcell.tgz|https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent}}` - -- Upload cloud config: - -`bosh -e {{environment }}update-cloud-config {{cloud.yml}}` From dd71e8fc663e78a5aff70f5ed29e74493b1f5e5f Mon Sep 17 00:00:00 2001 From: Martin Caarels Date: Sun, 15 Oct 2017 21:25:32 +0200 Subject: [PATCH 6/7] changed configure to upload/update. --- pages/common/fly.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/fly.md b/pages/common/fly.md index 36461f85ad..c999e1eb7e 100644 --- a/pages/common/fly.md +++ b/pages/common/fly.md @@ -14,7 +14,7 @@ `fly -t {{example}} pipelines` -- Configure pipeline: +- Upload/Update pipeline: `fly -t {{example}} set-pipeline --config {{pipeline.yml}} --pipeline {{my-pipeline}}` From 2c7f5e1c5caa5bbac0a1029534f4fbd3f88c5af0 Mon Sep 17 00:00:00 2001 From: Martin Caarels Date: Tue, 24 Oct 2017 14:38:39 +0200 Subject: [PATCH 7/7] made changes as requested. --- pages/common/fly.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/common/fly.md b/pages/common/fly.md index c999e1eb7e..9f4324742b 100644 --- a/pages/common/fly.md +++ b/pages/common/fly.md @@ -1,10 +1,10 @@ # fly -> Cli tool for concourse-ci. +> Command line tool for concourse-ci. - Authenticate with and save concourse target: -`fly --target {{example}} login --team-name {{my-team}} -c {{https://ci.example.com}}` +`fly --target {{target_name}} login --team-name {{team_name}} -c {{https://ci.example.com}}` - List targets: @@ -12,24 +12,24 @@ - List pipelines: -`fly -t {{example}} pipelines` +`fly -t {{target_name}} pipelines` -- Upload/Update pipeline: +- Upload or update a pipeline: -`fly -t {{example}} set-pipeline --config {{pipeline.yml}} --pipeline {{my-pipeline}}` +`fly -t {{target_name}} set-pipeline --config {{pipeline.yml}} --pipeline {{pipeline_name}}` - Unpause pipeline: -`fly -t {{example}} unpause-pipeline --pipeline {{my-pipeline}}` +`fly -t {{target_name}} unpause-pipeline --pipeline {{pipeline_name}}` - Show pipeline configuration: -`fly -t {{example}} get-pipeline --pipeline {{my-pipeline}}` +`fly -t {{target_name}} get-pipeline --pipeline {{pipeline_name}}` - Update local copy of fly: -`fly -t {{example}} sync` +`fly -t {{target_name}} sync` - Destroy pipeline: -`fly -t {{example}} destroy-pipeline --pipeline {{my-pipeline}}` +`fly -t {{target_name}} destroy-pipeline --pipeline {{pipeline_name}}`