Commit Graph

689 Commits

Author SHA1 Message Date
Charlie Drage
f66a11fd70 Merge pull request #565 from procrypt/ux
sort output when creating kubernetes/openshift objects
2017-05-10 09:21:05 -04:00
Abhishek
529e6c674f sort output when creating kubernetes/openshift objects 2017-05-09 23:56:54 +05:30
Suraj Deshmukh
ebd9dcf207 Merge pull request #577 from surajnarwade/fix-build-test
Fixes fixture test for build context
2017-05-09 17:09:55 +05:30
Suraj Narwade
aacde86eb9 Fixes fixture test for build context
Resolves #576

This PR includes `output-os-template.json` in `nginx-node-redis` example,
which is basically output template contains `%URI%` and `%REF%` variables
which will be filled while initializing test cases and new will be stored as
`/tmp/output-os.json`
This will remove the problem of git uri and ref.
2017-05-08 17:54:24 +05:30
Charlie Drage
b3570e0da5 Merge pull request #586 from surajssd/fix-broken-link-to-fedora
Fix link to fedora setup in docs
2017-05-03 12:57:18 -04:00
Suraj Deshmukh
fa255d2c78 Fix link to fedora setup in docs 2017-05-03 18:37:07 +05:30
Tomas Kral
abf81926c0 Merge pull request #460 from ashetty1/openshift_up_down_test
Adding kompose up/down tests for openshift
2017-05-02 13:35:55 +02:00
Tomas Kral
a2cff3e11a Merge pull request #583 from cdrage/update-it-again
Release script binary upload bug
2017-05-02 13:02:47 +02: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
ef627eef1c Release script binary upload bug, tarball bug
Removes the '$CLI' portion of uploading the binaries / tarballs. Had a
naming error when uploading.

Updates it so we cd to `bin` so we can create the tarballs without the
`/bin` folder being located within it.
2017-04-28 10:44:47 -04:00
Charlie Drage
ae4ef9e794 Merge pull request #582 from cdrage/release-0.6.0
0.6.0 Release
2017-04-28 10:01:03 -04:00
Charlie Drage
0bc69a487f 0.6.0 Release 2017-04-28 09:46:54 -04:00
Charlie Drage
0f92e3fe57 Merge pull request #581 from cdrage/update-release-script-make-it-great-again
Update the release script again
2017-04-28 09:45:43 -04:00
Charlie Drage
f64ad32ae9 Update the release script again
Updates the release script to use the actual GOPATH directory as
previous problems with commit hashes / versions in `kompose version`.

Cleans this up in regards to all the `cd` and `cd ..` commands.

No need to `git clone`.
2017-04-28 09:43:40 -04:00
Charlie Drage
0acfc20f72 Merge pull request #580 from gitlawr/supportCap_add_drop
Add Support for cap_add & cap_drop
2017-04-28 09:31:10 -04:00
Tomas Kral
0d3a7084c2 Merge pull request #567 from cdrage/add-spacing-to-table
Adds spacing to table
2017-04-28 11:44:40 +02:00
gitlawr
3916eb9f60 Fixes #575
This commit Add support for cap_add & cap_drop which maps to
Pod.Spec.Container.SecurityContext.Capabilities.Add/Drop
Added unit tests for ConfigCapabilities function
Updated conversion.md on support for these keys
2017-04-28 14:41:12 +08:00
Suraj Deshmukh
e658c70178 Merge pull request #454 from surajnarwade/fix_build_context
Added consistency in build context
2017-04-27 23:23:59 +05:30
Suraj Narwade
1eb162d697 Updated Vendoring 2017-04-27 21:38:38 +05:30
Suraj Narwade
605d643a84 Adding code for consistent build context
fixes #445

This PR was partially fixed by docker/libcompose#450, which now gives consistent build context,
also it modifies the function getAbsBuildContext to create accurate build context, Unit test are being modified
according to new structure.
2017-04-27 21:38:38 +05:30
Tomas Kral
760d47b022 Merge pull request #579 from cdrage/update-roadmap-3
Update PR for ROADMAP
2017-04-27 16:18:47 +02:00
Charlie Drage
a673caf753 Update PR for ROADMAP
We're going to have push/pull support in 0.7.0
2017-04-27 09:40:33 -04:00
Tuna
65c9cf9bd8 Merge pull request #557 from procrypt/driver_local
fix driver:local in prefixing volumes with current dir name
2017-04-27 15:25:50 +07:00
Abhishek
7eccb37c19 fix driver:local in prefixing volumes
If we have a docker-file with root level volumes and we do a kompose up
using that docker-file, libcompose will add an additional _ followed by
the current directory name. Since kubernetes doesn't allow _ in the
objects created so kompose up will fail to deploy it. As a solution we
replace _ to - and we can then deploy it successfully.
2017-04-26 20:14:22 +05:30
Charlie Drage
079fad5c54 Merge pull request #569 from procrypt/update_doc
Add warning about change in the service name.
2017-04-26 10:37:57 -04:00
Charlie Drage
05a408925c Merge pull request #553 from surajnarwade/minor_fix
Updated conversion doc
2017-04-26 10:35:39 -04:00
Abhishek
30e39e094c Add warning about change in the service name of docker-compose file that contains _ in it to - 2017-04-26 19:53:57 +05:30
Suraj Narwade
9f849fbbb7 Updated conversion doc
Solves #548

