Commit Graph

15 Commits

Author SHA1 Message Date
Charlie Drage
e2f9084003 Adds both build and push support
This adds support for building and pushing docker containers
when you perform either `kompose convert` or `kompose up`.

Docker Compose files who have build parameters with their respective
image and build keys will automatically be both built and pushed.
2017-06-14 10:19:12 -04:00
Anush Shetty
1b3d876a62 Adding OpenShift functional tests for kompose up/down
* This PR adds functional tests for kompose up/down. The test scripts
are hosted under script/test_in_openshift. The directory structure,
as follows:

	script/test_in_openshift/
	├── compose-files
	│   └── docker-compose-command.yml
	├── lib.sh
	├── run.sh
	└── tests
		├── buildconfig.sh
    		├── entrypoint-command.sh
    		├── etherpad.sh
    		└── redis-replica-2.sh

* script/test_in_openshift/run.sh is the master script
  which executes all the tests

* script/test_in_openshift/lib.sh consists of helper functions
  for `kompose up` and `kompose down` checks

* script/test_in_openshift/tests directory consists of test scripts

* The scripts use 'oc cluster up' for setting up a single-machine
  OpenShift cluster. It exits if oc binaries are not installed

* Most of the docker compose files used are the ones already
  available in examples/ or script/test/fixtures.

* How to run the tests: 'make test-openshift'
2017-05-02 12:02:30 +05:30
Charlie Drage
2abb18af1a Fix the examples
Moves `docker-compose.yaml` to `docker-compose-counter.yaml` and
replaces the default docker-compose.yaml with the example from the
Kompose.io website.

We also rename each file from yml to yaml.

As well as do some slight modifications / formatting to
docker-compose-bundle.dab
2017-04-10 12:26:47 -04:00
Ratnadeep Debnath
a9241e6fe5 Added example for openshift buildconfig. 2016-12-28 17:00:33 +05:30
Suraj Deshmukh
66bd044e7d Merge pull request #290 from cdrage/update-dsb-to-dab
Update .dsb to .dab
2016-11-21 18:59:38 +05:30
Charlie Drage
dc474376b5 Update .dsb to .dab 2016-11-16 16:24:34 -05:00
Tuna
972711b3b2 fix docker-gitlab example 2016-11-06 18:57:39 +01:00
Charlie Drage
3ed96babcb Update README + Docker Compose Bundle references
This commit updates a few sentences in the README that I thought would
need improving.

Bundles now end with the .dab extension and are named "Distributed
Application Bundles" now. I've updated the README as well as the example
accordingly.
2016-10-05 16:04:21 -04:00
Tuna
4b3fbc02a5 update docker-voting example 2016-09-12 21:55:28 +07:00
runseb
22c65c689c New guestbook example 2016-08-31 15:35:39 +02:00
Janet Kuo
b71b70e0d9 Converting compose labels to k8s annotations 2016-08-04 09:57:04 -07:00
Janet Kuo
fa2ec5fa8d Add a bundle example file 2016-07-21 16:17:46 -07:00
ngtuna
a8add081ab initially support compose v2 format, and close #8 as well 2016-07-20 16:28:09 +07:00
ngtuna
d201adf0bf close #21 2016-07-08 02:04:41 +07:00
ngtuna
69bcf3527d add some sample docker-compose files 2016-06-30 23:27:36 +07:00