Commit Graph

54 Commits

Author SHA1 Message Date
zzxwill
e91dceac4b Make modification for latest xxxdefinition.spec.extension 2020-07-29 22:40:39 +08:00
zzxwill
b4065b1174 Move template to definition Extension field
As we plan to deprecate template, move template
to workloaddefinition and traitdefinition respectively.
2020-07-29 22:33:40 +08:00
Sun Jianbo
0cc615d7bb Merge pull request #62 from cloud-native-application/workloads
init rudr workloads
2020-07-29 19:03:25 +08:00
天元
bc52589ab6 init rudr workloads 2020-07-29 18:56:13 +08:00
Sun Jianbo
eacf298e25 Merge pull request #60 from cloud-native-application/traits
fix rudr traits
2020-07-29 18:49:12 +08:00
天元
2fb8eb6975 fix rudr traits 2020-07-29 17:57:55 +08:00
Sun Jianbo
04ccf7da10 Merge pull request #56 from cloud-native-application/ls
rename rudr apps to rudr ls
2020-07-29 16:58:08 +08:00
天元
a0646a2b53 rename rudr apps to rudr ls 2020-07-29 16:50:02 +08:00
Sun Jianbo
391638a36b Merge pull request #54 from cloud-native-application/more
fix CI
2020-07-29 16:46:15 +08:00
天元
66acb74f3b fix CI 2020-07-29 16:29:38 +08:00
Herman Zhu
a9f9bc055c feat(init): Add rudr init (#43)
* feat(init): Add `rudr init`

Support `rudr init` which will check/install oam-k8s-runtime into
cluster

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): Add `rudr init`

Support `rudr init` which will check/install oam-k8s-runtime into cluster

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): add version flag

Add version flag

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): create native resource WorkloadDefinition

Create native resource WorkloadDefinition

