Skip to content

Commit 2753339

Browse files
committed
🌺 gardening externalize the faas components
1 parent 1236268 commit 2753339

File tree

210 files changed

+4
-6084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+4
-6084
lines changed

.github/workflows/release.yml

-84
Original file line numberDiff line numberDiff line change
@@ -26,87 +26,3 @@ jobs:
2626
ldflags: "-s -w"
2727
#extra_files: ./capsulelauncher/README.md
2828
goversion: "https://dl.google.com/go/go1.18.4.linux-amd64.tar.gz"
29-
30-
releases-matrix-registry:
31-
name: Release Capsule Registry Binary
32-
runs-on: ubuntu-latest
33-
strategy:
34-
matrix:
35-
# build and publish in parallel: linux/amd64
36-
goos: [linux, darwin]
37-
goarch: [amd64, arm64]
38-
steps:
39-
- uses: actions/checkout@v2
40-
- uses: wangyoucao577/[email protected]
41-
with:
42-
github_token: ${{ secrets.GITHUB_TOKEN }}
43-
goos: ${{ matrix.goos }}
44-
goarch: ${{ matrix.goarch }}
45-
project_path: "./capsule-registry"
46-
binary_name: "capsule-registry"
47-
ldflags: "-s -w"
48-
#extra_files: ./capsulectl/README.md
49-
goversion: "https://dl.google.com/go/go1.18.4.linux-amd64.tar.gz"
50-
51-
releases-matrix-reverse-proxy:
52-
name: Release Capsule Reverse Proxy Binary
53-
runs-on: ubuntu-latest
54-
strategy:
55-
matrix:
56-
# build and publish in parallel: linux/amd64
57-
goos: [linux, darwin]
58-
goarch: [amd64, arm64]
59-
steps:
60-
- uses: actions/checkout@v2
61-
- uses: wangyoucao577/[email protected]
62-
with:
63-
github_token: ${{ secrets.GITHUB_TOKEN }}
64-
goos: ${{ matrix.goos }}
65-
goarch: ${{ matrix.goarch }}
66-
project_path: "./capsule-reverse-proxy"
67-
binary_name: "capsule-reverse-proxy"
68-
ldflags: "-s -w"
69-
#extra_files: ./capsulectl/README.md
70-
goversion: "https://dl.google.com/go/go1.18.4.linux-amd64.tar.gz"
71-
72-
releases-matrix-worker:
73-
name: Release Capsule Worker Binary
74-
runs-on: ubuntu-latest
75-
strategy:
76-
matrix:
77-
# build and publish in parallel: linux/amd64
78-
goos: [linux, darwin]
79-
goarch: [amd64, arm64]
80-
steps:
81-
- uses: actions/checkout@v2
82-
- uses: wangyoucao577/[email protected]
83-
with:
84-
github_token: ${{ secrets.GITHUB_TOKEN }}
85-
goos: ${{ matrix.goos }}
86-
goarch: ${{ matrix.goarch }}
87-
project_path: "./capsule-worker"
88-
binary_name: "capsule-worker"
89-
ldflags: "-s -w"
90-
#extra_files: ./capsulectl/README.md
91-
goversion: "https://dl.google.com/go/go1.18.4.linux-amd64.tar.gz"
92-
93-
releases-matrix-cli:
94-
name: Release Capsule CLI Binary
95-
runs-on: ubuntu-latest
96-
strategy:
97-
matrix:
98-
# build and publish in parallel: linux/amd64
99-
goos: [linux, darwin]
100-
goarch: [amd64, arm64]
101-
steps:
102-
- uses: actions/checkout@v2
103-
- uses: wangyoucao577/[email protected]
104-
with:
105-
github_token: ${{ secrets.GITHUB_TOKEN }}
106-
goos: ${{ matrix.goos }}
107-
goarch: ${{ matrix.goarch }}
108-
project_path: "./capsule-ctl"
109-
binary_name: "caps"
110-
ldflags: "-s -w"
111-
#extra_files: ./capsulectl/README.md
112-
goversion: "https://dl.google.com/go/go1.18.4.linux-amd64.tar.gz"

README.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -863,15 +863,10 @@ curl -v -X POST \
863863

864864
There are four additional components to use **capsule** (the wasm module launcher/executor) in **FaaS** mode:
865865

866-
- `capsule-reverse-proxy`: a reverse-proxy to simplify the functions (wasm modules) access
867-
- `capsule-registry`: a wasm module registry (🚧 support of https://wapm.io/ in progress)
868-
- `capsule-worker`: a server to start the functions (wasm modules) remotely
869-
- `capsule-ctl` (short name: `caps`): a CLI to facilitate the interaction with the worker
870-
871-
See documents files in `./docs` (🚧 this is a work in progress)
872-
873-
👋 You will find some **running examples** with this project:
874-
- https://github.com/bots-garden/capsule-faas-demo
866+
- [capsule-registry](https://github.com/bots-garden/capsule-registry): a wasm module registry (🚧 support of https://wapm.io/ in progress)
867+
- [capsule-reverse-proxy](https://github.com/bots-garden/capsule-reverse-proxy): a reverse-proxy to simplify the functions (wasm modules) access
868+
- [capsule-worker](https://github.com/bots-garden/capsule-worker): a server to start the functions (wasm modules) remotely
869+
- [capsule-ctl](https://github.com/bots-garden/capsule-ctl) (short name: `caps`): a CLI to facilitate the interaction with the worker
875870

876871
> - You can use the capsule registry independently of FaaS mode, only to provide wasm modules to the capsule launcher
877872
> - You can use the capsule reverse-proxy independently of FaaS mode, only to get only one access URL

RELEASE.md

-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
- Change the version number (`vN.N.N`) in:
44
- `./commons/version.go`
55
- `/README.md`
6-
- `install-capsule-ctl.sh`
76
- `install-capsule-launcher.sh`
8-
- `install-capsule-registry.sh`
9-
- `install-capsule-reverse-proxy.sh`
10-
- `install-capsule-worker.sh`
117
- 🖐 Check **every dependency** for every module
128
- Update and run `update-modules-for-release.sh`
139
- On GitHub: create a release + a tag (`vN.N.N`)

capsule-ctl/.gitignore

-4
This file was deleted.

capsule-ctl/README.md

-56
This file was deleted.

capsule-ctl/build.sh

-5
This file was deleted.

capsule-ctl/caps

-6.98 MB
Binary file not shown.

capsule-ctl/go.mod

-12
This file was deleted.

capsule-ctl/go.sum

-9
This file was deleted.

0 commit comments

Comments
 (0)