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

tweaks: use full-line commands to sed #2192

Merged
merged 1 commit into from
Mar 26, 2024
Merged

tweaks: use full-line commands to sed #2192

merged 1 commit into from
Mar 26, 2024

Conversation

mcv21
Copy link
Contributor

@mcv21 mcv21 commented Mar 7, 2024

A safety tweak to make sure we only edit whole lines that match; also handle commented-out lines.

Checklist:

  • Documentation has been updated, if necessary.
  • Pending release notes updated with breaking and/or notable changes, if necessary.

(neither of those things necessary here, I think)

@mcv21
Copy link
Contributor Author

mcv21 commented Mar 7, 2024

CI failures seem to be related to being unable to get hold of the repo at all, rather than objecting to the contents of the change.

@tchaikov
Copy link
Contributor

tchaikov commented Mar 7, 2024

stderr: fatal: unable to access 'https://github.com/ceph/ceph-container.git/': Could not resolve host: github.com

@mcv21
Copy link
Contributor Author

mcv21 commented Mar 7, 2024

jenkins retest this please

@tchaikov
Copy link
Contributor

tchaikov commented Mar 7, 2024

@mcv21 hi Mathew, i retriggered the jenkins jobs previously failed due to infra issues. but the github "container" workflows are failing.

@mcv21
Copy link
Contributor Author

mcv21 commented Mar 8, 2024

[I'm at the point where AFAICT the previous sed runes shouldn't have worked, given grep "obtain_device_list_from_udev = 1" /etc/lvm/lvm.conf on the unedited lvm.conf failed]

A safety tweak to make sure we only edit whole lines that match. Also
handle the lines we're edited being commented out; add a couple of
echos to add any future debugging (which, given the amount of output
from a successful build seems like a low-cost move).

Signed-off-by: Matthew Vernon <[email protected]>
@mcv21
Copy link
Contributor Author

mcv21 commented Mar 8, 2024

OK, that's more robustly working now, and I've tidied up the branch history too, so I think this is ready for review now.

@tchaikov
Copy link
Contributor

tchaikov commented Mar 23, 2024

@guits bonjour Guillaume, could you help review this change?

@guits guits merged commit d7c7095 into ceph:main Mar 26, 2024
8 checks passed
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