Skip to content

Conversation

@whynowy
Copy link
Contributor

@whynowy whynowy commented Jan 28, 2019

Use real message_dumper image instead of ko image path.

Fixes #813

Used ko image path in the spec however the installation command in README.rd was "kubectl apply ..."

Proposed Changes

  • Use a real message_dumper image instead of ko image path, so that user can try out the samples without ko.

Use real message_dumper image instead of ko image path.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jan 28, 2019
@knative-prow-robot knative-prow-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 28, 2019
@knative-prow-robot
Copy link
Contributor

Hi @whynowy. Thanks for your PR.

I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

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.

@gyliu513
Copy link
Contributor

lgtm, thanks @whynowy

@samodell
Copy link
Contributor

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 28, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: samodell, whynowy

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

The pull request process is described here

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

@knative-prow-robot knative-prow-robot merged commit 9bafcc9 into knative:master Jan 28, 2019
@ahmetb
Copy link
Contributor

ahmetb commented Jan 29, 2019

I see you just used a message_dumper image without any tags here @whynowy.

Looks like in gcp-pubsub-source/subscriber.yaml we have this image's tag automatically provided:

spec:
container:
# This corresponds to
# https://github.com/knative/eventing-sources/blob/release-0.3/cmd/message_dumper/dumper.go
image: gcr.io/knative-releases/github.com/knative/eventing-sources/cmd/message_dumper@sha256:8423232db7a7b4010c0cfbfaef95745efe962631af9b7456903825801a7893f7

Does anyone know the cronjob sample doesn't have this comment and the sha256 tag of the same image? Is there an automation at play here? If so, both YAMLs should use the same mechanism?

/cc @FuriKuri
(last person to edit that line from "git blame")

@knative-prow-robot
Copy link
Contributor

@ahmetb: GitHub didn't allow me to request PR reviews from the following users: FuriKuri.

Note that only knative members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

I see you just used a message_dumper image without any tags here @whynowy.

Looks like in gcp-pubsub-source/subscriber.yaml we have this image's tag automatically provided:

spec:
container:
# This corresponds to
# https://github.com/knative/eventing-sources/blob/release-0.3/cmd/message_dumper/dumper.go
image: gcr.io/knative-releases/github.com/knative/eventing-sources/cmd/message_dumper@sha256:8423232db7a7b4010c0cfbfaef95745efe962631af9b7456903825801a7893f7

Does anyone know the cronjob sample doesn't have this comment and the sha256 tag of the same image? Is there an automation at play here? If so, both YAMLs should use the same mechanism?

/cc @FuriKuri
(last person to edit that line from "git blame")

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.

@whynowy whynowy deleted the cronjob_sample_bugfix branch January 29, 2019 05:38
@whynowy
Copy link
Contributor Author

whynowy commented Jan 30, 2019

@ahmetb Not sure if they explicitly added the sha256 tag or did it with an automation. Currently CronJob is doing the way as github (https://github.com/knative/docs/blob/master/eventing/samples/github-source/service.yaml#L12), uses the lastest tag.

@ahmetb
Copy link
Contributor

ahmetb commented Jan 30, 2019

I opened #830 which explains the situation better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants