Skip to content

Commit

Permalink
chore(release): 1.17.0 (#2416)
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-cdk-automation authored Jan 13, 2021
1 parent 99a3413 commit 4aaed09
Show file tree
Hide file tree
Showing 152 changed files with 7,430 additions and 7,150 deletions.
45 changes: 42 additions & 3 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@
"profile": "https://github.com/jsteinich",
"contributions": [
"bug",
"ideas"
"ideas",
"code"
]
},
{
Expand Down Expand Up @@ -742,7 +743,8 @@
"java",
"maintenance",
"python",
"review"
"review",
"blog"
]
},
{
Expand Down Expand Up @@ -971,7 +973,8 @@
"avatar_url": "https://avatars2.githubusercontent.com/u/171072?v=4",
"profile": "https://harimenon.com/",
"contributions": [
"blog"
"blog",
"doc"
]
},
{
Expand Down Expand Up @@ -1018,6 +1021,42 @@
"contributions": [
"bug"
]
},
{
"login": "benbridts",
"name": "Ben Bridts",
"avatar_url": "https://avatars0.githubusercontent.com/u/1301221?v=4",
"profile": "http://twiiter.com/benbridts",
"contributions": [
"doc"
]
},
{
"login": "MohamadSoufan",
"name": "Mohamad Soufan",
"avatar_url": "https://avatars3.githubusercontent.com/u/28849417?v=4",
"profile": "https://github.com/MohamadSoufan",
"contributions": [
"doc"
]
},
{
"login": "Chriscbr",
"name": "Christopher Rybicki",
"avatar_url": "https://avatars2.githubusercontent.com/u/5008987?v=4",
"profile": "https://rybicki.io/",
"contributions": [
"doc"
]
},
{
"login": "bmacher",
"name": "Benjamin Macher",
"avatar_url": "https://avatars0.githubusercontent.com/u/32685580?v=4",
"profile": "http://macher.dev",
"contributions": [
"doc"
]
}
],
"repoType": "github",
Expand Down
27 changes: 18 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2

updates:
- package-ecosystem: npm
directory: "/"
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 10
Expand All @@ -12,13 +12,13 @@ updates:
ignore:
- dependency-name: typescript
versions:
- ">= 3.10.a"
- dependency-name: "@types/node"
- '>= 3.10.a'
- dependency-name: '@types/node'
versions:
- ">= 11.a"
- '>= 11.a'

- package-ecosystem: nuget
directory: "/packages/@jsii/dotnet-runtime/src"
directory: '/packages/@jsii/dotnet-runtime/src'
schedule:
interval: daily
open-pull-requests-limit: 10
Expand All @@ -27,7 +27,7 @@ updates:
- language/dotnet

- package-ecosystem: nuget
directory: "/packages/@jsii/dotnet-runtime-test/test"
directory: '/packages/@jsii/dotnet-runtime-test/test'
schedule:
interval: daily
open-pull-requests-limit: 10
Expand All @@ -36,15 +36,24 @@ updates:
- language/dotnet

- package-ecosystem: pip
directory: "/packages/@jsii/python-runtime"
directory: '/packages/@jsii/python-runtime'
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
- language/python


- package-ecosystem: pip
directory: '/gh-pages'
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
- language/python

- package-ecosystem: github-actions
directory: "/"
directory: '/'
schedule:
interval: daily
12 changes: 0 additions & 12 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,6 @@ jobs:
-w${{ github.workspace }} \
'jsii/superchain:nightly' \
bash -c "yarn install --frozen-lockfile && yarn build && yarn test"
- name: Dump Image
if: steps.should-run.outputs.result == 'true'
run: |-
docker image save 'jsii/superchain:nightly' \
> ${{ runner.temp }}/jsii-superchain.nightly.tar
- name: Upload Artifact
if: steps.should-run.outputs.result == 'true'
uses: actions/upload-artifact@v2
with:
name: 'jsii-superchain.nightly'
path: ${{ runner.temp }}/jsii-superchain.nightly.tar
# Only when puhsing to main/release from now on
- name: Publish (nightly)
Expand All @@ -92,4 +81,3 @@ jobs:
run: |-
docker tag jsii/superchain:nightly jsii/superchain:latest
docker push jsii/superchain:latest
79 changes: 79 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Workflow that publishes to the gh-pacges branch
name: GitHub Pages

