Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI build #3

Open
daniel-bytes opened this issue May 31, 2017 · 3 comments
Open

Travis CI build #3

daniel-bytes opened this issue May 31, 2017 · 3 comments

Comments

@daniel-bytes
Copy link
Contributor

It might be nice to have a Travis CI build that automatically pushes any changed stack yml files to the stack registry.

@kke
Copy link
Contributor

kke commented Jan 9, 2018

I think it can just try all kontena.yml's and ignore any failures (= duplicate versions).

find . -name kontena.yml -exec kontena stack registry push {} \;

If you want to just do it for the files included in the latest merge/commit:

git diff --name-only HEAD~1 HEAD | grep kontena.yml | xargs -n1 kontena stack registry push

@jnummelin
Copy link
Contributor

One issue is that for many of the stacks in this repo, there's also custom Docker images built. I think it would make sense to have some kind of makefile for each of the stacks. Then we could try to filter out changed stacks and run make for each during Travis build

@kke
Copy link
Contributor

kke commented Jan 12, 2018

Would having something like:

services:
  foofoo:
    build:
      dockerfile: |
        FROM xyz:123
        ..

be useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants