Skip to content

Commit

Permalink
Merge pull request #5142 from Agoric/release-20220418T205317
Browse files Browse the repository at this point in the history
chore(release): publish 16
  • Loading branch information
mergify[bot] authored Apr 19, 2022
2 parents 78de79b + 75965ee commit 3d0d477
Show file tree
Hide file tree
Showing 72 changed files with 1,004 additions and 279 deletions.
144 changes: 49 additions & 95 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,29 @@ on:
branches: [master] # $default-branch
tags:
- '@agoric/sdk@*'
workflow_dispatch:

jobs:
docker-deployment:
docker-sdk:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- linux/amd64
- linux/arm64/v8
outputs:
tag: '${{ steps.docker-tags.outputs.tags }}'
tags: '${{ steps.docker-tags.outputs.tags }},${{ steps.snapshot-tag.outputs.tag }}'
snapshot-tag: '${{ steps.snapshot-tag.outputs.tag }}'
steps:
- uses: actions/checkout@v2
- name: Save GIT_REVISION
run: echo "GIT_REVISION=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Save GIT_COMMIT
run: echo "GIT_COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Save commit hash, url of submodules to environment
run: |
node packages/xsnap/src/build.js --show-env >> $GITHUB_ENV
- name: Compute docker-tags
id: docker-tags
run: |
Expand All @@ -37,14 +50,6 @@ jobs:
SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-6)
SNAPSHOT_TAG="${TIMESTAMP}${SHORT_SHA}"
echo "::set-output name=tag::$SNAPSHOT_TAG"
- name: Prefix tags
id: prefix-tags
run: |
IMAGE="agoric/deployment"
TAGS="${{ steps.docker-tags.outputs.tags }},${{ steps.snapshot-tag.outputs.tag }}"
# prefix with image tags
PREFIXED=$(echo "$TAGS" | awk "NR==1{gsub(/^|,/,\"&$IMAGE:\")} 1")
echo "::set-output name=tags::$PREFIXED"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand All @@ -54,65 +59,38 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
- name: Prefix tags deployment
id: prefix-tags-deployment
run: |
IMAGE="agoric/deployment"
TAGS="${{ steps.docker-tags.outputs.tags }},${{ steps.snapshot-tag.outputs.tag }}"
# prefix with image tags
PREFIXED=$(echo "$TAGS" | awk "NR==1{gsub(/^|,/,\"&$IMAGE:\")} 1")
echo "::set-output name=tags::$PREFIXED"
- name: Build and Push deployment
uses: docker/build-push-action@v2
with:
file: packages/deployment/Dockerfile.deployment
context: packages/deployment/docker
platforms: linux/amd64,linux/arm64/v8
platforms: ${{ matrix.platform }}
push: true
tags: '${{ steps.prefix-tags.outputs.tags }}'
- name: notify on failure
if: failure()
uses: ./.github/actions/notify-status
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
from: ${{ secrets.NOTIFY_EMAIL_FROM }}
to: ${{ secrets.NOTIFY_EMAIL_TO }}
password: ${{ secrets.NOTIFY_EMAIL_PASSWORD }}

docker-sdk:
runs-on: ubuntu-latest
needs: docker-deployment
outputs:
tag: '${{ needs.docker-deployment.outputs.tag }}'
tags: '${{ needs.docker-deployment.outputs.tags }}'
snapshot-tag: '${{ needs.docker-deployment.outputs.snapshot-tag }}'
steps:
- uses: actions/checkout@v2
- name: Save GIT_REVISION
run: echo "GIT_REVISION=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Save GIT_COMMIT
run: echo "GIT_COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Save commit hash, url of submodules to environment
run: |
node packages/xsnap/src/build.js --show-env >> $GITHUB_ENV
- name: Prefix tags
id: prefix-tags
tags: '${{ steps.prefix-tags-deployment.outputs.tags }}'
- name: Prefix tags sdk
id: prefix-tags-sdk
run: |
IMAGE="agoric/agoric-sdk"
TAGS="${{ needs.docker-deployment.outputs.tags }}"
TAGS="${{ steps.docker-tags.outputs.tags }},${{ steps.snapshot-tag.outputs.tag }}"
# prefix with image tags
PREFIXED=$(echo "$TAGS" | awk "NR==1{gsub(/^|,/,\"&$IMAGE:\")} 1")
echo "::set-output name=tags::$PREFIXED"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
id: build-sdk
- name: Build and Push sdk
uses: docker/build-push-action@v2
with:
file: packages/deployment/Dockerfile.sdk
context: ./
platforms: linux/amd64,linux/arm64/v8
platforms: ${{ matrix.platform }}
push: true
tags: '${{ steps.prefix-tags.outputs.tags }}'
tags: '${{ steps.prefix-tags-sdk.outputs.tags }}'
# When changing/adding entries here, make sure to search the whole
# project for `@@AGORIC_DOCKER_SUBMODULES@@`
build-args: |
Expand All @@ -122,6 +100,24 @@ jobs:
XSNAP_NATIVE_COMMIT_HASH=${{env.XSNAP_NATIVE_COMMIT_HASH}}
XSNAP_NATIVE_URL=${{env.XSNAP_NATIVE_URL}}
GIT_REVISION=${{env.GIT_REVISION}}
- name: Prefix tags setup
id: prefix-tags-setup
run: |
IMAGE="agoric/cosmic-swingset-setup"
TAGS="${{ steps.docker-tags.outputs.tags }},${{ steps.snapshot-tag.outputs.tag }}"
# prefix with image tags
PREFIXED=$(echo "$TAGS" | awk "NR==1{gsub(/^|,/,\"&$IMAGE:\")} 1")
echo "::set-output name=tags::$PREFIXED"
- name: Build and Push setup
uses: docker/build-push-action@v2
with:
file: packages/deployment/Dockerfile
context: packages/deployment
platforms: ${{ matrix.platform }}
tags: '${{ steps.prefix-tags-setup.outputs.tags }}'
push: true
build-args: |
TAG=${{ steps.snapshot-tag.outputs.tag }}
- name: notify on failure
if: failure()
uses: ./.github/actions/notify-status
Expand Down Expand Up @@ -159,7 +155,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
id: build-sdk
uses: docker/build-push-action@v2
with:
file: packages/deployment/Dockerfile.ibc-alpha
Expand Down Expand Up @@ -201,7 +196,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
id: build-sdk
uses: docker/build-push-action@v2
with:
file: packages/solo/Dockerfile
Expand All @@ -217,43 +211,3 @@ jobs:
from: ${{ secrets.NOTIFY_EMAIL_FROM }}
to: ${{ secrets.NOTIFY_EMAIL_TO }}
password: ${{ secrets.NOTIFY_EMAIL_PASSWORD }}

docker-setup:
needs: docker-sdk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prefix tags
id: prefix-tags
run: |
IMAGE="agoric/cosmic-swingset-setup"
TAGS="${{ needs.docker-sdk.outputs.tags }}"
# prefix with image tags
PREFIXED=$(echo "$TAGS" | awk "NR==1{gsub(/^|,/,\"&$IMAGE:\")} 1")
echo "::set-output name=tags::$PREFIXED"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
id: build-sdk
uses: docker/build-push-action@v2
with:
file: packages/deployment/Dockerfile
context: packages/deployment
platforms: linux/amd64,linux/arm64/v8
tags: '${{ steps.prefix-tags.outputs.tags }}'
push: true
- name: notify on failure
if: failure()
uses: ./.github/actions/notify-status
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
from: ${{ secrets.NOTIFY_EMAIL_FROM }}
to: ${{ secrets.NOTIFY_EMAIL_TO }}
password: ${{ secrets.NOTIFY_EMAIL_PASSWORD }}
27 changes: 27 additions & 0 deletions golang/cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.29.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/[email protected]...@agoric/[email protected]) (2022-04-18)


### ⚠ BREAKING CHANGES

* consistent Node engine requirement (>=14.15.0)

### Features

