Skip to content

Commit f991811

Browse files
authored
Merge pull request #5 from charlie0129/docs-roadmap
Docs: refine roadmap
2 parents c9b2363 + f32f5c5 commit f991811

20 files changed

+106
-20
lines changed

.github/workflows/go-build-check.yaml renamed to .github/workflows/go-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: fkirc/[email protected]
2828
with:
2929
github_token: ${{ secrets.GITHUB_TOKEN }}
30-
paths_ignore: '["**.md", "**.mdx", "**.png", "**.jpg"]'
30+
paths_ignore: '["**.md", "**.mdx", "**.png", "**.jpg", "**.svg"]'
3131
do_not_skip: '["workflow_dispatch", "schedule", "push"]'
3232
concurrent_skipping: false
3333

.github/workflows/release-binary.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
permissions:
1010
contents: write
1111

12+
env:
13+
GO_VERSION: '1.17'
14+
1215
jobs:
1316
kube-trigger:
1417
name: Release kube-trigger binaries
@@ -17,6 +20,21 @@ jobs:
1720
- name: Checkout Code
1821
uses: actions/checkout@v3
1922

23+
- name: Setup Go
24+
uses: actions/setup-go@v3
25+
with:
26+
go-version: ${{ env.GO_VERSION }}
27+
28+
- name: Setup Go Caches
29+
uses: actions/cache@v3
30+
with:
31+
path: |
32+
~/.cache/go-build
33+
~/go/pkg/mod
34+
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
35+
restore-keys: |
36+
${{ runner.os }}-golang-
37+
2038
- name: Show Make Variables
2139
run: ./make-kt variables
2240

.github/workflows/upload-test-binary.yaml

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,45 @@ on:
1515

1616
env:
1717
GOLANGCI_VERSION: 'v1.47.2'
18+
GO_VERSION: '1.17'
1819

1920
jobs:
21+
detect-noop:
22+
runs-on: ubuntu-latest
23+
outputs:
24+
noop: ${{ steps.noop.outputs.should_skip }}
25+
steps:
26+
- name: Detect No-op Changes
27+
id: noop
28+
uses: fkirc/[email protected]
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
paths_ignore: '["**.md", "**.mdx", "**.png", "**.jpg", "**.svg"]'
32+
do_not_skip: '["workflow_dispatch", "schedule", "push"]'
33+
concurrent_skipping: false
34+
2035
upload-test-binary:
36+
needs: detect-noop
37+
if: needs.detect-noop.outputs.noop != 'true'
2138
runs-on: ubuntu-latest
2239
steps:
2340
- name: Checkout Code
2441
uses: actions/checkout@v3
2542

26-
- name: Lint
27-
uses: golangci/golangci-lint-action@v3
43+
- name: Setup Go
44+
uses: actions/setup-go@v3
45+
with:
46+
go-version: ${{ env.GO_VERSION }}
47+
48+
- name: Setup Go Caches
49+
uses: actions/cache@v3
2850
with:
29-
version: ${{ env.GOLANGCI_VERSION }}
51+
path: |
52+
~/.cache/go-build
53+
~/go/pkg/mod
54+
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
55+
restore-keys: |
56+
${{ runner.os }}-golang-
3057
3158
- name: Run Go Generate
3259
run: make generate

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,3 +280,60 @@ Default: `100`
280280
| CLI | ENV | KubeTrigger CRD |
281281
|-------------------|-----------------|----------------------|
282282
| `--registry-size` | `REGISTRY_SIZE` | `.spec.registrySize` |
283+
284+
## Roadmap
285+
286+
### v0.0.1-alpha.x
287+
288+
- [x] Basic build infrastructure
289+
- [x] Complete a basic proof-of-concept sample
290+
- [x] linters, license checker
291+
- [x] GitHub Actions
292+
- [x] Rate-limited worker
293+
- [x] Make the configuration as CRD, launch new process/pod for new watcher
294+
- [x] Notification for more than one app: selector from compose of Namespace; Labels; Name
295+
- [x] Refine README, quick starts
296+
- [ ] Refactor CRD according to [#2](https://github.com/kubevela/kube-trigger/issues/2)
297+
298+
### v0.0.1-beta.x
299+
300+
Code enhancements
301+
302+
- [ ] Add missing unit tests
303+
- [ ] Add missing integration tests
304+
305+
### v0.0.x
306+
307+
User experience
308+
309+
- [ ] Refine health status of CRs
310+
- [ ] Make it run as Addon, build component definition, and examples
311+
- [ ] Kubernetes dynamic admission control with validation webhook
312+
313+
### v0.1.x
314+
315+
Webhook support
316+
317+
- [ ] Contribution Guide
318+
- [ ] New Action: webhook
319+
- [ ] New Source: webhook
320+
321+
### v0.2.x
322+
323+
Observability
324+
325+
- [ ] New Action: execute VelaQL(CUE and K8s operations)
326+
- [ ] New Source: cron
327+
- [ ] New Action: notifications(email, dingtalk, slack, telegram)
328+
- [ ] New Action: log (loki, clickhouse)
329+
330+
### Planned for later releases
331+
332+
- [ ] Allow user set custom RBAC for each TriggerInstance
333+
- [ ] New Action: workflow-run
334+
- [ ] New Action: execute-command
335+
- [ ] New Action: metric (prometheus)
336+
- [ ] Refine controller logic
337+
- [ ] Remove cache informer, make it with no catch but list watch events with unique queue.
338+
339+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)