`docs/conversion.md` is updated as `tmpfs` is supported now.
2017-04-26 19:19:55 +05:30
Charlie Drage
60a637593c Merge pull request #570 from procrypt/typo
typo in nginx name.
2017-04-25 12:40:44 -04:00
Abhishek
ec85012a8c typo in nginx name 2017-04-25 11:14:35 +05:30
Charlie Drage
f1d2268030 Merge pull request #568 from nkysg/master
fix output replication-controller and daemon-set
2017-04-24 09:05:46 -04:00
mi
edc2be4353 fix output replication-controller and daemon-set 2017-04-24 10:02:05 +08:00
Charlie Drage
eb77221ca0 Adds spacing to table
Adds some spacing to the table to better separate each section.
2017-04-21 11:35:09 -04:00
Suraj Deshmukh
d24879f881 Merge pull request #559 from cdrage/update-tarball-readme-clarify
Clarify tarball
2017-04-21 16:06:09 +05:30
Charlie Drage
0048800393 Merge pull request #556 from cdrage/update-docs
Update doc with better console output and add note on deployment config
2017-04-20 14:06:58 -04:00
Charlie Drage
46426fb659 Merge pull request #558 from cdrage/add-dependencies-to-makefile
Add test dependencies
2017-04-19 11:29:45 -04:00
Charlie Drage
298ad00edb Clarify tarball
Describe that it's a bandwidth-conservative alternative
2017-04-19 10:59:43 -04:00
Charlie Drage
6b32b938a6 Add test dependencies
This clears up .travis.yaml as well as adds the test dependencies when
running `make test` so the user running the tests has the most
up-to-date ones available.
2017-04-19 10:42:46 -04:00
Charlie Drage
e4bf1666c6 Update doc with better console output and add note on deployment config
Adds note on Deployment Config as well as updates console output for
Kubernetes example
2017-04-18 10:39:47 -04:00
Charlie Drage
87fc1b5eaf Merge pull request #519 from surajnarwade/fix-pvc-info
Added warning after PVC creation
2017-04-18 09:28:21 -04:00
Suraj Narwade
9a6c1d99b3 Added warning after PVC creation
Partially resolve #376 and #345
Added warning, such that PV should be created before PVC or
if dynamic provision is there, no need to create PV.
2017-04-13 14:25:14 +05:30
Charlie Drage
0464d24b40 Merge pull request #511 from kadel/fix-ingress-down
add missing 'io.kompose.service' label to Route and Ingress
2017-04-12 11:47:17 -04:00
Tomas Kral
3dd41ecad7 Merge pull request #517 from procrypt/new_namespace
Added support for different namespaces
2017-04-12 15:40:34 +02:00
Abhishek
f41985a00e Added support for different namespaces
Now we can deploy application in different namespaces using the "--namespace=<value>" flag with kompose up and kompose down. The --namepace flag will deploy the application in that particular "namespace" if exist."
2017-04-12 18:40:32 +05:30
Tomas Kral
cba4c569a3 Merge pull request #552 from cdrage/fix-headers-docs
Fixes the headers of the docs
2017-04-11 11:26:48 +02:00
Tomas Kral
1c789c5a93 Merge pull request #523 from cdrage/remove-unused-flags-from-down
Remove unused parameters from Kompose down
2017-04-11 10:20:23 +02:00
Tomas Kral
8f435b1f05 Merge pull request #533 from cdrage/woops-gitignore
Only ignore the docker-compose yaml file in the root directory
2017-04-11 10:05:04 +02:00
Charlie Drage
a7a244d93f Fixes the headers of the docs
Changes it to 1 `#`. Fixes the headers so they're consistent across all
docs.
2017-04-10 15:31:02 -04:00
Charlie Drage
c7cfb5e481 Merge pull request #528 from cdrage/add-website-example
Fix the examples
2017-04-10 12:55:38 -04:00
Charlie Drage
27fc70aa52 Merge pull request #536 from kadel/pr477-angain-and-better
new take on "Kompose will keep trying its job #477"
2017-04-10 12:29:41 -04:00