on:
pull_request:
branches: [main]
push:
branches: [main]
paths: [gh-pages/**]

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Check out
uses: actions/checkout@v2
- name: Locate Caches
id: cache-locations
run: |-
echo "::set-output name=pip-cache::$(python3 -m pip cache dir)"
- name: Cache
uses: actions/cache@v2
with:
path: ${{ steps.cache-locations.outputs.pip-cache }}
key: ${{ runner.os }}-${{ hashFiles('**/requirements-dev.txt') }}
restore-keys: ${{ runner.os }}-
- name: Install Dependencies
run: |-
pip install -r requirements-dev.txt
working-directory: gh-pages
- name: Build DocSite
run: |-
mkdir -p ${{ runner.temp }}/site
mkdocs build \
--strict \
--site-dir ${{ runner.temp }}/site
working-directory: gh-pages
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: doc-site
path: ${{ runner.temp }}/site/

publish:
name: Publish
needs: build
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
with:
ref: gh-pages
token: ${{ secrets.AUTO_APPROVE_GITHUB_TOKEN }}
- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: doc-site
path: ${{ runner.temp }}/site
- name: Configure Git
run: |-
git config user.name "AWS CDK Automation"
git config user.email "aws-cdk+automation@amazon.com"
- name: Prepare Commit
run: |-
rsync --delete --exclude=.git --recursive ${{ runner.temp }}/site/ ./
touch .nojekyll
git add .
git diff --cached --exit-code >/dev/null || (
git commit -am 'docs: publish from ${{ github.sha }}'
)
- name: Push
run: |-
git push origin gh-pages:gh-pages
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
java-version: '8'
- name: Set up Node 12
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v2.1.4
with:
node-version: '12'
- name: Set up Python 3.6
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
with:
java-version: '8'
- name: Set up Node 12
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v2.1.4
with:
node-version: '12'
- name: Set up Python 3.6
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Set up Node ${{ matrix.node }}
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v2.1.4
with:
node-version: ${{ matrix.node }}
- name: Set up Python ${{ matrix.python }}
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:
with:
java-version: '8'
- name: Set up Node 10
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v2.1.4
with:
node-version: '10'
- name: Set up Python 3.6
Expand Down
78 changes: 78 additions & 0 deletions .github/workflows/push-go-runtime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Workflows pertaining to the jsii/superchain Docker image
name: Push Jsii Runtime Go

on:
push:
branches: [main]

jobs:
push-go-runtime:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Set up Node 10
uses: actions/setup-node@v2.1.4
with:
node-version: '10'
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: |-
# TypeScript project dependencies
yarn install --frozen-lockfile
- name: Align Versions
run: |-
./scripts/align-version.sh
- name: Build dependencies
run: |-
yarn build \
--scope codemaker \
--scope @jsii/spec \
--scope @jsii/kernel \
--scope @jsii/runtime
- name: Build
run: |-
yarn build \
--scope @jsii/go-runtime
- name: Build Repo Directory
id: build-repo-dir
working-directory: ${{ github.workspace }}/packages/@jsii/go-runtime
env:
JSII_RUNTIME_REPO_NAME: ${{ secrets.JSII_RUNTIME_REPO_NAME }}
JSII_RUNTIME_REPO_USERNAME: ${{ secrets.JSII_RUNTIME_REPO_USERNAME }}
JSII_RUNTIME_REPO_TOKEN: ${{ secrets.AUTO_APPROVE_GITHUB_TOKEN }}
run: |-
REPO_DIR=$(mktemp -d)
yarn ts-node ./build-tools/build-repo-dir.ts $REPO_DIR
echo "::set-output name=repodir::$REPO_DIR"
- name: Check for changes
id: check-for-changes
run: |-
# Change directory manually as using `working-directory` doesn't seem to support using outputs from the previous step
cd ${{ steps.build-repo-dir.outputs.repodir }}
git fetch --depth=1 --quiet origin main
git add .
# Check for modifications in tracked files
changed=$(git diff --name-only origin/main)
if [-z "$changed"]; then
echo "::set-output name=result::false"
else
echo "::set-output name=result::true"
fi
- name: Commit and Push
if: steps.check-for-changes.outputs.result == 'true'
env:
JSII_RUNTIME_REPO_NAME: ${{ secrets.JSII_RUNTIME_REPO_NAME }}
JSII_RUNTIME_REPO_USERNAME: ${{ secrets.JSII_RUNTIME_REPO_USERNAME }}
JSII_RUNTIME_REPO_TOKEN: ${{ secrets.AUTO_APPROVE_GITHUB_TOKEN }}
run: |-
MESSAGE=$(git log -1 --format=%s)
cd ${{ steps.build-repo-dir.outputs.repodir }}
git config user.name "$JSII_RUNTIME_REPO_USERNAME"
git config user.email "aws-cdk+automation@amazon.com"
git commit -m "$MESSAGE"
git push https://$JSII_RUNTIME_REPO_USERNAME:$JSII_RUNTIME_REPO_TOKEN@github.com/$JSII_RUNTIME_REPO_NAME.git main
2 changes: 1 addition & 1 deletion .github/workflows/yarn-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2

- name: Set up Node
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v2.1.4
with:
node-version: 10

Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

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.17.0](https://github.com/aws/jsii/compare/v1.16.0...v1.17.0) (2021-01-13)


### Features

* add support for bin-scripts (python only) ([#1941](https://github.com/aws/jsii/issues/1941)) ([61ef5ed](https://github.com/aws/jsii/commit/61ef5edc9696c41a45984c907dc30771c675e20b))
* **dotnet,java:** kernel process inherits host's STDERR ([#2248](https://github.com/aws/jsii/issues/2248)) ([70ce153](https://github.com/aws/jsii/commit/70ce15312d7553bc44c2e4f8981b596563b5ecd7))


### Bug Fixes

* bad working directory in go runtime push ([#2356](https://github.com/aws/jsii/issues/2356)) ([53457e2](https://github.com/aws/jsii/commit/53457e2f6063e5f0202eac7040ad03e1ed64805e))
* **dotnet:** Use nested classes for proxies to avoid name collision ([#2368](https://github.com/aws/jsii/issues/2368)) ([90b17e2](https://github.com/aws/jsii/commit/90b17e2a7da159879a7e618ce6f2edca336f316e)), closes [#2367](https://github.com/aws/jsii/issues/2367)
* **go:** generated code runtime dependency version ([#2399](https://github.com/aws/jsii/issues/2399)) ([f1a06e5](https://github.com/aws/jsii/commit/f1a06e5f71e599fcf6efccaa0906cee8cd93d3e1))
* **jsii:** errors when invoking with a project root argument ([#2351](https://github.com/aws/jsii/issues/2351)) ([9c66340](https://github.com/aws/jsii/commit/9c66340d2471db36175000c6673d1d498f4ec2c5))
* **jsii:** unknown error in Assembler._validateHeritageClauses ([#2350](https://github.com/aws/jsii/issues/2350)) ([3120bf4](https://github.com/aws/jsii/commit/3120bf448cc160cb0249aa57a0a2bd62e35c1659)), closes [#2349](https://github.com/aws/jsii/issues/2349)
* **pacmak:** illegal static overrides in java & c# ([#2373](https://github.com/aws/jsii/issues/2373)) ([4672e4b](https://github.com/aws/jsii/commit/4672e4b5f37a83ebfe6e2296c81839af6b296d8f)), closes [#2358](https://github.com/aws/jsii/issues/2358)

## [1.16.0](https://github.com/aws/jsii/compare/v1.15.0...v1.16.0) (2020-12-07)


Expand Down
Loading

0 comments on commit 4aaed09

Please sign in to comment.