Fixes: #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2020-07-29 15:54:21 +08:00
Sun Jianbo
9d64307755 Merge pull request #50 from zzxwill/unbind
Refactor `rudr apps`
2020-07-27 10:44:23 +08:00
guoxudong
51f9ff4c61 add delete cmd (#48)
* add delete cmd

Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-07-27 10:43:47 +08:00
zzxwill
a6e730d7bd Refactor rudr apps
Move some basic functions to cmd.util.helpers.go and
decompose some of them for further calling, like
`rudr unbind`
2020-07-24 21:47:11 +08:00
Sun Jianbo
3fa46a2321 Merge pull request #47 from zzxwill/apps
Implement list applications
2020-07-24 17:56:28 +08:00
zzxwill
e4500771bc address advices from wonderflow 2020-07-24 10:46:11 +08:00
zzxwill
66d0bdb61b Implement list applications
List appliations and support --application/-a
to filter applicatin lists
2020-07-23 21:40:30 +08:00
Sun Jianbo
720c604f40 Merge pull request #44 from sunny0826/issue-templates
add issue templates for repository
2020-07-23 19:02:45 +08:00
guoxudong
49e7b62596 add issue templates
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-07-23 18:27:23 +08:00
Sun Jianbo
f32bf44292 Merge pull request #42 from erdun/cobra
fix run bug
2020-07-23 13:22:50 +08:00
erdun
76ad168ccf fix run bug 2020-07-23 13:08:09 +08:00
Sun Jianbo
1aa798fb0b Merge pull request #39 from baikai/fixdevmd
Add Prerequisites about kustomize.
2020-07-22 17:29:56 +08:00
baikai.bk
afceb36068 Change kustomize version. 2020-07-22 15:08:29 +08:00
Sun Jianbo
bf9d068f3d Merge pull request #40 from erdun/cobra
Move fetching definitions to child command
2020-07-21 13:25:10 +08:00
erdun
e625745604 add UT 2020-07-21 11:13:47 +08:00
Sun Jianbo
4fffafb257 Merge pull request #38 from baikai/fixreadme
cmd rudr should be add exec privilege after build.
2020-07-21 10:48:29 +08:00
baikai.bk
07b8fbda6b Add Prerequisites about kustomize. 2020-07-20 22:08:03 +08:00
baikai.bk
4552636f04 cmd rudr should be add exec privilege after build. 2020-07-20 21:31:32 +08:00
erdun
4875cd2aab move init code to cobra 2020-07-20 00:17:39 +08:00
Sun Jianbo
fd0a00fc83 Merge pull request #27 from wonderflow/ci
add CI workflow
v0.0.1-alpha
2020-07-17 13:59:50 +08:00
天元
05122b30a9 add CI workflow
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
2020-07-17 13:58:31 +08:00
Sun Jianbo
8ae7a0ea45 Merge pull request #22 from zzxwill/bind
Implement `rudr bind`
2020-07-17 13:47:57 +08:00
zzxwill
c9cd323612 Refine README and delete commented lines 2020-07-17 13:40:50 +08:00
zzxwill
bdb8af9492 Fix issue and refine README
1) Fix the issue when there are more than one traitdefinitions
2) Refine README
3) lowercase workload metadata.name so it could be used as dns
2020-07-17 13:40:50 +08:00
zzxwill
be84103ce7 format go files 2020-07-17 13:40:50 +08:00
zzxwill
20fe71ccb3 Implement rudr bind
Implement trait binding based on `rudr run`
2020-07-17 13:40:50 +08:00
Sun Jianbo
bf0e4219a0 Merge pull request #25 from erdun/vendor
update .gitignore
2020-07-16 19:00:45 +08:00
erdun
0b1a0c9346 update .gitignore 2020-07-16 16:53:50 +08:00
Sun Jianbo
6297db0dee Merge pull request #24 from zzxwill/run-issue
Fix run issue
2020-07-16 16:15:03 +08:00
zzxwill
5bced27bd0 Fix run issue
Remove hard-coded type sting for image port convertion,
and make several parameter as optical. Fix issue #17
2020-07-16 14:11:13 +08:00
Zheng Xi Zhou
38446f0de4 Create Dashboard folder for front-end code repo 2020-07-16 12:49:55 +08:00
Sun Jianbo
d1139e3cd0 Merge pull request #23 from zzxwill/development-guide
Update REAMDE and add DEVELOPMENT documentation
2020-07-16 07:56:45 +08:00
zzxwill
fee2d60519 Update REAMDE and add DEVELOPMENT documentation 2020-07-15 20:24:21 +08:00
Sun Jianbo
892e0aed85 Merge pull request #5 from zzxwill/corner-case
Make `lastCommandParam as a subcommand and enhance corner cases
2020-07-14 17:55:09 +08:00
zzxwill
e58c4f6c72 check whether lastCommandParam is set 2020-07-14 17:52:11 +08:00
zzxwill
124a215a0a Make `lastCommandParam as a subcommand and enhance corner cases
Fix issue #4
- Make `lastCommandParam` like `image` as a subcommand instead of a flag.
- Validate whether `lastCommandParam` is set.
- check whether all flags are set.
2020-07-14 17:52:11 +08:00
Sun Jianbo
5b267e2d9b Merge pull request #9 from zzxwill/new-support-containerizedworkload
Support executing ContainerizedWorkload
2020-07-14 17:20:21 +08:00
zzxwill
4ca494c69c Support executing ContainerizedWorkload
Add metadata.name for workload and add deafult name
for spec.containers[].ports[].port.name
2020-07-14 14:37:38 +08:00
Sun Jianbo
f8e8f685a7 Merge pull request #8 from zzxwill/list-traits
List traits
2020-07-14 13:56:25 +08:00
Sun Jianbo
e8940d7428 Merge pull request #3 from zzxwill/enhance-help
Provide available workloads in help message
2020-07-13 23:00:14 +08:00