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

Add a npx pepr dev test around the WebhookConfig that is generated #1723

Closed
cmwylie19 opened this issue Jan 24, 2025 · 0 comments · Fixed by #1815
Closed

Add a npx pepr dev test around the WebhookConfig that is generated #1723

cmwylie19 opened this issue Jan 24, 2025 · 0 comments · Fixed by #1815
Assignees
Labels

Comments

@cmwylie19
Copy link
Contributor

cmwylie19 commented Jan 24, 2025

Describe what should be investigated or refactored

Ensure the webhooks generated in Pepr dev are pointing to the localhost k3d address.

@cmwylie19 cmwylie19 added this to the v0.45.1 milestone Feb 3, 2025
@cmwylie19 cmwylie19 moved this from 🆕 New to 📋 Backlog in Pepr Project Board Feb 3, 2025
@samayer12 samayer12 added the Testing Testing label Feb 3, 2025
@samayer12 samayer12 self-assigned this Feb 5, 2025
@cmwylie19 cmwylie19 removed this from the v0.45.1 milestone Feb 12, 2025
github-merge-queue bot pushed a commit that referenced this issue Feb 12, 2025
## Description

We identified a testing gap that exists when a webhook is generated from
an instance of the `Assets` object that has `Assets.host` defined. This
test case addresses that gap.

**NOTE**: There's some tight coupling with the `Assets` class and the
use of a massive JSON string to create our test `assets` object in this
file. Resolving those issue are outside the scope of this PR but do need
to be addressed by future work. See #1816 and #1817

## Related Issue

Fixes #1723

## 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
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Pepr Project Board Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants