https://github.com/stelligent/stelligent_pipelines
CI/CD pipelines
https://github.com/stelligent/stelligent_pipelines
Last synced: about 1 year ago
JSON representation
CI/CD pipelines
- Host: GitHub
- URL: https://github.com/stelligent/stelligent_pipelines
- Owner: stelligent
- License: mit
- Created: 2016-03-22T16:40:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T21:32:45.000Z (over 6 years ago)
- Last Synced: 2025-03-24T05:25:41.471Z (about 1 year ago)
- Language: Shell
- Size: 331 KB
- Stars: 9
- Watchers: 76
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
stelligent\_pipelines
=====================
Create CI/CD pipelines, the Stelligent Way
This repository contains infrastructure code to provision new
CI/CD pipelines of various flavors, and the code comprising
the pipeline logic itself.
ConSec Dromedary Pipeline
-------------------------
This pipeline was historically part of the dromedary repository,
and was used to spin up the CI/CD environment necessary to demo
automatic handling of changes to dromedary. It was enhanced
(being on the consec branch) with security scanning capabilities
as well.
*NOTE*: this pipeline is still tightly coupled with the Dromedary
demo app, and is not immediately suitable for use with other
applications.
Usage:
Create a text file (such as `../pipeline.env`) with overrides for
environment variables used in bootstrap.sh
Example environment file:
export EC2_KEY_PAIR_NAME=jeff-labs
export ZAP_AMI_ID=ami-824a45e8
export HOSTED_ZONE_NAME=elasticoperations.com
export DYNAMODB_TABLE_NAME=consecjlb
export GITHUB_TOKEN=db50...
export GITHUB_USER=stelligent
export AWS_REGION=us-east-1
export DEV_BUCKET=consecdemojlb
export BASE_TEMPLATE_URL=https://s3.amazonaws.com/${DEV_BUCKET}/
export ENABLE_CONFIG=false
export DROMEDARY_BUCKET=consecconfigjlb
export STACK_NAME=ConSecDemoJLB
export ENABLE_CONFIG=false
export APP_REPO_BRANCH="consec"
export PIPELINES_REPO_BRANCH="master"
export DEMO_RESULTS_BUCKET="demojlb.stelligent-continuous-security.com"
## Important Notes
1. If you're running on Linux, you might need to install [jq](http://xmodulo.com/how-to-parse-json-string-via-command-line-on-linux.html).
1. If you're running on Mac OS X, you will probably need to install [jq](https://github.com/stedolan/jq/wiki/Installation#mac-osx).
1. Part of this pipeline requires a [ZAP OWASP](https://www.owasp.org/index.php) instance. To allow its
creation, please use the [Stelligent ZAP](https://github.com/stelligent/zap) repository to generate an AMI for your account.
1. The `GITHUB_USER` should remain `stelligent` and the `GITHUB_TOKEN` should be your own token.
1. At this time the AWS DNS Hosted Zone should pre-exist and be set as public hosted.
Source the file, then run bootstrap.sh:
. ../pipeline.env;./bootstrap.sh