Skip to content

Avro 1887#196

Closed
spacharya wants to merge 3 commits intoapache:masterfrom
spacharya:AVRO-1887
Closed

Avro 1887#196
spacharya wants to merge 3 commits intoapache:masterfrom
spacharya:AVRO-1887

Conversation

@spacharya
Copy link
Contributor

I have made the setup to use yetus.
A quick setup of yetus can be done using this script : https://gist.github.com/spacharya/c1013fda8fe5d864fd028e8e5c478b81

You will need to have docker present on that machine.

/bin/bash ../yetus/precommit/test-patch.sh --plugins=all,-compile,-javadoc --user-plugins=share/pre_commit/ --build-tool=build https://github.com/apache/avro/pull/191 --docker --dockerFile=share/docker/Dockerfile --dirty-workspace

Is a sample deployment.

I would appreciate if people can look at the changes and test it and let me know if there are any improvements.

Copy link
Contributor

@busbey busbey left a comment

Choose a reason for hiding this comment

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

Why not include the example script in the patch as well? then we could just invoke it directly on the asf jenkins hosts.

fi
docker build -t avro-build-${USER_NAME} - <<UserSpecificDocker
FROM avro-build
FROM docker.io/surajacharya/avro-build-test
Copy link
Contributor

Choose a reason for hiding this comment

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

presumably this will be an image from the project before we start using this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Once there is a general consensus that the base image being used is good enough I intend to move it to a more central location (apache docker hub) and point it to that.

# See BUILD.txt.

FROM java:7-jdk
FROM docker.io/surajacharya/avro-build-test
Copy link
Contributor

Choose a reason for hiding this comment

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

presumably this will be an image from the project before we start using this?

@spacharya
Copy link
Contributor Author

Okay i will add the script to the patch shortly.

@busbey
Copy link
Contributor

busbey commented Jun 7, 2017

any update on including the example script?

@Fokko
Copy link
Contributor

Fokko commented Nov 7, 2018

Superseded by #353

@Fokko Fokko closed this Nov 7, 2018
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.

3 participants

Comments