Skip to content

Conversation

@a-b
Copy link
Member

@a-b a-b commented Mar 11, 2025

  • Use dpkg-deb -Zxz to keep backward compatibility
  • Improve test to check compatibility with Deb OSes

- Use dpkg-deb -Zxz to keep backward compatibility
- Improve test to check compatibility with Deb OSes

Co-authored-by:  João Pereira <joao.pereira@broadcom.com>
Co-authored-by:  Alex Rocha <alex.rocha@broadcom.com>
run: |
ls -R
for i in debian:11 debian:12 ubuntu:20.04 ubuntu:22.04 ubuntu; do docker run \
Copy link
Contributor

Choose a reason for hiding this comment

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

question I dont have context on the compression issue, but how does this test it?

Copy link
Member Author

@a-b a-b Mar 11, 2025

Choose a reason for hiding this comment

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

dpkg --info fails when trying to open a .deb file with unsupported compression.

Copy link
Member Author

@a-b a-b Mar 11, 2025

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use the matrix strategy here to change the container image? instead of this for loop?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good call. Yes, we should use matrix!

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool thanks

Copy link
Member Author

Choose a reason for hiding this comment

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

Created a follow-up PR for v8 #3451 and added commit to the main PR #3449

Copy link
Contributor

@joaopapereira joaopapereira left a comment

Choose a reason for hiding this comment

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

I am going to approve this PR due to the urgency to get this merged so we can release but I would love if we could answer the 2 questions I left and also create a subsequent PR to address them.

run: |
ls -R
for i in debian:11 debian:12 ubuntu:20.04 ubuntu:22.04 ubuntu; do docker run \
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use the matrix strategy here to change the container image? instead of this for loop?

@a-b a-b merged commit c0bc8b6 into cloudfoundry:v8 Mar 11, 2025
15 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