Skip to content

Conversation

@fabianrbz
Copy link
Contributor

@fabianrbz fabianrbz commented Oct 28, 2025

Description

Add event gateway tests, use validations and some fixes.
Refactor the github actions that run tests with reusable steps.

Event gateway tests are run once a month, but can be manually triggered

Preview Links

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

so we can use it in the automated tests

This applies to all the products that might require special files to be
run, the convention is app/_includes/_files/<product>/<file>, that way
we know which files we need to mount for each product when running the
tests.
Multiple changes in this commmit:

* We now have instructions for each product on the different run-times
(gateway and konnect for now).
* The main product of each haw-to is used (products.first) to set up/tear
down the environment.

* Environment variables that are prefixed with `TESTS_` are loaded into
the container running the tests so that we can pass env variables to it.
* Add dotenv.
* Store env variables into a file in the container.
* Fix an issue when parsing env variables that contained `=`.
* Mount app/_includes/_files into the container, some product-specific
  files are needed for setting up some things. This might change soon.
@fabianrbz fabianrbz added this to the Event Gateway GA milestone Oct 28, 2025
@fabianrbz fabianrbz requested a review from a team as a code owner October 28, 2025 08:55
@netlify
Copy link

netlify bot commented Oct 28, 2025

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 2abd976
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6901d004453be30008bfe997
😎 Deploy Preview https://deploy-preview-3256--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@fabianrbz fabianrbz merged commit 346f850 into release/event-gateway Oct 30, 2025
11 of 12 checks passed
@fabianrbz fabianrbz deleted the event-gateway-automated-tests branch October 30, 2025 14:33
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