Skip to content

Commit

Permalink
fix: LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
wchaws committed May 29, 2021
1 parent 049cae8 commit b158e8b
Show file tree
Hide file tree
Showing 15 changed files with 52 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0


const { AwsCdkConstructLibrary } = require('projen');

const project = new AwsCdkConstructLibrary({
Expand All @@ -6,7 +10,6 @@ const project = new AwsCdkConstructLibrary({
defaultReleaseBranch: 'main',
jsiiFqn: 'projen.AwsCdkConstructLibrary',
name: 'cdk-ecr-deployment',
repositoryUrl: '',

/* AwsCdkConstructLibraryOptions */
// cdkAssert: true, /* Install the @aws-cdk/assert library? */
Expand Down
2 changes: 2 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cdk-ecr-deployment
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 changes: 3 additions & 0 deletions lambda/internal/tarfile/s3file.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

package tarfile

import (
Expand Down
3 changes: 3 additions & 0 deletions lambda/internal/tarfile/s3file_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

package tarfile

import (
Expand Down
3 changes: 3 additions & 0 deletions lambda/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions lambda/main_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions lambda/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions lambda/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0


import * as path from 'path';
import * as ec2 from '@aws-cdk/aws-ec2';
import * as iam from '@aws-cdk/aws-iam';
Expand Down
4 changes: 4 additions & 0 deletions test/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0


FROM nginx
4 changes: 4 additions & 0 deletions test/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0


import { DockerImageName, S3ArchiveName } from '../src';

test(`${DockerImageName.name}`, () => {
Expand Down
4 changes: 4 additions & 0 deletions test/integ.ecr-deployment.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import * as path from 'path';
import * as ecr from '@aws-cdk/aws-ecr';
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0


import { DockerImageAsset } from '@aws-cdk/aws-ecr-assets';
import * as cdk from '@aws-cdk/core';
// eslint-disable-next-line no-duplicate-imports
Expand Down
4 changes: 4 additions & 0 deletions test/lambda.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0


import { spawnSync } from 'child_process';
import * as path from 'path';

Expand Down
4 changes: 4 additions & 0 deletions test/lambda/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0


FROM lambci/lambda:build-go1.x

USER root
Expand Down
4 changes: 4 additions & 0 deletions test/lambda/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#
#
#---------------------------------------------------------------------------------------------------
# exeuctes unit tests
#
Expand Down

0 comments on commit b158e8b

Please sign in to comment.