Skip to content

wrap migration commands #1980

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

Merged
merged 4 commits into from
Jan 15, 2020
Merged

wrap migration commands #1980

merged 4 commits into from
Jan 15, 2020

Conversation

jtlisi
Copy link
Contributor

@jtlisi jtlisi commented Jan 14, 2020

Signed-off-by: Jacob Lisi [email protected]

What this PR does:

This allows for migrations from v1 migrate to the current version of migrate

https://github.com/mattes/migrate/tree/master/database/postgres#upgrading-from-v1

Which issue(s) this PR fixes:
Helps Fix #1972

Checklist

  • CHANGELOG.md updated

@gouthamve
Copy link
Contributor

Can you open this against relase-0.5 branch?

@jtlisi jtlisi changed the base branch from master to release-0.5 January 14, 2020 20:18
@jtlisi
Copy link
Contributor Author

jtlisi commented Jan 14, 2020

@gouthamve done

Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Jacob Lisi <[email protected]>
@gouthamve gouthamve force-pushed the 20190114_wrap_migrations branch from 8cf993f to b030995 Compare January 15, 2020 10:50
Signed-off-by: Goutham Veeramachaneni <[email protected]>
@gouthamve gouthamve merged commit 306bfe6 into release-0.5 Jan 15, 2020
@gouthamve gouthamve deleted the 20190114_wrap_migrations branch January 15, 2020 11:11
gouthamve added a commit that referenced this pull request Jan 17, 2020
* Release 0.5.0-rc0

Signed-off-by: Goutham Veeramachaneni <[email protected]>

* Fix changelog to point to 0.5.0-rc.0

Signed-off-by: Goutham Veeramachaneni <[email protected]>

* Validate incoming labels for order and duplicate names. (#1964)

* Validate incoming labels for order and duplicate names.

Signed-off-by: Peter Štibraný <[email protected]>

* Document that cortex rejects requests with incorrectly ordered or duplicate labels.

Signed-off-by: Peter Štibraný <[email protected]>

* Ignore empty metric name.

{__name__=""} will be shown formatted as {__name__=""} instead of just empty string.

Signed-off-by: Peter Štibraný <[email protected]>

* As we rely on sorted labels, sort them before using them.

Signed-off-by: Peter Štibraný <[email protected]>

* Updated CHANGELOG.md to reflect latest changes to PR.

Signed-off-by: Peter Štibraný <[email protected]>

* Put back redundant aliases.

Signed-off-by: Peter Štibraný <[email protected]>

* wrap migration commands (#1980)

* wrap migration commands

Signed-off-by: Jacob Lisi <[email protected]>

* update changelog

Signed-off-by: Jacob Lisi <[email protected]>

* fix missing semicolon

Signed-off-by: Jacob Lisi <[email protected]>

* Fix typo to make lint pass.

Signed-off-by: Goutham Veeramachaneni <[email protected]>

Co-authored-by: Goutham Veeramachaneni <[email protected]>

* Call out breaking changes better.

Signed-off-by: Goutham Veeramachaneni <[email protected]>

* Label this version as -rc1

Signed-off-by: Goutham Veeramachaneni <[email protected]>

* We're abandoning the `0.5.0` release.

Signed-off-by: Goutham Veeramachaneni <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Co-authored-by: Jacob Lisi <[email protected]>
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