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

fall back to alternative Zeek .deb download URL #585

Closed
mmguero opened this issue Oct 1, 2024 · 1 comment
Closed

fall back to alternative Zeek .deb download URL #585

mmguero opened this issue Oct 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working build For issues related to compilation/building docker Relating to docker and docker-compose as used by Malcolm zeek Relating to Malcolm's use of Zeek
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Oct 1, 2024

Found by and discussed with myself and @piercema

When Zeek posts new official debs, the URL for the old ones (we're using https://downloadcontentcdn.opensuse.org/repositories/security:/zeek/ ...) doesn't work any more. This means that it becomes impossible to build Zeek containers for older Malcolm versions.

In zeek-deb-download.sh, if the URL_PREFIX for whatever that deb gives a 404, we should fall back to another URL, if we can identify what that would be.

@mmguero mmguero added the bug Something isn't working label Oct 1, 2024
@mmguero mmguero added this to the z.staging milestone Oct 1, 2024
@mmguero mmguero added this to Malcolm Oct 1, 2024
@mmguero mmguero added docker Relating to docker and docker-compose as used by Malcolm build For issues related to compilation/building zeek Relating to Malcolm's use of Zeek labels Oct 1, 2024
@mmguero mmguero moved this to Todo (develop) in Malcolm Oct 1, 2024
@mmguero mmguero self-assigned this Oct 3, 2024
@mmguero mmguero moved this from Todo (develop) to Testing in Malcolm Oct 3, 2024
@mmguero mmguero modified the milestones: z.staging, v24.10.0 Oct 3, 2024
@mmguero
Copy link
Collaborator Author

mmguero commented Oct 3, 2024

So there isn't an official place where old Debs are kept, but I've added code that allows the build scripts to take a URL as a parameter (which can also be specified via an environment variable or GitHub repository secret) that will allow us to cache them internally should we choose to.

@mmguero mmguero changed the title fall back to alternative Zeek fall back to alternative Zeek .deb download URL Oct 3, 2024
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue Oct 3, 2024
@mmguero mmguero closed this as completed Oct 3, 2024
@github-project-automation github-project-automation bot moved this from Testing to Done in Malcolm Oct 3, 2024
This was referenced Oct 8, 2024
@mmguero mmguero moved this from Done to Released in Malcolm Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build For issues related to compilation/building docker Relating to docker and docker-compose as used by Malcolm zeek Relating to Malcolm's use of Zeek
Projects
Status: Released
Development

No branches or pull requests

1 participant