Skip to content

Commit

Permalink
chore(release): publish (#295)
Browse files Browse the repository at this point in the history
- project: control-panel 0.0.2-alpha.4

- project: upgrader 0.0.2-alpha.3

- project: station 0.0.2-alpha.5

- project: upgrader-api 0.0.2-alpha.4

- project: station-api 0.0.2-alpha.4

- project: wallet-dapp 0.0.2-alpha.6
  • Loading branch information
keplervital authored Jul 5, 2024
1 parent 3af2d0f commit c4a5aaf
Show file tree
Hide file tree
Showing 20 changed files with 223 additions and 63 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/builds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: 'Deterministic builds'

on:
workflow_dispatch: null
push:
branches:
- '**/release**'

jobs:
deterministic-build:
name: 'deterministic-build:optional'
runs-on: ubuntu-latest
strategy:
matrix:
include:
- project: control-panel
artifact: control_panel.wasm.gz
- project: station
artifact: station.wasm.gz
- project: upgrader
artifact: upgrader.wasm.gz
- project: wallet-dapp
artifact: wallet-dapp.tar.gz
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12
- name: 'Deterministic build'
run: |
./scripts/docker-build.sh --${{ matrix.project }}
- name: 'Built hash'
run: |
cat artifacts/${{ matrix.project }}/${{ matrix.artifact }}.sha256
86 changes: 45 additions & 41 deletions .release.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"newVersion": null
},
"orbit-essentials": {
"currentVersion": "0.0.2-alpha.2",
"currentVersion": "0.0.2-alpha.3",
"dependentProjects": [
{
"source": "orbit-essentials-macros-tests",
Expand Down Expand Up @@ -52,14 +52,20 @@
"type": "static",
"dependencyCollection": "dependencies"
},
{
"source": "upgrader-api",
"target": "orbit-essentials",
"type": "static",
"dependencyCollection": "dependencies"
},
{
"source": "station-api",
"target": "orbit-essentials",
"type": "static",
"dependencyCollection": "dependencies"
}
],
"newVersion": "0.0.2-alpha.3"
"newVersion": null
},
"canfund": {
"currentVersion": "0.0.2-alpha.2",
Expand All @@ -80,12 +86,12 @@
"newVersion": null
},
"control-panel": {
"currentVersion": "0.0.2-alpha.2",
"currentVersion": "0.0.2-alpha.3",
"dependentProjects": [],
"newVersion": "0.0.2-alpha.3"
"newVersion": "0.0.2-alpha.4"
},
"control-panel-api": {
"currentVersion": "0.0.2-alpha.2",
"currentVersion": "0.0.2-alpha.3",
"dependentProjects": [
{
"source": "control-panel",
Expand All @@ -100,20 +106,20 @@
"dependencyCollection": "dependencies"
}
],
"newVersion": "0.0.2-alpha.3"
"newVersion": null
},
"upgrader": {
"currentVersion": "0.0.2-alpha.2",
"dependentProjects": [],
"newVersion": null
"newVersion": "0.0.2-alpha.3"
},
"station": {
"currentVersion": "0.0.2-alpha.3",
"currentVersion": "0.0.2-alpha.4",
"dependentProjects": [],
"newVersion": "0.0.2-alpha.4"
"newVersion": "0.0.2-alpha.5"
},
"upgrader-api": {
"currentVersion": "0.0.2-alpha.2",
"currentVersion": "0.0.2-alpha.3",
"dependentProjects": [
{
"source": "upgrader",
Expand All @@ -134,10 +140,10 @@
"dependencyCollection": "dependencies"
}
],
"newVersion": "0.0.2-alpha.3"
"newVersion": "0.0.2-alpha.4"
},
"station-api": {
"currentVersion": "0.0.2-alpha.2",
"currentVersion": "0.0.2-alpha.3",
"dependentProjects": [
{
"source": "control-panel",
Expand All @@ -156,72 +162,70 @@
"target": "station-api",
"type": "static",
"dependencyCollection": "dependencies"
},
{
"source": "upgrader-api",
"target": "station-api",
"type": "static",
"dependencyCollection": "dependencies"
}
],
"newVersion": "0.0.2-alpha.3"
"newVersion": "0.0.2-alpha.4"
},
"wallet-dapp": {
"currentVersion": "0.0.2-alpha.4",
"currentVersion": "0.0.2-alpha.5",
"dependentProjects": [],
"newVersion": "0.0.2-alpha.5"
"newVersion": "0.0.2-alpha.6"
}
},
"changes": {
"orbit-essentials": {
"releaseVersion": {
"rawVersion": "0.0.2-alpha.3",
"gitTag": "@orbit/orbit-essentials-v0.0.2-alpha.3",
"isPrerelease": true
},
"contents": "## 0.0.2-alpha.3 (2024-06-24)\n\n\n### 🚀 Features\n\n- **control-panel:** add registry schema to the control-panel\n\n- **control-panel:** add registry api interface and repository\n\n- **control-panel:** add registry api implementation\n\n\n### ❤️ Thank You\n\n- Jan Wendling\n- Kepler Vital\n- Max\n- mraszyk"
},
"control-panel": {
"releaseVersion": {
"rawVersion": "0.0.2-alpha.3",
"gitTag": "@orbit/control-panel-v0.0.2-alpha.3",
"rawVersion": "0.0.2-alpha.4",
"gitTag": "@orbit/control-panel-v0.0.2-alpha.4",
"isPrerelease": true
},
"contents": "## 0.0.2-alpha.3 (2024-06-24)\n\n\n### 🚀 Features\n\n- **control-panel:** add registry schema to the control-panel\n\n- **control-panel:** add artifact api\n\n- **control-panel:** add registry api interface and repository\n\n- **station:** add CallExternalCanister request type\n\n- **control-panel:** add registry api implementation\n\n- **control-panel:** add find next module version\n\n- **station:** optional fallback controller\n\n\n### ❤️ Thank You\n\n- Jan Wendling\n- Kepler Vital\n- Max\n- mraszyk"
"contents": "## 0.0.2-alpha.4 (2024-07-04)\n\n\n### 🚀 Features\n\n- **station:** disaster recovery MVP\n\n- **upgrader:** disaster recovery flow reuses the same upgrader canister\n\n- **upgrader:** disaster recovery recreates accounts\n\n\n### ❤️ Thank You\n\n- Kepler Vital\n- Max\n- olaszakos"
},
"control-panel-api": {
"upgrader": {
"releaseVersion": {
"rawVersion": "0.0.2-alpha.3",
"gitTag": "@orbit/control-panel-api-v0.0.2-alpha.3",
"gitTag": "@orbit/upgrader-v0.0.2-alpha.3",
"isPrerelease": true
},
"contents": "## 0.0.2-alpha.3 (2024-06-24)\n\n\n### 🚀 Features\n\n- **control-panel:** add artifact api\n\n- **control-panel:** add registry api interface and repository\n\n- **api:** Add the serde::Serialize trait to API types\n\n- **control-panel:** add registry api implementation\n\n- **control-panel:** add find next module version\n\n\n### ❤️ Thank You\n\n- Jan Wendling\n- Kepler Vital\n- Max\n- mraszyk"
"contents": "## 0.0.2-alpha.3 (2024-07-04)\n\n\n### 🚀 Features\n\n- **station:** disaster recovery MVP\n\n- **upgrader:** disaster recovery flow reuses the same upgrader canister\n\n\n### ❤️ Thank You\n\n- Jan Wendling\n- Kepler Vital\n- Max\n- mraszyk\n- olaszakos"
},
"station": {
"releaseVersion": {
"rawVersion": "0.0.2-alpha.4",
"gitTag": "@orbit/station-v0.0.2-alpha.4",
"rawVersion": "0.0.2-alpha.5",
"gitTag": "@orbit/station-v0.0.2-alpha.5",
"isPrerelease": true
},
"contents": "## 0.0.2-alpha.4 (2024-06-24)\n\n\n### 🚀 Features\n\n- **station:** introduce ChangeManagedCanister request type\n\n- **station:** add CreateManagedCanister request type\n\n- **station:** add canister_status endpoint\n\n- **station:** add CallExternalCanister request type\n\n- **station:** optional fallback controller\n\n\n### ❤️ Thank You\n\n- Kepler Vital\n- Max\n- mraszyk"
"contents": "## 0.0.2-alpha.5 (2024-07-04)\n\n\n### 🚀 Features\n\n- **station:** disaster recovery MVP\n\n- **upgrader:** disaster recovery flow reuses the same upgrader canister\n\n- **upgrader:** disaster recovery recreates accounts\n\n\n### ❤️ Thank You\n\n- Kepler Vital\n- Max\n- olaszakos"
},
"upgrader-api": {
"releaseVersion": {
"rawVersion": "0.0.2-alpha.3",
"gitTag": "@orbit/upgrader-api-v0.0.2-alpha.3",
"rawVersion": "0.0.2-alpha.4",
"gitTag": "@orbit/upgrader-api-v0.0.2-alpha.4",
"isPrerelease": true
},
"contents": "## 0.0.2-alpha.3 (2024-06-24)\n\n\n### 🚀 Features\n\n- **api:** Add the serde::Serialize trait to API types\n\n\n### ❤️ Thank You\n\n- Jan Wendling\n- Kepler Vital\n- Max\n- mraszyk"
"contents": "## 0.0.2-alpha.4 (2024-07-04)\n\n\n### 🚀 Features\n\n- **station:** disaster recovery MVP\n\n\n### ❤️ Thank You\n\n- Kepler Vital\n- Max\n- olaszakos"
},
"station-api": {
"releaseVersion": {
"rawVersion": "0.0.2-alpha.3",
"gitTag": "@orbit/station-api-v0.0.2-alpha.3",
"rawVersion": "0.0.2-alpha.4",
"gitTag": "@orbit/station-api-v0.0.2-alpha.4",
"isPrerelease": true
},
"contents": "## 0.0.2-alpha.3 (2024-06-24)\n\n\n### 🚀 Features\n\n- **station:** introduce ChangeManagedCanister request type\n\n- **station:** add CreateManagedCanister request type\n\n- **station:** add canister_status endpoint\n\n- **station:** add CallExternalCanister request type\n\n- **api:** Add the serde::Serialize trait to API types\n\n- **station:** optional fallback controller\n\n\n### ❤️ Thank You\n\n- Jan Wendling\n- Kepler Vital\n- Max\n- mraszyk"
"contents": "## 0.0.2-alpha.4 (2024-07-04)\n\n\n### 🚀 Features\n\n- **station:** disaster recovery MVP\n\n- **upgrader:** disaster recovery flow reuses the same upgrader canister\n\n- **upgrader:** disaster recovery recreates accounts\n\n\n### ❤️ Thank You\n\n- Kepler Vital\n- Max\n- olaszakos"
},
"wallet-dapp": {
"releaseVersion": {
"rawVersion": "0.0.2-alpha.5",
"gitTag": "@orbit/wallet-dapp-v0.0.2-alpha.5",
"rawVersion": "0.0.2-alpha.6",
"gitTag": "@orbit/wallet-dapp-v0.0.2-alpha.6",
"isPrerelease": true
},
"contents": "## 0.0.2-alpha.5 (2024-06-24)\n\n\n### 🚀 Features\n\n- **station:** introduce ChangeManagedCanister request type\n\n- **station:** add CreateManagedCanister request type\n\n- **station:** add canister_status endpoint\n\n- **control-panel:** add artifact api\n\n- **control-panel:** add registry api interface and repository\n\n- **station:** add CallExternalCanister request type\n\n- **control-panel:** add registry api implementation\n\n- **control-panel:** add find next module version\n\n- **station:** optional fallback controller\n\n\n### 🩹 Fixes\n\n- **wallet:** permission page shows individual resource section\n\n\n### ❤️ Thank You\n\n- Kepler Vital\n- Max\n- mraszyk"
"contents": "## 0.0.2-alpha.6 (2024-07-04)\n\n\n### 🚀 Features\n\n- **station:** disaster recovery MVP\n\n- **wallet:** Always lowercase ICP Ledger addresses\n\n- **upgrader:** disaster recovery flow reuses the same upgrader canister\n\n- **upgrader:** disaster recovery recreates accounts\n\n\n### ❤️ Thank You\n\n- Kepler Vital\n- Max\n- olaszakos"
}
}
}
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
FROM --platform=linux/amd64 ubuntu@sha256:bbf3d1baa208b7649d1d0264ef7d522e1dc0deeeaaf6085bf8e4618867f03494 as base
SHELL ["bash", "-c"]
ENV TZ=UTC
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
apt -yq update && \
apt -yqq install --no-install-recommends curl ca-certificates \
Expand All @@ -10,6 +12,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone &

