Skip to content

Add Feast CI image and infra housekeeping - #558

Merged
woop merged 1 commit into
feast-dev:masterfrom
woop:housekeeping-and-feast-ci-image
Mar 21, 2020
Merged

woop merged 1 commit into
feast-dev:masterfrom
woop:housekeeping-and-feast-ci-image

Conversation

@woop

@woop woop commented Mar 21, 2020 •

Copy link
Copy Markdown
Member

What this PR does / why we need it:

This is a general infra cleanup task.

  • Move CI scripts into infra/scripts folder instead of Prow.
  • Adds a Dockerfile for general purpose CI build steps feast-ci
  • Refactor Makefile a bit

Note: Still some Python formatting/linting that needed to happen. Hopefully the last time.

Which issue(s) this PR fixes:

Helps with #526 and #556 since we can use this image to run parallel lint steps in Gitlab

Does this PR introduce a user-facing change?:

Configuration parameter names have been changed for the Docker Compose

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

@woop: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
test-end-to-end 99f2e5b link /test test-end-to-end
test-java-sdk 99f2e5b link /test test-java-sdk
test-core-and-ingestion 99f2e5b link /test test-core-and-ingestion
test-golang-sdk 99f2e5b link /test test-golang-sdk
test-end-to-end-batch 99f2e5b link /test test-end-to-end-batch
test-python-sdk 99f2e5b link /test test-python-sdk
test-serving 99f2e5b link /test test-serving

Full PR test history

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@woop

woop commented Mar 21, 2020

Copy link
Copy Markdown
Member Author

Force merging this.

@woop
woop merged commit 2830854 into feast-dev:master Mar 21, 2020
@feast-ci-bot

Copy link
Copy Markdown
Collaborator

@woop: Updated the config configmap in namespace default at cluster default using the following files:

  • key config.yaml using file .prow/config.yaml
Details

In response to this:

What this PR does / why we need it:

This is a general infra cleanup task.

  • Move CI scripts into infra/scripts folder instead of Prow.
  • Adds a Dockerfile for general purpose CI build steps feast-ci
  • Refactor Makefile a bit

Note: Still some Python formatting/linting that needed to happen. Hopefully the last time.

Which issue(s) this PR fixes:

Helps with #526 and #556 since we can use this image to run parallel lint steps in Gitlab

Does this PR introduce a user-facing change?:

None

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Comment thread Makefile

build: protos build-java build-docker build-html

install-ci-dependencies: install-python-ci-dependencies install-go-ci-dependencies

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Was install-java-ci-dependencies needed here too?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's "unimplemented" right now because we actually need some build artifacts like ingestion to be available as dependencies. So if we run install-java-ci-dependencies it doesn't actually work. Not sure if there is a nice solution that doesn't involve actually building ingestion and datatypes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmm I see, so you want this image to cache dependencies, ideally.

Good news! After a decade of the dependency plugin not supporting multi-module builds well for go-offline, a swell fellow fixed it a few months back. The fix is in the latest release, it's working for me after updating, sans excludeGroupIds.

I'll try to send a patch when I have a minute to actually test it with the built Docker image, but aside from updating this makefile the patch is just to bump the existing version 3.1.1 in the main pom.xml <pluginManagement> section to 3.1.2.

Might need to remove the cds into the subdirectories, I don't think Maven deals with it well—just mvn dependency:go-offline from top level should do it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Above doesn't work, also tried https://github.com/qaware/go-offline-maven-plugin

I think I will just use verify for now

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