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

Local tests no longer need docker-compose and rely on "mini-marathon" #274

Merged
merged 1 commit into from
May 22, 2020

Conversation

missingcharacter
Copy link
Contributor

@@ -1,11 +1,12 @@
ARG MARATHONVERSION=v1.6.322
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,11 +1,12 @@
ARG MARATHONVERSION=v1.6.322
FROM mesosphere/marathon:$MARATHONVERSION
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too bad we cant just use the upstream image directly?

Copy link
Contributor Author

@missingcharacter missingcharacter May 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried using it directly but your functional tests go deeper and we need mesos-master and mesos-agent for all tests to work.

BTW, having these tests is great, I would go as far as to say these are end-to-end <3

[[ -n $TRAVIS ]] || docker-compose build --build-arg "MARATHONVERSION=${MARATHONVERSION}"
[[ -n $TRAVIS ]] || docker-compose pull
[[ -n $TRAVIS ]] || docker-compose up -d
[[ -n $TRAVIS ]] || docker pull "missingcharacter/marathon-python:${MARATHONVERSION}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good optimization. Your docker hub account is as good as any.

@solarkennedy
Copy link
Contributor

Thanks for getting rid of compose. KISS

@solarkennedy solarkennedy merged commit e1a4264 into thefactory:master May 22, 2020
@missingcharacter missingcharacter deleted the no-docker-compose branch May 22, 2020 22:00
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

Successfully merging this pull request may close these issues.

2 participants