# Code specific dependencies
FROM base as builder
SHELL ["bash", "-c"]
WORKDIR /code
ENV RUSTUP_HOME=/opt/rustup \
CARGO_HOME=/opt/cargo \
Expand Down Expand Up @@ -40,6 +43,7 @@ RUN eval "$(fnm env)" && \

# Build the Orbit Upgrader Canister
FROM builder as build_upgrader
SHELL ["bash", "-c"]
WORKDIR /code
LABEL io.icp.artifactType="canister" \
io.icp.artifactName="upgrader"
Expand All @@ -49,6 +53,7 @@ RUN eval "$(fnm env)" && \

# Build the Orbit Station Canister
FROM builder as build_station
SHELL ["bash", "-c"]
WORKDIR /code
LABEL io.icp.artifactType="canister" \
io.icp.artifactName="station"
Expand All @@ -58,6 +63,7 @@ RUN eval "$(fnm env)" && \

# Build the Orbit Control Panel
FROM builder as build_control_panel
SHELL ["bash", "-c"]
WORKDIR /code
LABEL io.icp.artifactType="canister" \
io.icp.artifactName="control-panel"
Expand All @@ -67,6 +73,7 @@ RUN eval "$(fnm env)" && \

# Build the Orbit Wallet Frontend Assets
FROM builder as build_wallet_dapp
SHELL ["bash", "-c"]
WORKDIR /code
LABEL io.icp.artifactType="canister" \
io.icp.artifactName="wallet-dapp"
Expand Down
20 changes: 20 additions & 0 deletions apps/wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## 0.0.2-alpha.6 (2024-07-04)


