Commit Graph
85 Commits
Author SHA1 Message Date
Tomas Kral d8f387984a add correct secrets for bintray 2017-08-21 17:18:47 +02:00
Tomas Kral 1930ebeb91 build and upload master builds to bintray 2017-08-21 17:06:33 +02:00
Tomas Kral ef8c7a7a0a fix env substitution for docker compose v3 2017-06-20 15:16:12 +02:00
Tomas Kral c5fa9f7f2a Fix incorrect tag in BuildConfig.
For services with build and image keys DeploymentConfig respects tag from docker-compose image key.
But BuildConfig image tag was always set to  'latest'.
Result of this was that deployment wasn't trigired after successful build.
This fixes it by setting BuildConfig output image tag to the same tag that is used for  DeploymentConfig (tag from docker-compose image key)
2017-05-23 14:05:59 +02:00
Tomas Kral 166eedfc1c update vendor
added files required by BuildConfig reaper
2017-05-16 17:56:38 +02:00
Tomas Kral bee784faf6 Use BuildConfig reaper to delete BuildConfig with all related pods 2017-05-16 17:56:38 +02:00
Tomas Kral 792976da1f some of created objects were missing io.kompose.service label
label added to BuildConfig, DaemonSet, ReplicationController, Deployment and Pod
2017-05-16 17:56:32 +02:00
Tomas Kral 6840454723 update roadmap 2017-04-10 16:21:24 +02:00
Tomas Kral c3c163bc59 update release process doc 2017-04-10 12:30:02 +02:00
Tomas Kral d21c240e3e skip to next object when there is an error with deletion 2017-04-03 18:19:33 +02:00
Tomas Kral f8da61436e add missing 'io.kompose.service' label to Route and Ingress
This was caussing 'kompose down' not to delete Route and Ingress
2017-03-24 14:42:53 +01:00
Tomas Kral 3411f3c94b do not fail if there is a golint violation
golint output is just suggestion. Just show ouptut, but don't fail.
This also remove unnecessary bash script that is no longer needed.
2017-03-17 17:09:49 +01:00
Tomas Kral d24b86ad85 send report to coveralls in after_success section
Connection to coveralls.io sometimes fails and its marking tests as fail
even then are OK. Exit code from after_success do not affects build
result.
2017-03-17 15:45:37 +01:00
Tomas Kral 63e2023d3d README.md - add brew install instruction for MacOS X 2017-03-14 18:22:03 +01:00
Tomas Kral 8b66473edd Add cap_add and cap_drop to unsupported keys 2017-03-02 14:54:52 +01:00
Tomas Kral b1cb6cdb80 update tags to make go vet 1.8 stop complaining 2017-02-24 15:16:47 +01:00
Tomas Kral dd941beec7 test go 1.7 and 1.8 2017-02-24 13:09:16 +01:00
Tomas Kral ac074e2c36 Update Makefile - lazy set for PKGS variable
Using lazy set we can run targets that are not requring PKGS without
requiring glide.
Lazy set is expended when variable is used, not when declared.
2017-02-14 10:43:30 +01:00
Tomas Kral 18955c63d4 fix passing gitcommit in version output 2017-02-11 17:05:08 +01:00
Tomas Kral 90febe7f7f Change warning to debug for services without ports. 2017-01-25 13:20:40 +01:00
Tomas Kral 8f2dd5b03b Test Headless Services 2017-01-25 11:28:29 +01:00
Tomas Kral 5a62864ef9 Handle Headless Services for OpenShift 2017-01-25 11:28:29 +01:00
Tomas Kral 0b1b7f3c35 Rename some make targests: test->test-container test-all->test 2017-01-23 15:05:25 +01:00
Tomas Kral 20b844d6e9 Clean up Makefile and scripts in scripts dir.
If command is simple command call it from Makefile,
there is no need to have them in separate shell scripts.
2017-01-23 11:49:25 +01:00
Tomas Kral f530f99f02 Fix CreateLocalGitDirectory for tests.
If you didn't setup user.email and user.name `git commit` fails.
This configures user.email and user.name for newly created temporary git
repo.
2017-01-23 11:49:25 +01:00
Tomas Kral f68be75d60 Add make rules for building and running test image 2017-01-23 11:49:24 +01:00
Tomas Kral c8c2e8b7f6 Dockerfile for running tests 2017-01-23 11:49:24 +01:00
Tomas Kral 3cf6866dd0 Small simplification of kubernetes.PrintList
Use reflect instead of big type switch that was prone to errors.
2017-01-06 15:22:37 +01:00
Tomas Kral 4f176b847e fix golint errors 2017-01-05 10:31:11 +01:00
Tomas Kral 502157a078 add golint to make validate and install it in travis 2017-01-05 09:56:24 +01:00
Tomas Kral 3419ae7fe1 few updates based on review 2016-12-20 16:58:28 +05:30
Tomas Kral af9c6585ee Add tests for unsupported keys in k8s transformer 2016-12-20 16:58:28 +05:30
Tomas Kral d5d0a3f03a Add tests for unsupported keys in loaders 2016-12-20 16:58:23 +05:30
Tomas Kral 841141ad64 Fix functional tests for unsupported keys 2016-12-20 12:21:53 +05:30
Tomas Kral f20e6f3fa9 checkUnsupportedKeys for transformers 2016-12-20 12:21:52 +05:30
Tomas Kral e4f9b59b4d Separate unsupported key check for every loader 2016-12-20 12:21:03 +05:30
Tomas Kral a0ba435efb Add check-vendor script
This checks vendor dir for nested vendors
and if vendor has been cleaned by glide-vc
2016-12-07 19:57:47 +01:00
Tomas Kral 5c5e0d16d5 Update Developer Guide - switch to glide 2016-12-07 19:57:19 +01:00
Tomas Kral fe679fbca6 switch from godep to glide 2016-12-07 19:57:19 +01:00
Tomas Kral 373ab36946 Report code coverage to coveralls 2016-12-07 16:44:47 +01:00
Tomas Kral 6f45703de2 Add tests for user directive 2016-11-25 10:13:42 +01:00
Tomas Kral 5a94a9fdbc Add support for user 2016-11-25 09:50:51 +01:00
Tomas Kral 4e42a07be2 gofmt 2016-11-22 13:02:31 +01:00
Tomas Kral c441610b4f fix govet errors 2016-11-22 13:02:31 +01:00
Tomas Kral 8bb89876cf Clean up scripts/validate-*. Add vet,gofmt,lint tests.
Travis now runs `make validate` as first test.
Make validate includes all validate tests (go vet, gofmt)
2016-11-22 13:02:13 +01:00
Tomas Kral 661bce5a50 add kompose up for openshift to userguide 2016-10-18 12:04:00 +02:00
Tomas Kral 1f8a0e06c9 Upgrade OpenShift and its dependencies.
OpenShift version 1.4.0-alpha.0
2016-10-18 12:04:00 +02:00
Tomas Kral 5e1a5cbb3b kompose up for openshift
kompose --provider openshift up
2016-10-18 12:03:50 +02:00
Tomas Kral ad8d053f7e Update links in docs skippbox->kubernetes-incubator 2016-10-17 18:19:09 +02:00
Tomas Kral f8f737be7b move to kubernetes-incubator
update imports to reflect move to kubernetes-incubator
2016-10-17 18:14:29 +02:00
Tomas Kral fe53d56a01 fix golang.org/x/net vendoring 2016-10-11 10:53:11 +02:00
Tomas Kral 04ce10ffea Update tests - add ImageStreams 2016-09-27 10:28:23 +02:00
Tomas Kral 6f1d01a809 OpenShift - generate DeploymentConfig with ImageStream. 2016-09-27 10:28:11 +02:00
Tomas Kral 799345a6f9 Prepare up/down for other providers 2016-09-26 11:31:07 +02:00
Tomas Kral a65dcfb5d5 Update docs: --bundle is global flag now 2016-09-23 15:14:15 +02:00
Tomas Kral 3ce0519a82 Make --dab global flag 2016-09-23 15:11:04 +02:00
Tomas Kral 16ca1aa136 kompose up - Get namespace from kubeconfig 2016-09-22 13:08:13 +02:00
Tomas Kral 371af623af Add test for ports with protocols. 2016-09-19 14:36:23 +02:00
Tomas Kral ed711804fe Add port protocol handing for docker-compose. 2016-09-19 14:36:05 +02:00
Tomas Kral e127ce17bd test for entrypoint and command 2016-09-05 10:40:50 +02:00
Tomas Kral cc4f162cea Remove Entrypoint from Kompose object
We had Command and Args together with Entrypoint in Kompose object.
This doesn't make much sense, as Entrypoint and Command are same thing.
I've removed Entrypoint from Kompose object in favor of Command to keep
same naming convensions as in Kubernetes.

Entrypoint from docker-compose.yml is now saved to Command and Command
is saved to Args (http://kubernetes.io/docs/user-guide/containers/).

docker-compose.yml | Kompose object
-------------------|---------------
  Entrypoint       |    Command
   Command         |     Args
2016-09-02 10:10:34 +02:00
Tomas Kral 8590a98504 docker-compose - fix Command and add Entrypoint support 2016-09-02 10:10:34 +02:00
Tomas Kral e2da0f089a Make sure that Services are first in the List
Sorts objects in Transform function, this should
make sure that Services are first everywhere as
long as we keep order in the slice that Transform returns.

fixes #130
2016-09-02 10:09:00 +02:00
Tomas Kral b24556e9d5 fixes #124
add missing conversion to versioned object when saving to files
2016-09-02 09:49:11 +02:00
Tomas Kral b3017199b6 some items in libcompose ServiceConfig changed type 2016-08-22 10:51:38 +02:00
Tomas Kral e341adce0e bump(github.com/docker/libcompose) v0.3.0 2016-08-22 10:51:22 +02:00
Tomas Kral ef1f92ead8 fix .travis.yml 2016-08-11 16:50:18 +02:00
Tomas Kral bae3feb10c Update README. Renaming binary to binary-cross 2016-08-11 16:50:18 +02:00
Tomas Kral e64f1c1215 Add script/.build to keep BUILD_FLAGS in one place 2016-08-11 16:50:16 +02:00
Tomas Kral a15a8f36ca Fix Makefile. Print info when building binary. 2016-08-11 11:00:46 +02:00
Tomas Kral 575d7e4162 update travis.yml to run tests and build only for current platform 2016-08-11 11:00:07 +02:00
Tomas Kral 6099428364 add test targets to Makefile 2016-08-11 11:00:07 +02:00
Tomas Kral 3dd7689364 Move binary target to binary-cross
use binary target only for building for current platform
2016-08-11 11:00:07 +02:00
Tomas Kral a97b413279 use empytDir rather then hostPath
On remote cluster or in cloud it can  be tricky to get hostPath working
as expected by compose
2016-07-21 20:37:50 +02:00
Tomas Kral 03877dfb60 don't use HostPort
HostPort can lead to problems.
Port mappings are handled via Service
2016-07-21 20:37:50 +02:00
Tomas Kral 7892ea1bff transformer fce now also converts k8s and openshift objects to versioned object 2016-07-21 20:37:50 +02:00
Tomas Kral eef44ca57b openshift: use unversioned api 2016-07-21 20:37:50 +02:00
Tomas Kral 8cbd1831a7 add wrapper script for 'godep restore' 2016-07-21 20:37:18 +02:00
Tomas Kral 02a899a644 openshift: use deploy/api/v1 instead of unversioned deploy/api 2016-07-21 20:37:18 +02:00
Tomas Kral 3db5069ff5 added OpenShifts fork of Kubernetes
reason for this is that openshift/kubernetes backported
k8s.io/kubernetes/pkg/securitycontextconstraints/util
that is currently required by something that
github.com/openshift/origin/pkg/deploy/api/v1 depends on
2016-07-21 20:37:18 +02:00
Tomas Kral 2626b51dee openshift: add deploymentconfig 2016-07-21 20:35:15 +02:00
Tomas Kral c2a07f764d update vendor with openshift 2016-07-21 20:35:15 +02:00
Tomas Kral 657ccf133d add '-tag experimental' to gox build
This is required by Docker to build it with bundlefile support.
2016-07-21 20:20:43 +02:00
Tomas Kral 81744fccb4 bump(github.com/Azure/go-ansiterm) 388960b655244e76e24c75f48631564eaefade62
fixes failing windows build
2016-07-21 20:19:09 +02:00
Tomas Kral b346667912 Generate only controllers set by flag 2016-07-13 19:05:08 +02:00