Commit Graph

1037 Commits

Author SHA1 Message Date
Charlie Drage
44ef89b0ec Fixes output of help template
Fixes the issue of the help output not ouputting all commands due to the
wrong function being used within spf13/cobra.

Closes https://github.com/spf13/cobra/issues/512
Closes https://github.com/kubernetes/kompose/issues/744
2017-08-28 11:25:04 -04:00
Charlie Drage
59c36d92be Merge pull request #796 from cdrage/little-x
Update to lowercase in conversion.md
2017-08-28 10:51:24 -04:00
Charlie Drage
b1f234154a Update to lowercase in conversion.md
Makes the table a little less clustered with lowercase abbreviations.
2017-08-28 10:50:40 -04:00
Shubham
4f6b92f6c8 Merge pull request #759 from cdrage/add-healthcheck
Adds healthcheck
2017-08-27 09:09:54 +05:30
Charlie Drage
8e6a148dc6 Merge pull request #785 from cdrage/add-bintray
Add Bintray documentation to README and installation doc
2017-08-25 15:29:03 -04:00
Charlie Drage
fd674e272d Merge pull request #797 from JadCham/patch-2
Fix kompose docker container wrong href
2017-08-25 15:28:46 -04:00
Jad Chamoun
188edeaf48 Fix kompose docker container wrong href
The link was pointing to komposeui instead of kompose-docker
2017-08-25 12:18:32 -07:00
Charlie Drage
01f7eb5fbe Merge pull request #795 from surajnarwade/functial-test-for-examples
Added functional test for docker compose files in Example directory
2017-08-25 10:34:35 -04:00
Charlie Drage
22b7a06d5f Merge pull request #794 from rupalibehera/pipeline
changing the organisation from kubernetes-incubator to kubernetes
2017-08-25 10:13:04 -04:00
Charlie Drage
912f1feed2 Add Bintray documentation to README and installation doc
Adds information on nightly builds to the README and installation
document.
2017-08-25 10:08:55 -04:00
Charlie Drage
2e99b8fd3a Adds healthcheck
This PR adds support for HealthCheck, being able to supply, for example:

```yaml
version: "3"

services:
  redis:
    image: redis
    healthcheck:
      test: echo "hello world"
      interval: 10s
      timeout: 1s
      retries: 5
```

Which is then converted to:

```yaml
spec:
  containers:
  - image: redis
    livenessProbe:
      exec:
        command:
        - echo "hello world"
      failureThreshold: 5
      periodSeconds: 10
      timeoutSeconds: 1
    name: redis
    resources: {}
  restartPolicy: Always
```

At the moment, this only supports livenessProbe, with support for readinessProbe in the future.
2017-08-25 10:02:51 -04:00
Suraj Narwade
8b952abe29 Added functional test for docker compose files in Example directory
Fixes #793
2017-08-24 17:09:51 +05:30
Rupali Behera
1a263a8cdf changing the organisation from kubernetes-incubator to kubernetes 2017-08-24 15:20:44 +05:30
Tomas Kral
2ff2d38ed1 Merge pull request #771 from cdrage/add-global
Add deploy: mode: global support
2017-08-24 07:53:20 +02:00
Charlie Drage
bd6d493cef Add deploy: mode: global support
Adds support for deploy: mode.

For example:

```yaml
version: "3"

services:
  foo:
    deploy:
      resources:
        mode: global
        replicas: 6
    image: redis
```

