Spinnaker Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 37: Line 37:


=Pipeline Operations=
=Pipeline Operations=
==List Pipelines==
<syntaxhighlight lang='bash'>
spin [-k] pipeline list --application my-application
</syntaxhighlight>
==Create a Pipeline==
==Create a Pipeline==
{{External|https://spinnaker.io/docs/guides/user/pipeline/managing-pipelines/#create-a-pipeline}}
{{External|https://spinnaker.io/docs/guides/user/pipeline/managing-pipelines/#create-a-pipeline}}
==Delete a Pipeline==
<syntaxhighlight lang='bash'>
spin pipeline delete --name my-pipeline --application my-application
</syntaxhighlight>
=Delivery Pipeline for Simple Java Application from GitHub to Kubernetes=
=Delivery Pipeline for Simple Java Application from GitHub to Kubernetes=
{{Internal|Delivery Pipeline for Simple Java Application from GitHub to Kubernetes with Spinnaker#Overview|Delivery Pipeline for Simple Java Application from GitHub to Kubernetes}}
{{Internal|Delivery Pipeline for Simple Java Application from GitHub to Kubernetes with Spinnaker#Overview|Delivery Pipeline for Simple Java Application from GitHub to Kubernetes}}

Revision as of 00:35, 24 February 2022

Internal

CLI Access

https://spinnaker.io/docs/guides/spin/

Installation and Configuration

https://spinnaker.io/docs/setup/other_config/spin/
curl -LO https://storage.googleapis.com/spinnaker-artifacts/spin/$(curl -s https://storage.googleapis.com/spinnaker-artifacts/spin/latest)/darwin/amd64/spin
chmod +x spin
sudo mv spin /usr/local/bin/spin

Follow specific configuration instructions depending on the authentication method against the backend.

https://spinnaker.io/docs/setup/other_config/spin/#configure-spin

Operations

spin -k application list

Application Operations

Create an Application

Delivery Pipeline for Simple Java Application from GitHub to Kubernetes | Create Application

Configure an Application

https://spinnaker.io/docs/guides/user/applications/configure/

TO PROCESS.

Artifact Accounts

Configure GitHub as an Artifact Account

https://spinnaker.io/docs/setup/other_config/artifacts/github/

GitHub Trigger - Allow GitHub to Post Push Events

https://spinnaker.io/docs/guides/tutorials/codelabs/kubernetes-v2-source-to-prod/#allow-github-to-post-push-events

Configure a Docker Registry Account

https://spinnaker.io/docs/setup/install/providers/docker-registry/

Docker Trigger - Allow Docker to Post Build Events

https://spinnaker.io/docs/guides/tutorials/codelabs/kubernetes-v2-source-to-prod/#allow-docker-to-post-build-events

Pipeline Operations

List Pipelines

spin [-k] pipeline list --application my-application

Create a Pipeline

https://spinnaker.io/docs/guides/user/pipeline/managing-pipelines/#create-a-pipeline

Delete a Pipeline

spin pipeline delete --name my-pipeline --application my-application

Delivery Pipeline for Simple Java Application from GitHub to Kubernetes

Delivery Pipeline for Simple Java Application from GitHub to Kubernetes

Blue-Green Deployments with Spinnaker

Blue-Green Deployments with Spinnaker