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

chore: chainguard node23 is a no, so... distroless? #1684

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Conversation

btlghrants
Copy link
Contributor

Description

If we can't use chainguard free because it's only node:23+ then what about building on upstream node:22 & running with distroless?

Related Issue

Relates to # 1676

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@btlghrants btlghrants added the DO NOT MERGE experimental PR not intended to be merged label Jan 17, 2025
@btlghrants btlghrants self-assigned this Jan 17, 2025
@btlghrants btlghrants changed the title wip: chainguard base node23 or... chore: chainguard node23 is a no, so... distroless? Jan 17, 2025
@btlghrants btlghrants marked this pull request as ready for review January 17, 2025 14:33
@btlghrants btlghrants requested a review from a team as a code owner January 17, 2025 14:33
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.52%. Comparing base (5bb2bea) to head (e767f49).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1684   +/-   ##
=======================================
  Coverage   79.52%   79.52%           
=======================================
  Files          48       48           
  Lines        2090     2090           
  Branches      460      460           
=======================================
  Hits         1662     1662           
- Misses        398      426   +28     
+ Partials       30        2   -28     
Files with missing lines Coverage Δ
src/lib/assets/helm.ts 92.30% <ø> (ø)
src/lib/assets/pods.ts 94.64% <ø> (ø)

... and 8 files with indirect coverage changes

@cmwylie19 cmwylie19 removed the DO NOT MERGE experimental PR not intended to be merged label Jan 17, 2025
Copy link
Contributor

@cmwylie19 cmwylie19 left a comment

Choose a reason for hiding this comment

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

After noticing chainguard is using Node.js v23.xx we decided to forgo use of the image until their latest node image is back on a stable version in order to avoid problems from the unstable version of node that we have no control over.

@cmwylie19 cmwylie19 added this pull request to the merge queue Jan 17, 2025
Merged via the queue into main with commit b440a9c Jan 17, 2025
48 checks passed
@cmwylie19 cmwylie19 deleted the distroless_maybe branch January 17, 2025 15:34
@btlghrants btlghrants added this to the v0.43.0 milestone Jan 17, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jan 21, 2025
## Description

The `soak.ci.yaml` uses pre-built manifests. When this
[PR](#1684) merged we went
to a distroless image where `node` is not in the path on the image. We
need to update the args on the deployments.

[Job
Failure](https://github.com/defenseunicorns/pepr/actions/runs/12840693540/job/35809678165)

## Related Issue

Fixes #
<!-- or -->
Relates to #

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging
- [x] Unit,
[Journey](https://github.com/defenseunicorns/pepr/tree/main/journey),
[E2E Tests](https://github.com/defenseunicorns/pepr-excellent-examples),
[docs](https://github.com/defenseunicorns/pepr/tree/main/docs),
[adr](https://github.com/defenseunicorns/pepr/tree/main/adr) added or
updated as needed
- [x] [Contributor Guide
Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request)
followed

Signed-off-by: Case Wylie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants