Skip to content

Define maven revision property when packaging jars in Dockerfile so the images are built successfully#410

Merged
feast-ci-bot merged 1 commit intofeast-dev:masterfrom
davidheryanto:fix-maven-build-revision-arg
Jan 6, 2020
Merged

Define maven revision property when packaging jars in Dockerfile so the images are built successfully#410
feast-ci-bot merged 1 commit intofeast-dev:masterfrom
davidheryanto:fix-maven-build-revision-arg

Conversation

@davidheryanto
Copy link
Copy Markdown
Collaborator

This pull request adds back -Drevision=$REVISION argument in the Dockerfiles because without it Docker build will fail because subsequent steps assumes revision property is set.

Side note
${revision} variable is removed in #394. It is defined explicitly because during deployment, if revision property is not defined explicitly i.e ${revision} variable is used, the deployed child pom will have an invalid parent pom version because ${revision} is not evaluated during deployment.

However, now that we will use maven-flatten-plugin in #406, we can use back ${revision} variable in pom.xml. ${revision} gives us more flexibility when running mvn install command: https://maven.apache.org/maven-ci-friendly.html

@feast-ci-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidheryanto

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

@khorshuheng
Copy link
Copy Markdown
Collaborator

/lgtm

@feast-ci-bot feast-ci-bot merged commit aa34a6b into feast-dev:master Jan 6, 2020
@khorshuheng
Copy link
Copy Markdown
Collaborator

/approve

@davidheryanto davidheryanto deleted the fix-maven-build-revision-arg branch January 6, 2020 13:25
ches pushed a commit to agoda-com/feast that referenced this pull request May 23, 2020
feast-ci-bot pushed a commit that referenced this pull request May 23, 2020
* Add Java code coverage reporting with JaCoCo

* Define revision property when packaging jars in Dockerfile (#410)

Co-authored-by: David Heryanto <[email protected]>
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.

3 participants