Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: labels following missing line-continuation character are ignored #235

Closed
ben-alkov opened this issue Aug 1, 2022 · 7 comments
Closed
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@ben-alkov
Copy link

e.g.

LABEL name="tech-preview/vm-launcher" \
      version="v0.0.1" \
      release="10"
      summary="Hosts VMs" \

does NOT fail as expected, but simply ignores all labels following release.

podman fails as expected.

@nalind
Copy link
Member

nalind commented Aug 17, 2022

When I try to build this Dockerfile with the current version:

FROM scratch
LABEL name="tech-preview/vm-launcher" \
      version="v0.0.1" \
      release="10"
      summary="Hosts VMs" \

the build completes, but I get a --> warning: Unknown instruction: SUMMARY="HOSTS warning in the output. If I build with the -ignore-unrecognized-instructions=false flag, the build errors out. Are you seeing different behavior? Are you using a different release of imagebuilder?

(edited: I forgot the FROM scratch)

@ben-alkov
Copy link
Author

Unfortunately, I'm not able to even build a reproducer right now, but AFAIK:

the build completes, but I get a --> warning: Unknown instruction: SUMMARY="HOSTS warning in the output

Our builds complete; build owners are probably simply ignoring that warning

If I build with the -ignore-unrecognized-instructions=false flag, the build errors out. Are you seeing different behavior?

We always build with --ignore-unrecognized-instructions=true

Are you using a different release of imagebuilder?

1.2.1

@nalind
Copy link
Member

nalind commented Aug 19, 2022

If I build with the -ignore-unrecognized-instructions=false flag, the build errors out. Are you seeing different behavior?

We always build with --ignore-unrecognized-instructions=true

I am sorely tempted to try to change the default for that from true to false.

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 18, 2022
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 19, 2022
@openshift-bot
Copy link

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci openshift-ci bot closed this as completed Jan 18, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 18, 2023

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

3 participants