Skip to content

Instantly share code, notes, and snippets.

View bellyjay1005's full-sized avatar
:octocat:

Jelili Adebello bellyjay1005

:octocat:
View GitHub Profile
@bellyjay1005
bellyjay1005 / pipeline_configs.yml
Last active December 12, 2019 18:57
pipeline stack configurations
---
# Example CodePipeline
- region: us-east-2
resource_name: ANCHORE-CLI-PIPELINE
template_file: examples/aws-codepipeline/pipeline.yml
parameters:
Environment: DEMO
GitHubAccountName: <replace-with-your-github-account-name>
GitHubRepoName: <replace-with-your-github-application-repository>
GitHubBranchName: <your-target-branch> (i.e master)
@bellyjay1005
bellyjay1005 / make-pipeline.sh
Created October 31, 2019 04:41
make pipeline
make pipeline
@bellyjay1005
bellyjay1005 / stacks-configs.yml
Created October 31, 2019 04:40
anchore stacks configuration
---
# VPC
- region: us-east-2
resource_name: ANCHORE-VPC
template_file: anchore_vpc.yml
parameters:
Environment: DEMO
VPCCIDRBlock: 10.0.0.0/16
PublicSubnet1CIDRBlock: 10.0.0.0/24
PrivateSubnet1CIDRBlock: 10.0.1.0/24
@bellyjay1005
bellyjay1005 / make-deploy-stacks.sh
Created October 31, 2019 04:39
make deploy stacks
make deploy-stacks
@bellyjay1005
bellyjay1005 / make-push-image.sh
Last active December 12, 2019 19:00
make push image
make push-image ACCOUNT_ID=<your-aws-account-id>
@bellyjay1005
bellyjay1005 / make-build-test.sh
Created October 31, 2019 04:38
make build test
make build-test
@bellyjay1005
bellyjay1005 / make-build.sh
Created October 31, 2019 04:38
make build
make build
@bellyjay1005
bellyjay1005 / ecr_configs.yml
Created October 31, 2019 04:36
ecr cfn stack configurations
---
# ECR
- region: us-east-2
resource_name: ANCHORE-ECR
template_file: anchore_ecr.yml
parameters:
Environment: DEMO
AppRepoName: anchore-engine
TestImageRepoName: tested/nginx
ImageTag: '1.0'
@bellyjay1005
bellyjay1005 / example-get-cred.sh
Created October 31, 2019 04:34
example get credentials
make get-cred \
ACCOUNT_ID=123456789012 \
USERNAME=johndoe \
PROFILE=stelligent \
REGION=us-east-2 \
TOKEN=123456
@bellyjay1005
bellyjay1005 / get-cred.sh
Created October 31, 2019 04:32
get credentials
make get-cred \
ACCOUNT_ID=your-aws-account-id \
USERNAME=your-aws-username \
PROFILE=your-aws-profile \
REGION=aws-target-region \
TOKEN=auth-generated-token