-
Notifications
You must be signed in to change notification settings - Fork 3
fix(refactor-0.7): make CDK infra compatible to latest dockerfile #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MicBun
merged 19 commits into
refactor/upgrade-zero-seven
from
refactor/fix-compatible-cdk
Mar 20, 2024
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6eaa69a
Add infrastructure and CDK configuration for Go project
outerlook d1e1835
Remove cdk.iml and update .gitignore
outerlook a805d16
Merge branch 'refs/heads/refactor/migrate-cdk' into refactor/fix-comp…
outerlook 9c6e38c
Add Docker setup for TSN data push
outerlook 2c476c1
Update .gitignore to ignore all .env files except example
outerlook 594fb0f
Refactor setup script and isolate wait logic
outerlook 974fe15
Add clear-data task and update README
outerlook f789c0c
Refactor gRPC URL configuration in CI tests
outerlook d603c24
Add vendor directory and go.work.sum to .dockerignore
outerlook 4b64420
Update go-isatty and go-tools to newer versions
outerlook e24c1f3
Update dependencies in go.mod and go.sum
outerlook 2f41605
Update Docker image deployment logic
outerlook 5e23323
Update instance to use Amazon Linux 2
outerlook 7219f7e
Add warning comment on environment variables
outerlook 76f0c20
Merge remote-tracking branch 'refs/remotes/origin/refactor/upgrade-ze…
outerlook 238a9c1
Update .gitignore
outerlook 40abf99
Update deployments/infra/go.mod
outerlook 2cea41e
update import path to reflect module name change
outerlook aab25c9
Remove unused test file for CDK main
outerlook File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| ### Go template | ||
| # Binaries for programs and plugins | ||
| *.exe | ||
| *.exe~ | ||
| *.dll | ||
| *.so | ||
| *.dylib | ||
|
|
||
| # Test binary, built with `go test -c` | ||
| *.test | ||
|
|
||
| # Output of the go coverage tool, specifically when used with LiteIDE | ||
| *.out | ||
|
|
||
| # Dependency directories | ||
| vendor/ | ||
|
|
||
| # Go workspace file | ||
| go.work | ||
| go.work.sum | ||
|
|
||
| ### CDK template | ||
| # CDK asset staging directory. | ||
| # For more information about AWS-CDK, see https://docs.aws.amazon.com/cdk/ | ||
| .cdk.staging/ | ||
| **/cdk.out/ | ||
|
|
||
| ### Misc | ||
| .build | ||
| .github | ||
| .idea | ||
|
|
||
| ### Things that doesn't produce code or seed | ||
| *.md | ||
| scripts/temp_* | ||
| scripts/produce_source_maps/all_tables.csv | ||
| scripts/composed_streams.csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Binaries for programs and plugins | ||
| *.exe | ||
| *.exe~ | ||
| *.dll | ||
| *.so | ||
| *.dylib | ||
|
|
||
| cdk.iml | ||
|
|
||
| # Test binary, built with `go test -c` | ||
| *.test | ||
|
|
||
| # Output of the go coverage tool, specifically when used with LiteIDE | ||
| *.out | ||
|
|
||
| # go.sum should be committed | ||
| !go.sum | ||
|
|
||
| # CDK asset staging directory | ||
| .cdk.staging | ||
| cdk.out | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Welcome to your CDK Go project! | ||
|
|
||
| This is a blank project for CDK development with Go. | ||
|
|
||
| The `cdk.json` file tells the CDK toolkit how to execute your app. | ||
|
|
||
| ## Useful commands | ||
|
|
||
| * `cdk deploy` deploy this stack to your default AWS account/region | ||
| * `cdk diff` compare deployed stack with current state | ||
| * `cdk synth` emits the synthesized CloudFormation template | ||
| * `go test` run unit tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/bin/bash | ||
|
|
||
| # covert docker build to docker buildx build --load | ||
| if [[ "$1" == "build" ]]; then | ||
| docker buildx build --load "${@:2}" | ||
| else | ||
| docker "$@" | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| { | ||
| "availability-zones:account=344375646931:region=us-east-1": [ | ||
| "us-east-1a", | ||
| "us-east-1b", | ||
| "us-east-1c", | ||
| "us-east-1d", | ||
| "us-east-1e", | ||
| "us-east-1f" | ||
| ], | ||
| "vpc-provider:account=344375646931:filter.isDefault=true:region=us-east-2:returnAsymmetricSubnets=true": { | ||
| "vpcId": "vpc-031fd5cc4065f5693", | ||
| "vpcCidrBlock": "172.31.0.0/16", | ||
| "ownerAccountId": "344375646931", | ||
| "availabilityZones": [], | ||
| "subnetGroups": [ | ||
| { | ||
| "name": "Public", | ||
| "type": "Public", | ||
| "subnets": [ | ||
| { | ||
| "subnetId": "subnet-02a0a112084190fa9", | ||
| "cidr": "172.31.0.0/20", | ||
| "availabilityZone": "us-east-2a", | ||
| "routeTableId": "rtb-06027a22f2823df2a" | ||
| }, | ||
| { | ||
| "subnetId": "subnet-00182b35be3ac1e96", | ||
| "cidr": "172.31.16.0/20", | ||
| "availabilityZone": "us-east-2b", | ||
| "routeTableId": "rtb-06027a22f2823df2a" | ||
| }, | ||
| { | ||
| "subnetId": "subnet-030496ef398fbf3ce", | ||
| "cidr": "172.31.32.0/20", | ||
| "availabilityZone": "us-east-2c", | ||
| "routeTableId": "rtb-06027a22f2823df2a" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.