* can only lien vested tokens ([9eea226](https://github.com/Agoric/agoric-sdk/commit/9eea22695b43e899c2dc701a6cdc6b3aa2e5f987))
* track delegation in lien wrapper account ([05da39f](https://github.com/Agoric/agoric-sdk/commit/05da39fdbaaaeadef52f7eee874517fd1e8c0299))


### Bug Fixes

* prevent panic in `BindPort` ([5df86b0](https://github.com/Agoric/agoric-sdk/commit/5df86b0753367af883a2d1563a7267bcb15d1779))
* **cosmos:** make swingset key cli easier to use ([08f61a3](https://github.com/Agoric/agoric-sdk/commit/08f61a33da95cd2481cbb8bedf88b5f5c0784482))
* add account wrappers for whole account hierarchy ([633a07f](https://github.com/Agoric/agoric-sdk/commit/633a07f4179e55824ba37b2b341347dd7db83b64))
* **cosmosswingset:** check negativity before castnig to uint ([db6c3da](https://github.com/Agoric/agoric-sdk/commit/db6c3dab4162e3e52720e81d10b1798064b94817))


### Miscellaneous Chores

* consistent Node engine requirement (>=14.15.0) ([ddc40fa](https://github.com/Agoric/agoric-sdk/commit/ddc40fa525f845ed900512c38b99f01458a3d131))



## [0.28.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/[email protected]...@agoric/[email protected]) (2022-02-24)


Expand Down
2 changes: 1 addition & 1 deletion golang/cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agoric/cosmos",
"version": "0.28.0",
"version": "0.29.0",
"description": "Connect JS to the Cosmos blockchain SDK",
"main": "src/index.cjs",
"engines": {
Expand Down
32 changes: 32 additions & 0 deletions packages/ERTP/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.14.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/[email protected]...@agoric/[email protected]) (2022-04-18)


### ⚠ BREAKING CHANGES

* consistent Node engine requirement (>=14.15.0)

### Features

* implement the durable kind API ([56bad98](https://github.com/Agoric/agoric-sdk/commit/56bad985275787d18c34ac14b377a4d0348d699b)), closes [#4495](https://github.com/Agoric/agoric-sdk/issues/4495)
* split single- and multi-faceted VO definitions into their own functions ([fcf293a](https://github.com/Agoric/agoric-sdk/commit/fcf293a4fcdf64bf30b377c7b3fb8b728efbb4af)), closes [#5093](https://github.com/Agoric/agoric-sdk/issues/5093)
* yet another overhaul of the `defineKind` API ([3e02d42](https://github.com/Agoric/agoric-sdk/commit/3e02d42312b2963c165623c8cd559b431e5ecdce)), closes [#4905](https://github.com/Agoric/agoric-sdk/issues/4905)
* **ertp:** support min/max for AmountMath ([#4474](https://github.com/Agoric/agoric-sdk/issues/4474)) ([05c3060](https://github.com/Agoric/agoric-sdk/commit/05c3060c6f589dc6d7ba209e27d3300e9ad4b05c))


### Bug Fixes

* document invariants ([9a7ac04](https://github.com/Agoric/agoric-sdk/commit/9a7ac04093a79df4092907c245c2242599c98bc7))
* recover stuck payments ([2e366cb](https://github.com/Agoric/agoric-sdk/commit/2e366cbbd447c0117f66bb740b05d2a1b4e82f33))
* remove purse.claim per review comment ([e68ce40](https://github.com/Agoric/agoric-sdk/commit/e68ce40cb019f82b21ec623761a1df3cd68c27f2))
* revert moveAssets changes ([58a61bb](https://github.com/Agoric/agoric-sdk/commit/58a61bb6f842357bd4cbc9628204fc8a1e8c7b53))
* review comments ([f35ec10](https://github.com/Agoric/agoric-sdk/commit/f35ec103e7a8efe16baa42ffad32055142fde1c1))
* typo ([#4871](https://github.com/Agoric/agoric-sdk/issues/4871)) ([3d36314](https://github.com/Agoric/agoric-sdk/commit/3d36314559b65a01287b89c74c4ad96dfd632027))
* virtualize payments, purses, ledger ([#4618](https://github.com/Agoric/agoric-sdk/issues/4618)) ([dfeda1b](https://github.com/Agoric/agoric-sdk/commit/dfeda1bd7d8ca954b139d8dedda0624b924b8d81))


### Miscellaneous Chores

* consistent Node engine requirement (>=14.15.0) ([ddc40fa](https://github.com/Agoric/agoric-sdk/commit/ddc40fa525f845ed900512c38b99f01458a3d131))



### [0.13.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/[email protected]...@agoric/[email protected]) (2022-02-24)


Expand Down
14 changes: 7 additions & 7 deletions packages/ERTP/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agoric/ertp",
"version": "0.13.3",
"version": "0.14.0",
"description": "Electronic Rights Transfer Protocol (ERTP). A smart contract framework for exchanging electronic rights",
"type": "module",
"main": "src/index.js",
Expand Down Expand Up @@ -36,13 +36,13 @@
},
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
"dependencies": {
"@agoric/assert": "^0.3.16",
"@endo/eventual-send": "^0.15.3",
"@agoric/assert": "^0.4.0",
"@agoric/nat": "^4.1.0",
"@agoric/notifier": "^0.3.35",
"@agoric/store": "^0.6.10",
"@agoric/swingset-vat": "^0.25.1",
"@agoric/vat-data": "^0.1.0",
"@agoric/notifier": "^0.4.0",
"@agoric/store": "^0.7.0",
"@agoric/swingset-vat": "^0.26.0",
"@agoric/vat-data": "^0.2.0",
"@endo/eventual-send": "^0.15.3",
"@endo/marshal": "^0.6.7",
"@endo/promise-kit": "^0.2.41"
},
Expand Down
Loading

0 comments on commit 3d0d477

Please sign in to comment.