Will only generate replicas: 1 in Kubernetes pods as "global" limits
replicas to only one.
2017-08-23 12:47:27 -04:00
Charlie Drage
6a1d18c744 Update the dev guide with CI details
Updates the development.md doc with details on what CI's we use.
2017-08-23 12:11:06 -04:00
Tomas Kral
d675e0a61b Merge pull request #786 from cdrage/fix-minor-help-usage
Fix minor help output
2017-08-22 08:49:05 +02:00
Tomas Kral
7dadf002aa Merge pull request #777 from cdrage/remove-dab-examples
Remove dab examples
2017-08-22 08:48:42 +02:00
Tomas Kral
b9020f039d Merge pull request #779 from cdrage/conversion-matrix
Update conversion matrix with windows notes
2017-08-22 08:47:08 +02:00
Charlie Drage
efcc64511a Fix minor help output
Fixes the minor help output for --build (removes the space)
2017-08-21 15:15:13 -04:00
Charlie Drage
faa844a733 Merge pull request #784 from Rajadeepan/Rajadeepan-patch-1
Fix minor typo in comment
2017-08-21 14:22:29 -04:00
Rajadeepan D Ramesh
d1d9a045af Fix minor typo in comment
Fix minor typo in comment
2017-08-21 23:40:05 +05:30
Charlie Drage
081ac9b5fd Merge pull request #783 from kadel/latest-builds
add correct secrets for bintray
2017-08-21 13:43:36 -04:00
Tomas Kral
d8f387984a
add correct secrets for bintray 2017-08-21 17:18:47 +02:00
Tomas Kral
9eadd27f73 Merge pull request #782 from kadel/latest-builds
build and upload master builds to bintray
2017-08-21 17:07:17 +02:00
Tomas Kral
1930ebeb91
build and upload master builds to bintray 2017-08-21 17:06:33 +02:00
Charlie Drage
6bf2e1e867 Merge pull request #762 from cdrage/down-to-one-ack
Go down to one ACK
2017-08-21 10:34:11 -04:00
Charlie Drage
0f4e06e7fb Remove dab examples
Removes .dab examples from the example directory
2017-08-21 10:32:43 -04:00
Charlie Drage
ca46d6a83b Update conversion matrix with windows notes
Moves one of the notes as well as updates credentials_spec
2017-08-21 10:30:25 -04:00
Charlie Drage
e3245d2042 Merge pull request #778 from cdrage/fix-k8s-cluster-tests
Change directory for cluster tests
2017-08-18 11:05:26 -04:00
Charlie Drage
ba7f2b30b2 Change directory for cluster tests
Fixes the directory for running cluster tests (test_k8s rather than
test_ci)
2017-08-18 11:04:51 -04:00
Charlie Drage
a8c2f204e1 Merge pull request #775 from cdrage/update-conversion-doc
Adds a more "full" conversion document
2017-08-18 10:15:29 -04:00
Anush Shetty
40f756d8b6 OpenShift tests for docker compose v3 2017-08-18 17:12:27 +05:30
Charlie Drage
7e4a2ea77d Adds a more "full" conversion document
This majorly updates the conversion document in order to have version
compatibile checks with V1, V2 and V3 of Docker Compose and Kompose
support.
2017-08-17 16:07:43 -04:00
Charlie Drage
b3018b5c26 Merge pull request #761 from cdrage/rename-test-ci
Rename test-ci to test-k8s
2017-08-16 15:58:28 -04:00
Charlie Drage
eb7176590c Merge pull request #768 from asifdxtreme/patch-1
Fix minor typo
2017-08-16 14:41:09 -04:00
Charlie Drage
05ef36b222 Merge pull request #769 from asifdxtreme/patch-2
Change bot message
2017-08-16 14:40:51 -04:00
Mohammad Asif Siddiqui
4e381ddbfc Change bot message 2017-08-17 01:59:29 +08:00
Mohammad Asif Siddiqui
aea1f7e149 Fix minor typo 2017-08-17 01:57:36 +08:00
Charlie Drage
68b7fed256 Merge pull request #764 from mbssaiakhil/patch-2
Update Community Code of Conduct
2017-08-16 11:45:13 -04:00
Malepati Bala Siva Sai Akhil
890d8b255b Update Community Code of Conduct
Update Community Code of Conduct from kubernetes/kubernetes-template-project
2017-08-15 18:39:12 +05:30
Charlie Drage
9486a0e537 Go down to one ACK
Move down to one ACK rather than two for code changes. One or none for
doc changes.
2017-08-14 12:45:42 -04:00
Charlie Drage
89d43536e4 Rename test-ci to test-k8s
Renames test-ci to test-k8s to coincide with our `make test-openshift`
command.
2017-08-14 12:36:45 -04:00
Charlie Drage
520676d0f9 Merge pull request #733 from surajnarwade/save-cmd
Added `saving command` to annotation feature
2017-08-14 09:53:41 -04:00
Charlie Drage
539f66c487 Merge pull request #760 from mbssaiakhil/patch-1
Fix typo in Events Code of Conduct
2017-08-14 09:19:44 -04:00
Suraj Narwade
ec5c4d8550 Adding save command to annotation
This command will add `kompose command` used to generate artifacts as well as `kompose version`,
for ex,

```
metadata:
    annotations:
      kompose.cmd: kompose convert -f /home/snarwade --stdout
      kompose.version: 1.0.0 (HEAD)
```

For functional test, Now each test has template like,

```
 "annotations": {
           "kompose.cmd": "%CMD%",
           "kompose.version": "%VERSION%"
```

Because, for every machine these values will be different.

Updated functional test with new annotations
2017-08-14 12:22:33 +05:30
Malepati Bala Siva Sai Akhil
c2ad416385 Fix typo in Events Code of Conduct 2017-08-13 16:02:33 +05:30
Suraj Deshmukh
8126841788 Merge pull request #651 from procrypt/git
move git and related functions from openshift.go into a separate file
2017-08-12 12:19:53 +05:30
Charlie Drage
e14bdae933 Merge pull request #757 from cdrage/update-cluster-tests-again-part-two
Update cluster tests, use local Kompose binary
2017-08-11 11:54:40 -04:00
Charlie Drage
e89e41b9fb Update cluster tests, use local Kompose binary
Uses the local kompose binary that was built, not the one stored in the
GOPATH bin folder.

For example, using `./kompose` instead of `kompose`.

Disables `make bin` generation for Kubernetes tests.
2017-08-11 11:20:04 -04:00