Skip to content

📖 Fix recommended command to test the image in development#1583

Merged
spencerschrock merged 1 commit intoossf:mainfrom
deivid-rodriguez:fix-dev-command
Sep 29, 2025
Merged

📖 Fix recommended command to test the image in development#1583
spencerschrock merged 1 commit intoossf:mainfrom
deivid-rodriguez:fix-dev-command

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

Because no testdata files are actually copied to the image, we fail to read the event file and fallback to fetching the information from GitHub API.

Howver, that's not actually working because the GITHUB_API_URL environment is missing.

To fix it, we could pass the GITHUB_API_URL. However, I think actually making the testdata file available to the container mimics better what happens in real life.

This is an alternative to #1582.

Comment thread docs/development.md Outdated
Because no testdata files are actually copied to the image, we fail to
read the event file and fallback to fetching the information from GitHub
API.

Howver, that's not actually working because the `GITHUB_API_URL`
environment is missing.

To fix it, we could pass the `GITHUB_API_URL`. However, I think actually
making the testdata file available to the container mimics better what
happens in real life.

Signed-off-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
Copy link
Copy Markdown
Member

@spencerschrock spencerschrock left a comment

Choose a reason for hiding this comment

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

Thank you!

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.

2 participants