You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "jdeppe-pivotal (GitHub)" <gi...@apache.org> on 2018/08/22 21:55:59 UTC

[GitHub] [geode] jdeppe-pivotal opened pull request #2364: GEODE-5613: Add winrm-cli for Windows CI support

- This also reverts the previous commit which changed the wrong docker image.

Thank you for submitting a contribution to Apache Geode.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

- [ ] Has your PR been rebased against the latest commit within the target branch (typically `develop`)?

- [ ] Is your initial contribution a single, squashed commit?

- [ ] Does `gradlew build` run cleanly?

- [ ] Have you written or updated unit tests to verify your changes?

- [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?

### Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.


[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] pivotal-jbarrett commented on pull request #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "pivotal-jbarrett (GitHub)" <gi...@apache.org>.
Alternatively you could also uninstall the components you don't need after the build of `winrm-cli`.

[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] pivotal-jbarrett commented on issue #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "pivotal-jbarrett (GitHub)" <gi...@apache.org>.
Well poops! I guess we just go with your changes.

[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] jdeppe-pivotal closed pull request #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "jdeppe-pivotal (GitHub)" <gi...@apache.org>.
[ pull request closed by jdeppe-pivotal ]

[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] smgoller commented on pull request #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "smgoller (GitHub)" <gi...@apache.org>.
I agree, you can make the image FROM alpine-tools then add the extra stuff, then create an image job that depends on alpine-tools.

[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] pivotal-jbarrett commented on pull request #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "pivotal-jbarrett (GitHub)" <gi...@apache.org>.
I'd be more inclined to have a alpine-tools-windows image so that the commonly used image doesn't have the all this stuff just to support a single task.


[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] pivotal-jbarrett commented on issue #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "pivotal-jbarrett (GitHub)" <gi...@apache.org>.
@jdeppe-pivotal Would the image `kubevirt/winrmcli` cover you needs here?

Alternatively since they are already compiling the go and putting it in an image you could take the one file from that image into our image and avoid the extra installations.

`COPY --from=kubevirt/winrmcli:latest /usr/bin/winrm-cli /usr/bin/winrm-cli`

[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] jdeppe-pivotal commented on pull request #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "jdeppe-pivotal (GitHub)" <gi...@apache.org>.
Seems like so much unnecessary work. Why not just keep it simple?

[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] rhoughton-pivot commented on issue #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "rhoughton-pivot (GitHub)" <gi...@apache.org>.
These utility images should do one thing and do it well and not have extra
things that they don't need for their intended job

On Aug 22, 2018 17:05, "Jens Deppe" <no...@github.com> wrote:

*@jdeppe-pivotal* commented on this pull request.
------------------------------

In ci/images/alpine-tools/Dockerfile
<https://github.com/apache/geode/pull/2364#discussion_r212147884>:

> \ No newline at end of file
+  && gcloud config set metrics/environment github_docker_image \

Seems like so much unnecessary work. Why not just keep it simple?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/apache/geode/pull/2364#discussion_r212147884>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Aer30sDKCfl4Wgc55NtiShgFRrTXIZGfks5uTfG3gaJpZM4WIe6H>
.


[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] jdeppe-pivotal commented on issue #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "jdeppe-pivotal (GitHub)" <gi...@apache.org>.
@smgoller @rhoughton-pivot Please review when you have a moment.


[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] jdeppe-pivotal commented on issue #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "jdeppe-pivotal (GitHub)" <gi...@apache.org>.
@pivotal-jbarrett Looks like it's linked against a 'regular' linux system - i.e. it needs 
```
	/lib64/ld-linux-x86-64.so.2 (0x7fe7b9c05000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fe7b9c05000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fe7b9c05000)
```

[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

[GitHub] [geode] pivotal-jbarrett commented on pull request #2364: GEODE-5613: Add winrm-cli for Windows CI support

Posted by "pivotal-jbarrett (GitHub)" <gi...@apache.org>.
What is the total size of the image compared to the original image. We have seen task start times relative to the size of the image. 

[ Full content available at: https://github.com/apache/geode/pull/2364 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org