Skip to content

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

Merged
solarkennedy merged 1 commit intothefactory:masterfrom
missingcharacter:no-docker-compose
May 22, 2020
Merged

Local tests no longer need docker-compose and rely on "mini-marathon"#274
solarkennedy merged 1 commit intothefactory:masterfrom
missingcharacter:no-docker-compose

Conversation

@missingcharacter
Copy link
Copy Markdown
Contributor

Comment thread itests/docker/Dockerfile
@@ -1,11 +1,12 @@
ARG MARATHONVERSION=v1.6.322
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Comment thread itests/docker/Dockerfile
@@ -1,11 +1,12 @@
ARG MARATHONVERSION=v1.6.322
FROM mesosphere/marathon:$MARATHONVERSION
Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread itests/itest.sh
[[ -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
Copy Markdown
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
Copy Markdown
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