Sign inSign up

amaysim/devops-pipeline-tools

By amaysim

Updated about 11 hours ago

Helpful tools for use in Pipelines

Image
0

10K+

amaysim/devops-pipeline-tools repository overview

devops-pipeline-tools

Some helpful pipeline tools

Installed Tools

  • python3
  • awscli
  • stacker
  • yamllint
  • cfn-int
  • cfn-flip
  • requests
  • jq
  • bash
  • git
  • gettext (envsubt)
  • schedule-pipelines

Schedule Pipelines

schedule-pipelines is a python script to schedule a GoCD Pipeline.

This can be added as a final stage of a pipeline to invoke another pipeline.

eg:

  • build-ami pipeline finishes building and deploying an AMI
    • final stage is to schedule the deploy-cfn pipeline
  • deploy-cfn pipeline applies the new AMI to existing ASGs

Usage

The schedule-pipelines is configured by ENV VARs:

docker compose run --rm tools schedule-pipelines , assuming that this image is configured as the tools service in docker compose.

Environment Variables:

KEYNOTES
GOCD_USERThe user who has API priveledges on GOCD
SCHEDULE_PIPELINESA comma separated list of GoCD Pipelines to schedule

GoCD Secure Variables:

KEYNOTES
GOCD_PASSWORD_ENCEncrypted password for the GOCD_USER

Tag summary

Content type

Image

Digest

sha256:4deb4f6a8

Size

653.1 MB

Last updated

about 11 hours ago

docker pull amaysim/devops-pipeline-tools