cdk-databrew-cicd
Project description
cdk-databrew-cicd
A demonstration of CICD with AWS Databrew
Some Efforts after Stack Creation
CodeCommit
-
Create HTTPS Git credentials for AWS CodeCommit with an IAM user that you're going to use.
-
Run through the steps noted on the README.md of the CodeCommit repository after finishing establishing the stack via CDK. The returned message with success should be looked like the following (assume you have installed
git-remote-codecommit
):$ git clone codecommit://scott.codecommit@DataBrew-Recipes-Repo Cloning into 'DataBrew-Recipes-Repo'... remote: Counting objects: 6, done. Unpacking objects: 100% (6/6), 2.03 KiB | 138.00 KiB/s, done.
-
Add a DataBrew recipe into the local repositroy (directory) and commit the change. (either directly on the main branch or merging another branch into the main branch)
Glue DataBrew
-
Download any recipe either generated out by following Getting started with AWS Glue DataBrew or made by yourself as JSON file.
-
Move the recipe from the download directory to the local directory for the CodeCommit repository.
$ mv ${DOWNLOAD_DIRECTORY}/chess-project-recipe.json ${CODECOMMIT_LOCAL_DIRECTORY}/
-
Commit the change to a branch with a name you prefer.
$ cd ${{CODECOMMIT_LOCAL_DIRECTORY}} $ git checkout -b add-recipe main $ git add . $ git commit -m "first recipe" $ git push --set-upstream origin add-recipe
-
Merge the branch into the main branch. Just go to the AWS CodeCommit web console to do the merge as its process is purely the same as you've already done thousands of times on Github but only with different UIs.
How Successful Commits Look Like
- In the infrastructure account, the status of the CodePipeline DataBrew pipeline should be similar as the following:
- In the pre-production account with the same region as where the CICD pipeline is deployed at the infrastructue account, you'll see this.
- In the production account with the same region as where the CICD pipeline is deployed at the infrastructue account, you'll see this.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cdk_databrew_cicd-0.1.1.tar.gz
.
File metadata
- Download URL: cdk_databrew_cicd-0.1.1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfad75b9051a879b9c07da7fe04f33358da426c14736f5d1aa36868766743676 |
|
MD5 | ffb904489a4845984b11b94eeb4db779 |
|
BLAKE2b-256 | e4b7809e6abee0d877cad98c7c8bea60542186b6938f9ce076f32ed091de601e |
File details
Details for the file cdk_databrew_cicd-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: cdk_databrew_cicd-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 537f39ba308555e335fb9666413fb7e88e47b630c16752234952f8c789f35eb1 |
|
MD5 | ff9c3b9e83067f2f6e9cb9a1b0747274 |
|
BLAKE2b-256 | 037345c3ca8ce7829bcd3d70e6bf541394e41131d5976400bbf1a86661624a9a |