Skip to content

Conversation

@dornera
Copy link
Collaborator

@dornera dornera commented Jan 5, 2018

  • pipenv requirements generate
  • travis.yml updated to Hamlet-Prod
  • testmodels folder delete before deploy (From 130MB per deploy down to 130KB)
    • Beanstalk recognizes git commit which is why we need to do git add and git commit commands in
      .travis.yaml

Merge this before doing any deploys! I'm deleting the old environment (Hamtest) although I did like the name...

@coveralls
Copy link

Coverage Status

Coverage remained the same at 37.921% when pulling 351dd68 on travisbeantest into 63216c3 on master.

@dornera dornera requested a review from thatandromeda January 5, 2018 21:29
Copy link
Owner

@thatandromeda thatandromeda left a comment

Choose a reason for hiding this comment

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

Assuming that the answer to my question is "yes", and you've verified that this setup causes a deploy to happen (e.g. that the hashes in the requirements.txt file don't make anything blow up), go ahead and merge. Otherwise let's talk :)

- DJANGO_DB_USER=postgres
- DJANGO_SETTINGS_MODULE=hamlet.settings.test
before_deploy:
- rm -rf hamlet/testmodels/
Copy link
Owner

Choose a reason for hiding this comment

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

Just to clarify, this happens on Travis's clone of the code and not on master?

- DJANGO_SETTINGS_MODULE=hamlet.settings.test
before_deploy:
- rm -rf hamlet/testmodels/
- pipenv lock --requirements > requirements.txt
Copy link
Owner

Choose a reason for hiding this comment

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

Oh, cool, this is a sweet way to handle the requirements.txt problem.

@dornera dornera merged commit 062a38f into master Jan 8, 2018
@dornera dornera deleted the travisbeantest branch January 8, 2018 15:45
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.

5 participants