Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Provision local development environment with vagrant #9

Merged
merged 7 commits into from
Sep 26, 2015

Conversation

omarkhan
Copy link
Contributor

This pull request is similar to #3, with the following differences:

  • Uses postgresql instead of sqlite
  • Does not change the Makefile
  • Does not require any manual changes to ~/.bashrc

@omarkhan
Copy link
Contributor Author

Not sure why the integration test failed, looks like scp was expecting a password.

@antoviaque
Copy link
Member

@omarkhan Thank you for this! I'll have a look at it over the week-end. Given that this partially duplicates #3 would it make sense for you and @brousch to collaborate, and consolidate your submissions on a single PR? I haven't looked at the current PR yet, so not sure if that makes sense, but I'd like to know what you think about it.

Note that this isn't a requirement or part of the recruitment process - the additional contribution and/or collaboration is a bonus, but it won't be held against you if you don't do it.

@antoviaque
Copy link
Member

Also - for the build, that's because the commits come from a fork, so CircleCI doesn't load the auth. I've pushed the branch to the main repo to trigger a rebuild with the right auth.

@omarkhan
Copy link
Contributor Author

@brousch I had already pretty much finished this by the time I saw your changes, so I made a separate pull request. I had a quick look through yours - it looks like you made a few changes to make it easier for people running windows. I'm not a windows user so I don't really know what that entails, what extra things do you have to do to get it working?

@brousch
Copy link
Contributor

brousch commented Sep 25, 2015

For Windows, I had to assume that .py files were not executable (for example, always use python manage.py instead of just manage.py, and use honcho run python manage.py). I haven't looked at your DB setup, but try not to create files like SQLite DBs in the project dir as these can run into Windows file locking issues. They should live entirely within the VM.

@omarkhan
Copy link
Contributor Author

Thanks. This uses postgres instead of sqlite so that shouldn't be an issue.

For the executable issues, will pulling in your Makefile changes be enough, or is there more to it? Would you be able to test this on windows?

@brousch
Copy link
Contributor

brousch commented Sep 25, 2015

I think we should use your Vagrantfile PR and then I could make a separate PR for the Makefile changes so I can test it properly on Windows.

@omarkhan
Copy link
Contributor Author

Good idea 👍

configured. To run them, create a `.env.test` file - your development environment is likely a good
starting point:
Note that the integration tests aren't run by default, as they require a working
OpenStack cluster configured. To run them, create a `.env.integration` file -
Copy link
Member

Choose a reason for hiding this comment

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

@omarkhan Good catch - thanks!

@antoviaque
Copy link
Member

@omarkhan @brousch Thanks again to both of you, it's definitely going to be useful to have Vagrant support : )

@omarkhan I made a few comments, but they are minor points - good job on this PR.

@antoviaque
Copy link
Member

@omarkhan Thank you again for this - works like a charm here. 👍

I'll merge if the integration tests pass.

antoviaque added a commit that referenced this pull request Sep 26, 2015
Provision local development environment with vagrant
@antoviaque antoviaque merged commit ea909a0 into open-craft:master Sep 26, 2015
@omarkhan omarkhan deleted the vagrant branch September 28, 2015 06:06
xirdneh added a commit that referenced this pull request Jun 30, 2019
# This is the 1st commit message:

Re-writing circle.yml to store code coverage in CircleCI's workspace and
collect them afterwards. Test run parallelization is used with
environment variables instead of using custom test runner.

# This is the commit message #2:

Update Makefile message.

# This is the commit message #3:

Remove cov.html from cov.combine.

# This is the commit message #4:

Stop running all tests in all containers

# This is the commit message #5:

Cleanup

# This is the commit message #6:

Experiment with different IDs for each coverage report

# This is the commit message #7:

Gathering raw coverage from all steps

# This is the commit message #8:

Always copy coverage and log message when not found

# This is the commit message #9:

Log copying raw coverage files for debugging
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants