Tomas Kral
46a8394de2
Allow multiple applications in one OpenShift project
...
Applications are now grouped using labeles.
'app.kubernetes.io/name' is used for application grouping
'app.kubernetes.io/component-name' is used for component grouping
It is also possible to add additional labels to applications.
Currently there is 'app' label for OpenShift console.
2018-02-19 08:20:59 +01:00
Tomas Kral
abba6f1876
upload packages to bintray repositories
...
there are two types of packages
- build from master: version number is timestamp
(YearMonthDateHourMinuteSecond) those are uploaded to
ocdev-rpm-dev and ocdev-deb-dev repositories
- build from tag: those are released version and they have normal
semver version. They are uploaded to ocdev-rpm-releses and
ocdev-deb-releases
2018-02-19 07:43:34 +01:00
Tomas Kral
e35eee1984
add create-package.sh (make package)
...
This script uses fpm to create rpm and deb packages.
It creates binary packages, so they can't be used in any of the official distribution's repositories.
But they can be used in our repository to make it easier for users to install ocdev
2018-02-19 07:42:55 +01:00
Shubham
f1819dec10
Merge pull request #95 from kadel/add-make-test
...
Add 'make test'
2018-02-16 13:01:38 +05:30
Tomas Kral
32cc76b8b1
Add 'make test'
...
runs unit tests for all packages
2018-02-15 17:50:19 +01:00
Tomas Kral
f71b16c746
Merge pull request #91 from kadel/fix-version-test
...
travis is linux not macos
v0.0.1
2018-02-14 14:24:27 +01:00
Tomas Kral
59c180038d
travis is linux not macos
2018-02-14 14:23:59 +01:00
Shubham
8d56bb3ab9
Merge pull request #89 from kadel/check-version-on-release
...
check if binary has correct version when doing release
2018-02-14 17:46:59 +05:30
Shubham
bf1d89524d
Merge pull request #90 from kadel/release-v0.0.1
...
RELEASE v0.0.1
2018-02-14 17:46:40 +05:30
Tomas Kral
37841db3dc
release v0.0.1
2018-02-14 13:07:57 +01:00
Tomas Kral
4476007522
check binary has correct version when doing release
2018-02-14 13:05:29 +01:00
Tomas Kral
fb8023743e
Merge pull request #87 from kadel/release-automation
...
Release automation
2018-02-14 12:05:29 +01:00
Tomas Kral
5759e0bbb2
document release process
2018-02-14 11:51:48 +01:00
Tomas Kral
acbbe99ef3
use travis jobs to automate releases
2018-02-13 18:24:56 +01:00
Tomas Kral
6e9af357c7
save binaries to dist/bin rather than to bin directory
2018-02-13 17:57:09 +01:00
Tomas Kral
f735da89b6
Merge pull request #80 from apupier/fixTypos
...
Fix typos
2018-02-13 16:34:47 +01:00
Aurélien Pupier
b78611aeef
Fix typos
...
Signed-off-by: Aurélien Pupier <apupier@redhat.com >
2018-02-13 16:12:51 +01:00
Tomas Kral
00a364e44c
Merge pull request #64 from containscafeine/update-readme-with-examples
...
Add some getting started steps to README
2018-02-12 13:58:13 +01:00
Tomas Kral
b36a975ec9
Merge pull request #67 from containscafeine/fix-ocdev-push
...
Deploy from current directory for `component push`
2018-02-12 12:39:11 +01:00
Shubham Minglani
d197cde9b3
Deploy from current directory for component push
2018-02-12 17:05:38 +05:30
Shubham Minglani
6eadd6f3f2
Add some getting started steps to README
...
This commit adds some getting started and concepts headings to
the readme. This should help a new user coming to the project in
getting started with ocdev.
2018-02-12 16:15:41 +05:30
Shubham
1e11b1b66b
Merge pull request #27 from containscafeine/generate-cobra-documentation
...
generate a flat command structure with docs
2018-02-09 19:45:28 +05:30
Shubham Minglani
c5e9da8a86
Add script to generate CLI Structure
...
This commit adds a script to generate the CLI structure.
Also, adds the structure to README.md
2018-02-09 19:40:08 +05:30
Shubham
db9d2754dd
Merge pull request #62 from containscafeine/implement-storage-list
...
Implement `oc storage list`
2018-02-08 23:42:42 +05:30
Shubham Minglani
84bdf25777
Implement oc storage list
2018-02-08 23:41:45 +05:30
Shubham
2e441ccb1e
Merge pull request #61 from containscafeine/implement-storage-remove
...
Implement `ocdev storage remove`
2018-02-08 23:30:12 +05:30
Shubham Minglani
165dfdb011
Implement ocdev storage remove
2018-02-08 23:29:24 +05:30
Shubham
b24cbd8652
Merge pull request #60 from containscafeine/refactor-storage-create
...
Rename `component create` to `component add`
2018-02-08 22:58:17 +05:30
Shubham Minglani
b76f47576f
Rename component create to component add
2018-02-08 22:57:30 +05:30
Shubham
293ef01a95
Merge pull request #59 from containscafeine/add-storage-create
...
Initital implementation of `ocdev storage add`
2018-02-08 22:49:55 +05:30
Shubham Minglani
3af7c53150
Initital implementation of ocdev storage add
2018-02-08 22:47:24 +05:30
Shubham
f2431b113b
Merge pull request #58 from containscafeine/ocdev-push
...
Implement `ocd component push`
2018-02-07 22:19:55 +05:30
Shubham Minglani
452c7146ac
Implement ocd component push
...
This commit implements `ocd component push` which lets the user
push the local or remote changes to the running application in
the OpenShift cluster.
2018-02-07 22:16:47 +05:30
Shubham
c6d64acdc3
Merge pull request #55 from containscafeine/fix-project-output
...
Fix printing of `oc project` output in GetProjects
2018-02-07 20:56:58 +05:30
Shubham Minglani
cbc797d919
Fix printing of oc project output in GetProjects
...
This commit removes the first line being printed at the top of the
output of `oc get project` in GetProjects() function.
2018-02-07 20:55:21 +05:30
Shubham
3c96c101ed
Merge pull request #54 from containscafeine/fix-stderr-error
...
Refactor running commands to avoid false positives
2018-02-07 19:30:18 +05:30
Shubham Minglani
5a96d43376
Refactor running commands to avoid false positives
...
Till now we were getting non zero exit codes in case of running
commands like `ocdev component create nodejs --from-dir=...`
because it logged to STDERR as well as to STDOUT, while the
command still exited successfully.
This commit moves over to checking the exit code for the same
instead of relying on STDERR output.
2018-02-07 18:47:27 +05:30
Shubham
45f179d3fa
Merge pull request #48 from containscafeine/fix-flaking-test
...
Fix flaky test due to map to string operation
2018-02-07 12:22:30 +05:30
Shubham
5f90cad09c
Merge pull request #49 from containscafeine/fix-go-fmt
...
Fix go fmt error
2018-02-07 12:20:02 +05:30
Shubham Minglani
db9835d2b3
Fix go fmt error
2018-02-07 12:19:09 +05:30
Shubham Minglani
6c4e9a1c58
Fix flaky test due to map to string operation
...
This is a very poor fix for the flaky test, but I think this should
work for now. The test was "occasionally" failing because the order
in a map is not maintained, so the conversion to string was failing
at times. This commit fixes that.
2018-02-07 12:12:36 +05:30
Shubham
a23d2af5e6
Merge pull request #47 from containscafeine/refactor-component
...
Refactor component to fix errors
2018-02-06 21:50:28 +05:30
Shubham Minglani
f6473ceed0
Refactor component to fix errors
...
This commit refactors the `ocdev component` parts to better print,
and also fixes the error when `ocdev component get` will not return
an error when no component is set
2018-02-06 21:48:18 +05:30
Shubham
8af99122b2
Merge pull request #46 from containscafeine/change-deleted
...
Change deleted to deleting
2018-02-06 18:42:24 +05:30
Shubham Minglani
06c22c6f42
Change deleted to deleting
...
When doing `oc delete project`, the project is not immediately
deleted, while the command returns a 0 exit code immediately.
For this reason, this commit changes the word "deleted" to
"deleting" so the end user does not get confused when running
`ocdev application list` after `ocdev application delete`
2018-02-06 18:40:05 +05:30
Shubham
fa39e829e0
Merge pull request #44 from containscafeine/rename-app.go
...
Rename cmd/app.go to cmd/application.go for consistency
2018-02-06 18:37:16 +05:30
Shubham Minglani
07135d7ffb
Rename cmd/app.go to cmd/application.go for consistency
2018-02-06 18:36:07 +05:30
Shubham
43cee4b4fe
Merge pull request #45 from containscafeine/modify-create-logic
...
Modify application create behavior
2018-02-06 18:35:18 +05:30
Shubham
b5ec0a21d8
Merge pull request #42 from containscafeine/refactor-delete-output
...
Make `application delete` throw pretty errors
2018-02-06 18:34:39 +05:30
Shubham
7bf896b6dc
Merge pull request #43 from containscafeine/add-newline
...
Newline at the end of output
2018-02-06 18:33:34 +05:30