Skip to content

Commit

Permalink
fix: cut blend merge
Browse files Browse the repository at this point in the history
build: production builds need to be tagged as production (#574)

* build: production builds need to be tagged as production

* build: dont fail to deploy if old landing page does not exist

v1.4.2

feat(landing): support different imagery sets other than aerial with ?i=:imageId (#575)

fix(cli): root quadkey causes issues with dynamodb so never use it (#576)

* fix(cli): root quadkey causes issues with dynamodb so never use it

* feat(cli): support unprefixed imagery ids

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

fix(cli): do not error when --replace-with is not supplied (#577)

v1.5.0

fix(cli): aws assume role needs to be able to assume any role provided via the cli (#578)

v1.5.1

fix(serve): allow any tile set name to be used (#579)

This allows any tile set in the database to be served, rather than 404ing on anything that is not "aerial"

fix(tiler): position non square COGs correctly (#580)

Non square COGs were being shifted up from their intended position

fix: add blend defaults

build(deps): cogeotiff 1.0.6 (#582)

build(deps): aws-cdk 1.37.0 (#581)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

feat(cli): submit jobs automatically to aws batch with --batch (#583)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

v1.6.0

fix(cli): role assumptions must have role names shorter than 64 chars (#585)

feat(cli): support webp quality setting (#586)

build(deps-dev): bump mime-types from 2.1.26 to 2.1.27 (#523)

Bumps [mime-types](https://github.com/jshttp/mime-types) from 2.1.26 to 2.1.27.
- [Release notes](https://github.com/jshttp/mime-types/releases)
- [Changelog](https://github.com/jshttp/mime-types/blob/master/HISTORY.md)
- [Commits](jshttp/mime-types@2.1.26...2.1.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

build(deps-dev): bump @types/sharp from 0.24.0 to 0.25.0 (#587)

Bumps [@types/sharp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sharp) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sharp)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0 (#520)

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.10.1 to 6.11.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/eslint-config-prettier@v6.10.1...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

build(deps-dev): bump @typescript-eslint/parser from 2.29.0 to 2.31.0 (#588)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.29.0 to 2.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.31.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

v1.7.0

feat: support rendering different backgrounds for tiles (#591)

* feat: support rendering different backgrounds for tiles

* feat(cli): support changing background of tile sets

build(deps): cogeotiff 1.0.8 (#592)

fixes a issue where some s3 reads would fail

fix(cog): add padding to projwin' (#594)

Was sometimes one pixel short on lower right sides

Now add 1% padding to lower right sides

v1.8.0
  • Loading branch information
Joseph Ramsay committed May 12, 2020
1 parent e0d3b88 commit 41dda90
Show file tree
Hide file tree
Showing 52 changed files with 1,360 additions and 631 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,4 @@ jobs:
env:
ALB_CERTIFICATE_ARN: ${{secrets.ALB_CERTIFICATE_ARN_PROD}}
CLOUDFRONT_CERTIFICATE_ARN: ${{secrets.CLOUDFRONT_CERTIFICATE_ARN_PROD}}
NODE_ENV: 'production'
85 changes: 85 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,91 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.8.0](https://github.com/linz/basemaps/compare/v1.7.0...v1.8.0) (2020-05-11)


### Bug Fixes

* **cog:** add padding to projwin' ([#594](https://github.com/linz/basemaps/issues/594)) ([72a324a](https://github.com/linz/basemaps/commit/72a324a97ff470e436c3d5360954b9338ff36e59))


### Features

* support rendering different backgrounds for tiles ([#591](https://github.com/linz/basemaps/issues/591)) ([22f38f5](https://github.com/linz/basemaps/commit/22f38f555a678e6968206351d8fbb62a604da39e))





# [1.7.0](https://github.com/linz/basemaps/compare/v1.6.0...v1.7.0) (2020-05-10)


### Bug Fixes

* **cli:** role assumptions must have role names shorter than 64 chars ([#585](https://github.com/linz/basemaps/issues/585)) ([d889cb7](https://github.com/linz/basemaps/commit/d889cb7666685a8c3a4c7a0816c92fe62626e2e4))


### Features

* **cli:** support webp quality setting ([#586](https://github.com/linz/basemaps/issues/586)) ([a456404](https://github.com/linz/basemaps/commit/a456404e2774c7a7adeffd8d114c192b073106b7))





# [1.6.0](https://github.com/linz/basemaps/compare/v1.5.1...v1.6.0) (2020-05-08)


### Bug Fixes

* **serve:** allow any tile set name to be used ([#579](https://github.com/linz/basemaps/issues/579)) ([e3e6a03](https://github.com/linz/basemaps/commit/e3e6a03e66b496ae6f9247dc9cbbb0110f5993c5))
* **tiler:** position non square COGs correctly ([#580](https://github.com/linz/basemaps/issues/580)) ([3eb267a](https://github.com/linz/basemaps/commit/3eb267a1cfceefcdc9fa9872183a71d8da5818f7))


### Features

* **cli:** submit jobs automatically to aws batch with --batch ([#583](https://github.com/linz/basemaps/issues/583)) ([6b35696](https://github.com/linz/basemaps/commit/6b356961a2f7d1497f51f69199aa038e64fbdca9))





## [1.5.1](https://github.com/linz/basemaps/compare/v1.5.0...v1.5.1) (2020-05-07)


### Bug Fixes

* **cli:** aws assume role needs to be able to assume any role provided via the cli ([#578](https://github.com/linz/basemaps/issues/578)) ([d432c89](https://github.com/linz/basemaps/commit/d432c891280bbf312d6a547c4ccb3a766eca3670))





# [1.5.0](https://github.com/linz/basemaps/compare/v1.4.2...v1.5.0) (2020-05-07)


### Bug Fixes

* **cli:** do not error when --replace-with is not supplied ([#577](https://github.com/linz/basemaps/issues/577)) ([2c4f5dc](https://github.com/linz/basemaps/commit/2c4f5dc5f46823ce4e6f03420b9ec9fc233505ea))
* **cli:** root quadkey causes issues with dynamodb so never use it ([#576](https://github.com/linz/basemaps/issues/576)) ([4dfa860](https://github.com/linz/basemaps/commit/4dfa86027980231514ae417ce59e94f02e78c3f6))


### Features

* **landing:** support different imagery sets other than aerial with ?i=:imageId ([#575](https://github.com/linz/basemaps/issues/575)) ([f1b730e](https://github.com/linz/basemaps/commit/f1b730ea8fd61bd907e54be20abe18cd1146e3a9))





## [1.4.2](https://github.com/linz/basemaps/compare/v1.4.1...v1.4.2) (2020-05-06)

**Note:** Version bump only for package @basemaps/core





## [1.4.1](https://github.com/linz/basemaps/compare/v1.4.0...v1.4.1) (2020-05-06)

**Note:** Version bump only for package @basemaps/core
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "1.4.1"
"version": "1.8.0"
}
51 changes: 51 additions & 0 deletions packages/_infra/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,57 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.8.0](https://github.com/linz/basemaps/compare/v1.7.0...v1.8.0) (2020-05-11)

**Note:** Version bump only for package @basemaps/infra





# [1.7.0](https://github.com/linz/basemaps/compare/v1.6.0...v1.7.0) (2020-05-10)

**Note:** Version bump only for package @basemaps/infra





# [1.6.0](https://github.com/linz/basemaps/compare/v1.5.1...v1.6.0) (2020-05-08)

**Note:** Version bump only for package @basemaps/infra





## [1.5.1](https://github.com/linz/basemaps/compare/v1.5.0...v1.5.1) (2020-05-07)


### Bug Fixes

* **cli:** aws assume role needs to be able to assume any role provided via the cli ([#578](https://github.com/linz/basemaps/issues/578)) ([d432c89](https://github.com/linz/basemaps/commit/d432c891280bbf312d6a547c4ccb3a766eca3670))





# [1.5.0](https://github.com/linz/basemaps/compare/v1.4.2...v1.5.0) (2020-05-07)

**Note:** Version bump only for package @basemaps/infra





## [1.4.2](https://github.com/linz/basemaps/compare/v1.4.1...v1.4.2) (2020-05-06)

**Note:** Version bump only for package @basemaps/infra





## [1.4.1](https://github.com/linz/basemaps/compare/v1.4.0...v1.4.1) (2020-05-06)

**Note:** Version bump only for package @basemaps/infra
Expand Down
30 changes: 15 additions & 15 deletions packages/_infra/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basemaps/infra",
"version": "1.4.1",
"version": "1.8.0",
"private": true,
"repository": "git@github.com:linz/basemaps.git",
"author": "",
Expand All @@ -14,20 +14,20 @@
"git-rev-sync": "^2.0.0"
},
"devDependencies": {
"@aws-cdk/aws-batch": "^1.34.1",
"@aws-cdk/aws-certificatemanager": "^1.34.1",
"@aws-cdk/aws-cloudfront": "^1.34.1",
"@aws-cdk/aws-dynamodb": "^1.34.1",
"@aws-cdk/aws-ecr": "^1.34.1",
"@aws-cdk/aws-ecr-assets": "^1.34.1",
"@aws-cdk/aws-elasticloadbalancingv2": "^1.34.1",
"@aws-cdk/aws-elasticloadbalancingv2-targets": "^1.34.1",
"@aws-cdk/aws-s3": "^1.34.1",
"@aws-cdk/core": "^1.34.1",
"@basemaps/lambda-api-tracker": "^1.4.1",
"@basemaps/lambda-shared": "^1.4.1",
"@basemaps/lambda-xyz": "^1.4.1",
"@aws-cdk/aws-batch": "^1.37.0",
"@aws-cdk/aws-certificatemanager": "^1.37.0",
"@aws-cdk/aws-cloudfront": "^1.37.0",
"@aws-cdk/aws-dynamodb": "^1.37.0",
"@aws-cdk/aws-ecr": "^1.37.0",
"@aws-cdk/aws-ecr-assets": "^1.37.0",
"@aws-cdk/aws-elasticloadbalancingv2": "^1.37.0",
"@aws-cdk/aws-elasticloadbalancingv2-targets": "^1.37.0",
"@aws-cdk/aws-s3": "^1.37.0",
"@aws-cdk/core": "^1.37.0",
"@basemaps/lambda-api-tracker": "^1.8.0",
"@basemaps/lambda-shared": "^1.8.0",
"@basemaps/lambda-xyz": "^1.8.0",
"@types/git-rev-sync": "^1.12.0",
"aws-cdk": "^1.34.1"
"aws-cdk": "^1.37.0"
}
}
6 changes: 6 additions & 0 deletions packages/_infra/src/cogify/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export class CogBuilderStack extends cdk.Stack {
dynamoPolicy.addResources(TileMetadataTableArn.getArn(this));
batchInstanceRole.addToPolicy(dynamoPolicy);

// Since roles are passed in via the CLI we ned to assume all the roles
const stsPolicy = new iam.PolicyStatement();
stsPolicy.addActions('sts:AssumeRole');
stsPolicy.addAllResources(); // literally all of the roles!
batchInstanceRole.addToPolicy(stsPolicy);

new iam.CfnInstanceProfile(this, 'CogBatchInstanceProfile', {
instanceProfileName: batchInstanceRole.roleName,
roles: [batchInstanceRole.roleName],
Expand Down
58 changes: 58 additions & 0 deletions packages/cog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,64 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.8.0](https://github.com/linz/basemaps/compare/v1.7.0...v1.8.0) (2020-05-11)


### Bug Fixes

* **cog:** add padding to projwin' ([#594](https://github.com/linz/basemaps/issues/594)) ([72a324a](https://github.com/linz/basemaps/commit/72a324a97ff470e436c3d5360954b9338ff36e59))


### Features

* support rendering different backgrounds for tiles ([#591](https://github.com/linz/basemaps/issues/591)) ([22f38f5](https://github.com/linz/basemaps/commit/22f38f555a678e6968206351d8fbb62a604da39e))





# [1.7.0](https://github.com/linz/basemaps/compare/v1.6.0...v1.7.0) (2020-05-10)


### Features

* **cli:** support webp quality setting ([#586](https://github.com/linz/basemaps/issues/586)) ([a456404](https://github.com/linz/basemaps/commit/a456404e2774c7a7adeffd8d114c192b073106b7))





# [1.6.0](https://github.com/linz/basemaps/compare/v1.5.1...v1.6.0) (2020-05-08)


### Features

* **cli:** submit jobs automatically to aws batch with --batch ([#583](https://github.com/linz/basemaps/issues/583)) ([6b35696](https://github.com/linz/basemaps/commit/6b356961a2f7d1497f51f69199aa038e64fbdca9))





# [1.5.0](https://github.com/linz/basemaps/compare/v1.4.2...v1.5.0) (2020-05-07)


### Bug Fixes

* **cli:** do not error when --replace-with is not supplied ([#577](https://github.com/linz/basemaps/issues/577)) ([2c4f5dc](https://github.com/linz/basemaps/commit/2c4f5dc5f46823ce4e6f03420b9ec9fc233505ea))
* **cli:** root quadkey causes issues with dynamodb so never use it ([#576](https://github.com/linz/basemaps/issues/576)) ([4dfa860](https://github.com/linz/basemaps/commit/4dfa86027980231514ae417ce59e94f02e78c3f6))





## [1.4.2](https://github.com/linz/basemaps/compare/v1.4.1...v1.4.2) (2020-05-06)

**Note:** Version bump only for package @basemaps/cog





## [1.4.1](https://github.com/linz/basemaps/compare/v1.4.0...v1.4.1) (2020-05-06)

**Note:** Version bump only for package @basemaps/cog
Expand Down
14 changes: 7 additions & 7 deletions packages/cog/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basemaps/cog",
"version": "1.4.1",
"version": "1.8.0",
"private": true,
"repository": "git@github.com:linz/basemaps.git",
"author": "",
Expand All @@ -17,12 +17,12 @@
"test": "ospec --globs 'build/**/*.test.js' --preload ../../scripts/test.before.js"
},
"dependencies": {
"@basemaps/geo": "^1.4.1",
"@basemaps/lambda-shared": "^1.4.1",
"@cogeotiff/core": "^1.0.3",
"@cogeotiff/source-aws": "^1.0.3",
"@cogeotiff/source-file": "^1.0.3",
"@cogeotiff/source-url": "^1.0.3",
"@basemaps/geo": "^1.4.2",
"@basemaps/lambda-shared": "^1.8.0",
"@cogeotiff/core": "^1.0.8",
"@cogeotiff/source-aws": "^1.0.8",
"@cogeotiff/source-file": "^1.0.8",
"@cogeotiff/source-url": "^1.0.8",
"@turf/turf": "^5.1.6",
"chalk": "^4.0.0",
"p-limit": "^2.2.1",
Expand Down
Loading

0 comments on commit 41dda90

Please sign in to comment.