-
Notifications
You must be signed in to change notification settings - Fork 421
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
Add copyright comment to source files #42
Merged
Merged
Conversation
This file contains 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
efekarakus
requested review from
kohidave,
hencrice,
sonofachamp and
a team
September 16, 2019 21:53
kohidave
approved these changes
Sep 16, 2019
mergify bot
pushed a commit
that referenced
this pull request
Jun 2, 2020
<!-- Provide summary of changes --> Add general sidecar support for svc deployment. With this change now users can configure sidecar in their manifest then do `svc deploy` to deploy their service with sidecar containers. Manual test pass (deployed a service with nginx as a sidecar container). Next step is to add Firelens deployment and lastly add e2e tests for this feature. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 3, 2020
Adds execute method which renders user inputs into cloudformation template in addons dir. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> addresses #769 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 3, 2020
<!-- Provide summary of changes --> The ability to parse Healthcheck options from a user's dockerfile. Also added, some of Moby buildkit packages for ease of parsing dockerfile. https://godoc.org/github.com/moby/buildkit/frontend/dockerfile/parser https://godoc.org/github.com/moby/buildkit/frontend/dockerfile/instructions <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> Addresses #938 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. Binary Size (added Mobykit parsers) Before: 44.2 MB After: 44.4 MB
mergify bot
pushed a commit
that referenced
this pull request
Jun 4, 2020
<!-- Provide summary of changes --> This PR adds the cloudformation template necessary to create DDB tables on behalf of customers in storage init. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> Addresses #769 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 6, 2020
<!-- Provide summary of changes --> With #980, we fixed an issue which occurred when there were multiple dockerfiles present in the build directory. However, this may have broken our end to end tests, because the call to Docker was formatted as the following: ```sh docker build -t <imageTag> path/to -f Dockerfile ``` This should be fine, but the end to end tests began to fail on Monday with the following output: ```bash addons flow when deploying svc svc deploy should succeed /github.com/aws/amazon-ecs-cli-v2/e2e/addons/addons_test.go:145 unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /github.com/aws/amazon-ecs-cli-v2/e2e/addons/Dockerfile: no such file or directory Error: build Dockerfile at ./hello/Dockerfile with tag gallopinggurdey: building image: exit status 1 ``` This indicates that although the Dockerfile path was set to `hello/Dockerfile`, Docker was looking for the file somewhere in the root directory of that path (.) and subsequently failing. This fix always sets the dockerfile path to be relative to the *root* of the docker build context, not the *leaf* of the build context. (previously we were parsing paths like `path/to/dockerfile` into `path/to` and `dockerfile`, assuming that the dockerfile would be searched for in `path/to`, not `path`. This was incorrect.) The new behavior is to call: ```sh docker build -t <imageTag> path/to -f path/to/dockerfile ``` <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 8, 2020
<!-- Provide summary of changes --> Partially address #875. With this PR now we can deploy a Copilot service with Firelens as the log driver to deliver logs of the main container to destinations. Users can config Firelens in two ways: 1. Set up configurations in the manifest (unable to sent to multiple destinations though). 2. Configure using fluentbit config file. Note that this requires users to build their own custom fluentbit image and specifying their config file path. Additionally users might need to add permissions to task role if necessary. And they are able to add their own permissions by using Copilot addons feature. Any addons policy will be added to the task role. This PR also adjusts `svc logs` to accommodate Firelens changes. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 11, 2020
<!-- Provide summary of changes --> Fixes #1008. (I'm gonna rest in peace. Put the e2e test log on my grave and don't include any PR reviews other than LGTM) <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 17, 2020
…xecution. (#1025) This PR completes the implementation of `storage init`'s Execute() method. Notable changes: * Adds S3 and DynamoDB structs to the addons package which behave similarly to those in the `manifest.LoadBalancedWebService` and `manifest.BackendService` structs. * Leverages the new AddonsWriter interface (with tiny modification) in `workspace` to enable template parsing for DDB and S3. * Resolves several typos in the DDB template which would have rendered it undeployable Unit tests forthcoming. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 19, 2020
<!-- Provide summary of changes --> Quick fix to get rid of the unexpected period at the end of the log output when there's no service found in the app. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 20, 2020
…1035) <!-- Provide summary of changes --> This PR adds template functions to the storage resource CF templates. We now only need to specify a resource name to the DynamoDB and S3 types, and template functions StorageLogicalIDSafe and EnvVarName will properly construct CF resource names and Env Vars. This PR also reorganizes and renames some common go template functions that previously lived in the "deploy/cloudformation/stack" package, moving them to the "template" package. Finally, it changes the implementation of ToSnakeCase to better match StringsWithUPPERCase (now renders as "STRINGS_WITH_UPPER_CASE" instead of "STRINGS_WITH_U_P_P_E_R_CASE") <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 22, 2020
<!-- Provide summary of changes --> This PR removes the notion of an Attribute from the UI of `copilot storage init`. Previously, customers could specify extra attributes via the `--att` flag which they could specify for use in Local Secondary Indices. This is problematic, however, because DynamoDB does not allow unused attributes to be written in the CF template and this would cause the addons stack deployment to fail. Removing "attribute" as a customer facing concept simplifies the user experience by only asking for "alternate sort keys/LSIs" and allows us to avoid complex validation issues which arise when extra attributes are specified. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 22, 2020
This command removes the orphaned "Addons" group from the `copilot -h` help menu. <!-- Provide summary of changes --> <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 24, 2020
This PR has two major changes: 1. add ask to task run; 2. add a required flag for task-family name, update validate and ask correspondingly <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> Related #702 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 26, 2020
<!-- Provide summary of changes --> Previously, we were converting timestamps into int64 types on Status structs. This change preserves the timestamp fields in time format, which makes timestamp fields in the JSONString output consistent with other JSON payloads (e.g. pipeline_show). It also simplifies the HumanString output logic. This also includes a refactor of timestamps on Pipelines to use values rather than pointers. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 26, 2020
…alse (#1057) <!-- Provide summary of changes --> This change solves an issue where if a customer selected "No" when asked "Would you like to add any alternate sort keys to this DynamoDB table?", the `noLsi` option was not properly set and an erroneous line was injected into the CF template. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jun 29, 2020
…age init (#1063) <!-- Provide summary of changes --> This PR changes `storage init` to use the WorkspaceSelector instead of the Application-wide ServiceSelector. Addresses #1054 <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
mergify bot
pushed a commit
that referenced
this pull request
Jul 2, 2020
<!-- Provide summary of changes --> Partially address #1069. Add service deployment info APIs to `deploy` pkg. <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
<!-- Provide summary of changes --> - Compile and publish darwin/arm64 copilot CLI binary. - This will allow copilot to run natively on newer macs rather than being emulated. I've tested the binary compilation but not sure if I can test the actual release build specs easily. Resolves aws#2745 <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
<!-- Provide summary of changes --> This fixes the PR template to specify the Apache 2.0 License rather than leaving it the default "under the terms of your choice". <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
<!-- Provide summary of changes --> Part of aws#2818. This PR adds boilerplate for new manifest validation for LB svc. Also added validation for mutually exclusive fields. Will add for the other workload types, advanced type validation, and consolidate existing validations in following PRs <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License..
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
…s#2826) <!-- Provide summary of changes --> Part of aws#2818. After this PR, we should have boilerplate completed for every workload type. Then, we'll add more advanced basic types validation as well as start to consolidate validation elsewhere. <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License..
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
<!-- Provide summary of changes --> This (hopefully) can fix the broken [homebrew formula](https://formulae.brew.sh/formula/copilot). Reason behind this (I guess) is the formula uses [`make build`](https://github.com/Homebrew/homebrew-core/blob/master/Formula/copilot.rb#L33) which doesn't include `CGO_ENABLED=0` and by default it is set to be `1`, resulting in the fact that the generated binary is not static. However, our GitHub release doesn't suffer from the same issue because we use `make release` which has `CGO_ENABLED=0` set in all platform versions. <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
<!-- Provide summary of changes --> Fixed typo in `copilot env init` that there's space in subnet id. `subnet -014661ebb7ab8681a ` ```bash $ copilot env init --help ... Creates an environment with imported VPC resources. `$ copilot env init --import-vpc-id vpc-099c32d2b98cdcf47 \` `--import-public-subnets subnet-013e8b691862966cf,subnet -014661ebb7ab8681a \` `--import-private-subnets subnet-055fafef48fb3c547,subnet-00c9e76f288363e7f` ``` <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
…ws#2859) <!-- Provide summary of changes --> Pushing to ECR concurrently would fail because of the following reason. We should retry in our e2e custom domain suite. ``` The push refers to repository [1234567890.dkr.ecr.us-west-2.amazonaws.com/e2e-domain-1632160296/frontend] -- 863 | d164a303952c: Preparing 864 | fac15b2caa0c: Preparing 865 | f8bf5746ac5a: Preparing 866 | d11eedadbd34: Preparing 867 | 797e583d8c50: Preparing 868 | bf9ce92e8516: Preparing 869 | d000633a5681: Preparing 870 | bf9ce92e8516: Waiting 871 | 797e583d8c50: Waiting 872 | d000633a5681: Waiting 873 | d11eedadbd34: Waiting 874 | f8bf5746ac5a: Waiting 875 | no basic auth credentials 876 | ✘ build and push image: push to repo e2e-domain-1632160296/frontend: docker push 1234567890.dkr.ecr.us-west-2.amazonaws.com/e2e-domain-1632160296/frontend:frontend: exit status 1 ``` <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
<!-- Provide summary of changes --> Part of aws#2818. This PR adds advanced types validation for - percentage - platform - placement - IP Note that this PR doesn't move any existing validation in `UnmarshalYAML`. <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
) <!-- Provide summary of changes --> This PR - upgrade `UnmarshalYAML` to yaml v3 because of go-yaml/yaml#125 (comment) - add `UnmarshalYAML` for `Image` to validate mutual exclusive fields before applying env override. - Revert `Image` struct [embedding](https://golang.org/doc/effective_go#embedding) in `ImageWithHealthcheck` and `ImageWithPort`, as `UnmarshalYAML` would be wrongly taken as the method of its parent, causing the other fields in its parent struct (e.g., `Port` and `HealthCheck`) to be set `nil` unexpectedly. go-yaml/yaml#263 (comment) <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
<!-- Provide summary of changes --> Part of aws#2818. This PR adds validation for - task def override - sidecar mount points - storage config - publish/subscribe Also make `topic.queue` to able to accept either bool or map as input so as users can better specify a topic specific queue with default config. <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
<!-- Provide summary of changes --> On Windows, colors are not enabled. This change enable colors. ![image](https://user-images.githubusercontent.com/10111/136043356-dcf6534b-6d03-48a2-ae10-5e1f20cbd136.png) ![image](https://user-images.githubusercontent.com/10111/136043405-0f86fa79-bac8-4bb5-b968-26cf8e2bbcc0.png) <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
Dec 9, 2022
…date (aws#2895) <!-- Provide summary of changes --> This PR 1. Add integ test to make sure every manifest struct or advanced type implements `Validate()`. 2. Fix a bug that `network.placement` should not be required even if `network` is not empty. <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.