3719 Commits

Author SHA1 Message Date
Tomas Kral
04138b059a Merge pull request #111 from kadel/traivs-fix1
fix travis  - don't build pkgs and bins for every deployment
2018-02-19 16:09:53 +01:00
Tomas Kral
1a2f5b5fe1 travis don't build pkgs and bins for every deployment 2018-02-19 16:03:46 +01:00
Tomas Kral
bd26f25d78 Merge pull request #110 from kadel/fix-travis-upload-pkgs
travis - separate master and releases upload
2018-02-19 15:45:12 +01:00
Tomas Kral
82eb298b87 travis - separate master and releases upload
you can't run one deploy job for tags and master
2018-02-19 15:39:08 +01:00
Tomas Kral
7c41db02b5 Merge pull request #109 from kadel/fix-travis-deploy-4
fix Makefile
2018-02-19 13:08:17 +01:00
Tomas Kral
4500d3c419 fix Makefile 2018-02-19 13:07:05 +01:00
Tomas Kral
5049a191e1 Merge pull request #108 from kadel/fix-travis-deploy-3
fix travis deploy
2018-02-19 13:00:45 +01:00
Tomas Kral
94beec89b6 fix travis deploy 2018-02-19 12:55:17 +01:00
Tomas Kral
b59916c92c Merge pull request #107 from kadel/fix-travis-deploy-2
travis - install  rpmbuild for deploy
2018-02-19 12:44:15 +01:00
Tomas Kral
38c2139628 travis - install rpmbuild for deploy 2018-02-19 12:36:35 +01:00
Tomas Kral
7e0254d78d Merge pull request #106 from kadel/fix-travis-deploy
add fpm to travis deploy build
2018-02-19 12:21:51 +01:00
Tomas Kral
31454635c1 Merge pull request #99 from containscafeine/check-connection-server
Check if OpenShift server is running
2018-02-19 12:18:30 +01:00
Tomas Kral
3f53bd40b9 add fpm to travis deploy build 2018-02-19 12:16:11 +01:00
Shubham
660465e313 Merge pull request #94 from kadel/applications-via-labels
Allow multiple applications in one OpenShift project
2018-02-19 16:43:12 +05:30
Shubham Minglani
a1bcecd52b Check if user is logged in to the cluster
This commit adds a function that checks if the user is logged
in to the cluster before running the commands.
2018-02-19 16:39:49 +05:30
Shubham Minglani
deab9c433b Check if OpenShift server is running
This commit adds an `IsServerUp()` function which checks if the
endpoint of the server is reachable before firing requests.
2018-02-19 16:39:43 +05:30
Tomas Kral
e569205d6a Merge pull request #92 from kadel/use-fpm-to-create-packages
build  rpm and deb packages and upload them to repositories
2018-02-19 12:09:19 +01:00
Tomas Kral
c51d7e3fa8 Merge pull request #93 from kadel/installation-docs
README.md - add installation and pre-requisites
2018-02-19 11:41:36 +01:00
Tomas Kral
98036485de README.md - add installation and pre-requisites 2018-02-19 11:39:33 +01:00
Tomas Kral
6eea89e6dc Show emtpy application in 'applications list' output 2018-02-19 09:10:10 +01:00
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