Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ pulp Public archive

Remove db-reset script #3163

Merged
merged 1 commit into from
Sep 22, 2017
Merged

Remove db-reset script #3163

merged 1 commit into from
Sep 22, 2017

Conversation

asmacdo
Copy link
Contributor

@asmacdo asmacdo commented Sep 21, 2017

Where db-reset is used in this repo, it is replaced with pulp-manager use
directly.
https://pulp.plan.io/issues/3012
To be merged along with after pulp/devel#91

re: #3012

@mention-bot
Copy link

@asmacdo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @seandst, @werwty and @dralley to be potential reviewers.

Where it is used in this repo, it is replaced with pulp-manager use
directly.

re: pulp#3012
- "platform/pulpcore/app/db-reset.sh && python manage.py test"
- "pulp-manager makemigrations pulp_app --noinput"
- "pulp-manager migrate auth --noinput"
- "pulp-manager migrate --noinput && pulp-manager test"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dkliban, do you think that chaining only the final migrate will give us the intended result?

Copy link
Member

Choose a reason for hiding this comment

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

maybe you can put an after_success section after the migrate step. and run test in there.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After IRC discussion, we decided to try moving this around in a separate change.

@asmacdo asmacdo merged commit 4149d20 into pulp:3.0-dev Sep 22, 2017
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.

4 participants