Skip to content

Commit

Permalink
Merge pull request #2770 from aws/bump/1.27.0
Browse files Browse the repository at this point in the history
chore(release): 1.27.0
  • Loading branch information
MrArnoldPalmer authored Apr 2, 2021
2 parents 7d76e02 + 44a52a4 commit 07d848a
Show file tree
Hide file tree
Showing 78 changed files with 1,532 additions and 1,074 deletions.
27 changes: 27 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,33 @@
"contributions": [
"doc"
]
},
{
"login": "donicek",
"name": "Petr Kacer",
"avatar_url": "https://avatars.githubusercontent.com/u/8548012?v=4",
"profile": "https://github.com/donicek",
"contributions": [
"bug"
]
},
{
"login": "ArmaanT",
"name": "Armaan Tobaccowalla",
"avatar_url": "https://avatars.githubusercontent.com/u/13340433?v=4",
"profile": "https://armaan.tobaccowalla.com",
"contributions": [
"bug"
]
},
{
"login": "ChristopheVico",
"name": "Christophe Vico",
"avatar_url": "https://avatars.githubusercontent.com/u/56592817?v=4",
"profile": "https://github.com/ChristopheVico",
"contributions": [
"bug"
]
}
],
"repoType": "github",
Expand Down
50 changes: 35 additions & 15 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
superchain:
name: jsii/superchain
runs-on: ubuntu-latest
strategy:
matrix:
node: ['10', '14']
env:
# Node version whose images will be aliased to 'nightly' and 'latest'
DEFAULT_NODE_MAJOR_VERSION: 10
steps:
- name: Check out
uses: actions/checkout@v2
Expand Down Expand Up @@ -53,31 +59,45 @@ jobs:
- name: Build Image
if: steps.should-run.outputs.result == 'true'
run: |-
docker build \
--pull \
--build-arg BUILD_TIMESTAMP="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
--build-arg COMMIT_ID='${{ github.sha }}' \
--tag 'jsii/superchain:nightly' \
docker build \
--pull \
--build-arg BUILD_TIMESTAMP="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
--build-arg COMMIT_ID='${{ github.sha }}' \
--build-arg NODE_MAJOR_VERSION=${{ matrix.node }} \
--tag "jsii/superchain:node${{ matrix.node }}-nightly" \
./superchain
- name: Test Image
if: steps.should-run.outputs.result == 'true'
run: |-
docker run \
--rm \
--tty \
--network=host \
-v${{ github.workspace }}:${{ github.workspace }} \
-w${{ github.workspace }} \
'jsii/superchain:nightly' \
docker run \
--rm \
--tty \
--network=host \
-v${{ github.workspace }}:${{ github.workspace }} \
-w${{ github.workspace }} \
"jsii/superchain:node${{ matrix.node }}-nightly" \
bash -c "yarn install --frozen-lockfile && yarn build && yarn test"
# Only when puhsing to main/release from now on
- name: Publish (nightly)
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && github.ref != 'refs/heads/release'
run: |-
docker push jsii/superchain:nightly
docker push jsii/superchain:node${{ matrix.node }}-nightly
# If the current version is the default version, also tag this with the unqualified ':nightly' label
if [[ "${{ matrix.node }}" == "$DEFAULT_NODE_MAJOR_VERSION" ]]; then
docker tag jsii/superchain:node${{ matrix.node }}-nightly jsii/superchain:nightly
docker push jsii/superchain:nightly
fi
- name: Publish (latest)
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/release'
run: |-
docker tag jsii/superchain:nightly jsii/superchain:latest
docker push jsii/superchain:latest
# Alias 'nodeX-nightly's to 'nodeX', then push
docker tag jsii/superchain:node${{ matrix.node }}-nightly jsii/superchain:node${{ matrix.node }}
docker push jsii/superchain:node${{ matrix.node }}
# If the current version is the default version, also tag this with the unqualified ':latest' label
if [[ "${{ matrix.node }}" == "$DEFAULT_NODE_MAJOR_VERSION" ]]; then
docker tag jsii/superchain:node${{ matrix.node }} jsii/superchain:latest
docker push jsii/superchain:latest
fi
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches: [main]
paths: [gh-pages/**]
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -49,7 +50,7 @@ jobs:
publish:
name: Publish
needs: build
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Check out
Expand Down
6 changes: 3 additions & 3 deletions .mergify/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pull_request_rules:
- '#changes-requested-reviews-by=0'
- status-success=Semantic Pull Request
# Docker image validation
- status-success=jsii/superchain
- status-success~=^jsii/superchain
# One test for each OS
- status-success~=^Test \(ubuntu-.*$
- status-success~=^Test \(macos-.*$
Expand Down Expand Up @@ -79,7 +79,7 @@ pull_request_rules:
- '#changes-requested-reviews-by=0'
- status-success=Semantic Pull Request
# Docker image validation
- status-success=jsii/superchain
- status-success~=^jsii/superchain
# One test for each OS
- status-success~=^Test \(ubuntu-.*$
- status-success~=^Test \(macos-.*$
Expand Down Expand Up @@ -128,7 +128,7 @@ pull_request_rules:
- '#changes-requested-reviews-by=0'
- status-success=Semantic Pull Request
# Docker image validation
- status-success=jsii/superchain
- status-success~=^jsii/superchain
# One test for each OS
- status-success~=^Test \(ubuntu-.*$
- status-success~=^Test \(macos-.*$
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.27.0](https://github.com/aws/jsii/compare/v1.26.0...v1.27.0) (2021-04-02)


### Features

* **go:** variadic type helpers to build slices ([#2755](https://github.com/aws/jsii/issues/2755)) ([16b6546](https://github.com/aws/jsii/commit/16b65468c27bf6569a35042279fadb2d5cc4c715))
* **superchain:** also build a superchain image with Node 14 ([#2741](https://github.com/aws/jsii/issues/2741)) ([6364d51](https://github.com/aws/jsii/commit/6364d514edc1904aab5e0e9037a6025c9b335043))


### Bug Fixes

* **go:** dates are mistreated as strings ([#2730](https://github.com/aws/jsii/issues/2730)) ([2ba2ec4](https://github.com/aws/jsii/commit/2ba2ec47af1b3007844c00bd44aa81ccc7729040)), closes [#2659](https://github.com/aws/jsii/issues/2659)
* **go:** missing setter for R/W interface properties ([#2731](https://github.com/aws/jsii/issues/2731)) ([74d0d99](https://github.com/aws/jsii/commit/74d0d9999d6381ef8bec36a45141380f190e26b9)), closes [#2665](https://github.com/aws/jsii/issues/2665)
* **go:** protected property accessors missing ([#2738](https://github.com/aws/jsii/issues/2738)) ([94c799a](https://github.com/aws/jsii/commit/94c799a93ebedb12f1b7c9ae475eeac98d13a755))
* **go:** unable to set an array of interfaces/enums ([#2754](https://github.com/aws/jsii/issues/2754)) ([0cd514e](https://github.com/aws/jsii/commit/0cd514e6e61d47116e9dc693916325fefb90c45d)), closes [#2686](https://github.com/aws/jsii/issues/2686)
* **python:** accept Sequence[T] for array parameters ([#2606](https://github.com/aws/jsii/issues/2606)) ([b09d578](https://github.com/aws/jsii/commit/b09d578464f1b408607bbb9645c65fbb5db318fa)), closes [aws/aws-cdk#13203](https://github.com/aws/aws-cdk/issues/13203)
* **python:** module import fails with: KeyError: '__all__' ([#2757](https://github.com/aws/jsii/issues/2757)) ([c32a889](https://github.com/aws/jsii/commit/c32a8895bdd7c84bd289ca053d15b97086bb5511)), closes [#2750](https://github.com/aws/jsii/issues/2750)
* **rosetta:** 'extract' does not translate samples in submodule READMEs ([#2744](https://github.com/aws/jsii/issues/2744)) ([0a3f01f](https://github.com/aws/jsii/commit/0a3f01fa73e94aea4c86adb64450f45340360b92))
* **superchain:** use entrypoint to set up nvm ([#2736](https://github.com/aws/jsii/issues/2736)) ([0e247b6](https://github.com/aws/jsii/commit/0e247b6d9f432512559fb4642eebce0b1a854859))

## [1.26.0](https://github.com/aws/jsii/compare/v1.24.0...v1.26.0) (2021-03-22)


Expand Down
Loading

0 comments on commit 07d848a

Please sign in to comment.