### 🚀 Features

- **station:** disaster recovery MVP

- **wallet:** Always lowercase ICP Ledger addresses

- **upgrader:** disaster recovery flow reuses the same upgrader canister

- **upgrader:** disaster recovery recreates accounts


### ❤️ Thank You

- Kepler Vital
- Max
- olaszakos

## 0.0.2-alpha.5 (2024-06-24)


Expand Down
2 changes: 1 addition & 1 deletion apps/wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wallet-dapp",
"private": true,
"version": "0.0.2-alpha.5",
"version": "0.0.2-alpha.6",
"type": "module",
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion apps/wallet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"commands": [
"mkdir -p ./artifacts/wallet-dapp",
"pnpm --filter wallet-dapp run build",
"TAR_CMD=$(command -v gtar >/dev/null 2>&1 && echo gtar || echo tar) && $TAR_CMD -cvf ./artifacts/wallet-dapp/wallet-dapp.tar.gz --mtime='2021-05-07 17:00Z' --sort=name --owner=0 --group=0 --numeric-owner --format=gnu --exclude .last_build_id -C {projectRoot}/dist .",
"find {projectRoot}/dist -exec touch -t 202407041700 {} +",
"TAR_CMD=$(command -v gtar >/dev/null 2>&1 && echo gtar || echo tar) && $TAR_CMD -cvf ./artifacts/wallet-dapp/wallet-dapp.tar.gz --mtime='2024-07-04 17:00:00' --sort=name --owner=0 --group=0 --numeric-owner --format=gnu --exclude .last_build_id -C {projectRoot}/dist .",
"sha256sum ./artifacts/wallet-dapp/wallet-dapp.tar.gz | awk '{ print $1 }' > ./artifacts/wallet-dapp/wallet-dapp.tar.gz.sha256"
],
"parallel": false
Expand Down
9 changes: 7 additions & 2 deletions apps/wallet/public/compat.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"__important__": "This file is automatically generated by the build process. Do not modify it manually.",
"version": "0.0.2-alpha.5",
"version": "0.0.2-alpha.6",
"api": {
"latest": "0.0.2-alpha.4",
"latest": "0.0.2-alpha.5",
"compatibility": {
"0.0.2-alpha.5": {
"ui": [
"0.0.2-alpha.6"
]
},
"0.0.2-alpha.4": {
"ui": [
"0.0.2-alpha.5"
Expand Down
18 changes: 18 additions & 0 deletions core/control-panel/impl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 0.0.2-alpha.4 (2024-07-04)


### 🚀 Features

- **station:** disaster recovery MVP

- **upgrader:** disaster recovery flow reuses the same upgrader canister

- **upgrader:** disaster recovery recreates accounts


### ❤️ Thank You

- Kepler Vital
- Max
- olaszakos

## 0.0.2-alpha.3 (2024-06-24)


Expand Down
Loading

0 comments on commit c4a5aaf

Please sign in to comment.