Skip to content

Forward port Lint Version script fixes#1008

Merged
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
mrzzy:forward-port-lint-version
Sep 21, 2020
Merged

Forward port Lint Version script fixes#1008
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
mrzzy:forward-port-lint-version

Conversation

@mrzzy

@mrzzy mrzzy commented Sep 16, 2020

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:
Forward ports lint version script fixes:

  • Fixes issue where lint-version sorts prerelease versions higher than stable versions. (ie v0.7.0-rc.3 was higher sorted than v0.7.0)
  • Refactor out version parsing from tags into get_tag_release() common function.
  • Use get_tag_release in master docker push workflow to determine highest merged versioned tag.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:


Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Actual occurrences is greater than that expected occurrences when both pom.xml and tag versions the same. This is not a issue when pom.xml version is SNAPSHOT, but when its not in SNAPSHOT form, lint version scripts will flag extra occurrences and fail.

Comment thread .github/workflows/master_only.yml Outdated

@pyalex pyalex Sep 16, 2020

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe [[ "${VERSION_WITHOUT_PREFIX}" == "${HIGHEST_SEMVER_TAG:1}" ]] ?

@mrzzy mrzzy Sep 16, 2020

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

[] implies the test command. According to its manpage, it uses single = for string comparison.

@mrzzy

mrzzy commented Sep 16, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-redis-cluster

* Fixes issue where lint-version sorts prerelease versions higher than
  actual stable version.
* Refactor out version parsing from tags into get_tag_release common
  function.
* Use get_tag_release in master docker push workflow.
@mrzzy

mrzzy commented Sep 21, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-auth

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrzzy, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@woop

woop commented Sep 21, 2020

Copy link
Copy Markdown
Member

/lgtm

@feast-ci-bot feast-ci-bot merged commit 01d2661 into feast-dev:master Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants