Skip to content

Commit

Permalink
馃摝 updates HDK for v0.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
k33g committed May 29, 2023
1 parent b119759 commit d94a8b7
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 19 deletions.
9 changes: 5 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ tasks:
env:
#TAG: "v0.3.4"
#TAG: "v0.3.5"
TAG: "v0.3.6" # next release
#TAG: "v0.3.6" # next release
TAG: "v0.3.7" # next release (this is a pre-release)
cmds:
- echo "馃摝 Generating release..."
- git add .
Expand All @@ -33,13 +34,13 @@ tasks:

remove-tag:
env:
TAG: "v0.3.6"
TAG: "v0.3.7"
cmds:
- git tag -d ${TAG}

build-releases:
env:
TAG: "v0.3.6"
TAG: "v0.3.7"
cmds:
- |
cd capsule-cli
Expand Down Expand Up @@ -72,7 +73,7 @@ tasks:
build-push-docker-image:
vars:
IMAGE_BASE_NAME: "capsule-http"
IMAGE_TAG: "0.3.6"
IMAGE_TAG: "0.3.7"
cmds:
- echo "馃憢 {{.IMAGE_BASE_NAME}}-{{.GOOS}}-{{.GOARCH}}:{{.IMAGE_TAG}}"
- |
Expand Down
2 changes: 1 addition & 1 deletion capsctl/description.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CapsCtl v0.3.6 馃珢 [blueberries]
CapsCtl v0.3.7 馃ウ [broccoli]
2 changes: 1 addition & 1 deletion capsule-cli/description.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[CLI] v0.3.6 馃珢 [blueberries]
[CLI] v0.3.7 馃ウ [broccoli]
2 changes: 1 addition & 1 deletion capsule-http/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ tasks:
GOOS: "linux"
GOARCH: "arm64"
IMAGE_BASE_NAME: "capsule-http"
IMAGE_TAG: "0.3.6"
IMAGE_TAG: "0.3.7"
cmds:
- |
IMAGE_NAME="${IMAGE_BASE_NAME}-${GOOS}-${GOARCH}"
Expand Down
2 changes: 1 addition & 1 deletion capsule-http/description.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[HTTP] v0.3.6 馃珢 [blueberries]
[HTTP] v0.3.7 馃ウ [broccoli]
2 changes: 1 addition & 1 deletion capsule-http/functions/hello-world/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM botsgarden/capsule-http-linux-arm64:0.3.6
FROM botsgarden/capsule-http-linux-arm64:0.3.7
COPY hello-world.wasm .
EXPOSE 8080
CMD ["/capsule-http", "--wasm=./hello-world.wasm", "--httpPort=8080"]
Expand Down
14 changes: 7 additions & 7 deletions docs/docker-capsule-http.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 馃惓 Capsule HTTP Docker image

!!! info "Capsule HTTP Docker images v0.3.6 馃珢 [blueberries]"
- `botsgarden/capsule-http-linux-arm64:0.3.6`
- `botsgarden/capsule-http-linux-amd64:0.3.6`
- `botsgarden/capsule-http-darwin-arm64:0.3.6`
- `botsgarden/capsule-http-darwin-amd64:0.3.6`
!!! info "Capsule HTTP Docker images v0.3.7 馃ウ [broccoli]"
- `botsgarden/capsule-http-linux-arm64:0.3.7`
- `botsgarden/capsule-http-linux-amd64:0.3.7`
- `botsgarden/capsule-http-darwin-arm64:0.3.7`
- `botsgarden/capsule-http-darwin-amd64:0.3.7`

> https://hub.docker.com/repositories/botsgarden
Expand All @@ -13,7 +13,7 @@
```bash
GOOS="linux"
GOARCH="arm64"
IMAGE_TAG="0.3.6"
IMAGE_TAG="0.3.7"
IMAGE_NAME="botsgarden/capsule-http-${GOOS}-${GOARCH}"

docker run \
Expand All @@ -29,7 +29,7 @@ docker run \
Create a new `Dockerfile`:

```dockerfile
FROM botsgarden/capsule-http-linux-arm64:0.3.6
FROM botsgarden/capsule-http-linux-arm64:0.3.7
COPY hello-world.wasm .
EXPOSE 8080
CMD ["/capsule-http", "--wasm=./hello-world.wasm", "--httpPort=8080"]
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
First, download the last version of the Capsule CLI for the appropriate OS & ARCH (and release version):

```bash
VERSION="v0.3.5" OS="linux" ARCH="arm64"
VERSION="v0.3.7" OS="linux" ARCH="arm64"
wget -O capsule https://github.com/bots-garden/capsule/releases/download/${VERSION}/capsule-${VERSION}-${OS}-${ARCH}
chmod +x capsule
```
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
First, download the last version of the Capsule HTTP server for the appropriate OS & ARCH (and release version):

```bash
VERSION="v0.3.6" OS="linux" ARCH="arm64"
VERSION="v0.3.7" OS="linux" ARCH="arm64"
wget -O capsule-http https://github.com/bots-garden/capsule/releases/download/${VERSION}/capsule-http-${VERSION}-${OS}-${ARCH}
chmod +x capsule-http
```
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Capsule Project: the nano wasm runners

!!! info "What's new?"
- `v0.3.7 馃ウ [broccoli]`: 馃殌 **FaaS** mode (documentation in progress) + **NGrok** integration
- `v0.3.6 馃珢 [blueberries]`: Prometheus metrics + 馃惓 Docker images
- `v0.3.5 馃崜 [strawberry]`: Update with HDK & MDK `v0.0.2`
- `v0.3.4 馃崑 [lemon]`: Capsule next generation (performances: x 10 馃殌)
Expand Down
2 changes: 1 addition & 1 deletion release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

馃憢 **be on the main branch**

Last release: `v0.3.6 馃珢 [blueberries]`
Last release: `v0.3.7 馃ウ [broccoli]`

### Update documentation content with the new tag

Expand Down

0 comments on commit d94a8b7

Please sign in to comment.