Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# deploy_scripts
Bash scripts used in automated deployments.

## Requirements
- AWS CLI
- kubectl

## Usage
These scripts are intended to be used in conjunction with AWS CodeDeploy to
implement continuous deployment, and currently focus on Django and React applications.
Expand All @@ -25,17 +21,5 @@ If you are using a subset of these scripts it may not be necessary to supply
all of these environment variables. For example, when deploying a React application,
it is not necessary to specify PYTHON_PATH.

### Additional Environment Variables for Container Deployments
The following environment variables are required for Container deploys.
- AWS_ACCOUNT_ID - the URL of the ECR Registry to which built images should be pushed
- AWS_REGION - the AWS Region which contains the ECR Registry
- AWS_ACCESS_KEY_ID - an AWS Access Key for a user with permissions to push to the ECR Registry
- AWS_SECRET_ACCESS_KEY - an AWS Secret Access Key for a user with permissions to push to the ECR Registry
- CLOUDFRONT_DISTRIBUTION_ID - an identifier for a CloudFront Distribution whose cache should be invalidadated (invalidate_cloudfront_cache.sh only)
- LAMBDA_FUNCTION_NAME - the name of an AWS Lambda function to which the image should be deployed (deploy_image_lambda.sh only)
- DEPLOYMENT_NAME - name for the deployed pod in Kubernetes (deploy_image_k8s.sh only)
- DOCKER_REPO - the name of the repository in the registry to which to push
- TIMESTAMP - current timestamp (should be generated and set once in a CI pipeline)

## License
This code is released under the MIT License. See `LICENSE.md` for more information.
18 changes: 0 additions & 18 deletions containers/add_tag_to_image.sh

This file was deleted.

10 changes: 0 additions & 10 deletions containers/deploy_image_k8s.sh

This file was deleted.

16 changes: 0 additions & 16 deletions containers/deploy_image_lambda.sh

This file was deleted.

11 changes: 0 additions & 11 deletions containers/install_kubectl.sh

This file was deleted.

8 changes: 0 additions & 8 deletions containers/invalidate_cloudfront_cache.sh

This file was deleted.

38 changes: 0 additions & 38 deletions containers/push_image_to_ecr.sh

This file was deleted.

17 changes: 0 additions & 17 deletions create_apache_config.sh.deploy

This file was deleted.

10 changes: 0 additions & 10 deletions deploy_package_lambda.sh

This file was deleted.

21 changes: 0 additions & 21 deletions make_zip_lambda.sh

This file was deleted.

17 changes: 0 additions & 17 deletions make_zip_react.sh

This file was deleted.

5 changes: 0 additions & 5 deletions restart_apachectl.sh.deploy

This file was deleted.

5 changes: 0 additions & 5 deletions start_celery.sh

This file was deleted.

5 changes: 0 additions & 5 deletions stop_celery.sh

This file was deleted.

16 changes: 0 additions & 16 deletions substitute_env.sh

This file was deleted.

6 changes: 0 additions & 6 deletions upload_file_to_s3.sh

This file was deleted.