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 jacob.t.lisi@gmail.com

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 <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
@gouthamve gouthamve force-pushed the 20190114_wrap_migrations branch from 8cf993f to b030995 Compare January 15, 2020 10:50
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
@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 <gouthamve@gmail.com>

* Fix changelog to point to 0.5.0-rc.0

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

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

* Validate incoming labels for order and duplicate names.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

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

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Ignore empty metric name.

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

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

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

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

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

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Put back redundant aliases.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* wrap migration commands (#1980)

* wrap migration commands

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* update changelog

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix missing semicolon

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* Fix typo to make lint pass.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

Co-authored-by: Goutham Veeramachaneni <gouthamve+github@gmail.com>

* Call out breaking changes better.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Label this version as -rc1

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* We're abandoning the `0.5.0` release.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

Co-authored-by: Peter Štibraný <pstibrany@gmail.com>
Co-authored-by: Jacob Lisi <jacob.t.lisi@gmail.com>
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