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

Automate zilla develop-SNAPSHOT acceptance tests for zilla-examples scenarios #1434

Open
3 of 36 tasks
vordimous opened this issue Mar 20, 2023 · 1 comment
Open
3 of 36 tasks
Labels
devx Effects the Developer Experience story Feature description from user's perspective

Comments

@vordimous
Copy link
Contributor

vordimous commented Mar 20, 2023

Describe the desired outcome from the user's perspective
As a zilla developer, I want to have confidence that my changes have no negative impact on zilla-examples scenarios.

Acceptance criteria

  • Each zilla-examples scenario is automated via GitHub Actions, following the steps in each README
  • The develop-SNAPSHOT version of zilla is used for automated testing by default
  • A local develop-SNAPSHOT build of zilla is created and cached via GitHub Actions as needed
  • If any of the steps in the README do not behave as expected, then the GitHub Actions workflow fails
  • Enough information is retained when the GitHub Actions workflow fails to diagnose the failure
  • Ideally, the same tools recommended by the README are used by the workflow to verify correctness
  • The workflow may be triggered by a timer, or manually

Additional context
See potentially helpful kind tool for k8s automation.

Running GH actions can be executed in a container. The container needed for the GH action can be pulled locally to test any action steps.

sparse-checkout can only clone certain folders or patterns of folders.

Export results to the $GITHUB_OUTPUT var.

Use path-specific action triggers and global env vars to make jobs and tasks more generic.

on:
  push:
    paths:
      - "path/to/example/**/*"

env:
  EXAMPLE_PATH: path/to/example

Tasks

  • Add a GH action to build the head of develop and run example tests #1263
  • automate amqp.reflect
  • automate grpc.echo
  • automate grpc.kafka.echo
  • automate grpc.kafka.fanout
  • automate grpc.kafka.proxy
  • automate grpc.proxy
  • automate http.echo
  • automate http.echo.jwt
  • automate http.filesystem
  • automate http.filesystem.config.server
  • automate http.kafka.async
  • automate http.kafka.cache
  • automate http.kafka.crud
  • automate http.kafka.karapace
  • automate http.kafka.oneway
  • automate http.kafka.sasl.scram
  • automate http.kafka.sync
  • automate http.proxy
  • automate http.proxy.schema.inline
  • automate http.redpanda.sasl.scram
  • automate kubernetes.prometheus.autoscale
  • automate mqtt.kafka.asyncapi.proxy
  • automate mqtt.kafka.broker
  • automate mqtt.kafka.broker.jwt
  • automate mqtt.proxy.asyncapi
  • Automate openapi.proxy scenario acceptance tests zilla-examples#124
  • automate quickstart
  • automate sse.kafka.fanout
  • automate sse.proxy.jwt
  • automate tcp.echo
  • automate tcp.reflect
  • Automate tls.echo scenario acceptance tests zilla-examples#125
  • automate tls.reflect
  • automate ws.echo
  • automate ws.reflect
@vordimous vordimous added the enhancement New feature or request label Oct 10, 2023
@vordimous vordimous self-assigned this Oct 10, 2023
@jfallows jfallows changed the title Create example tests and github workflow Automate zilla develop-SNAPSHOT acceptance tests for zilla-examples scenarios Apr 17, 2024
@jfallows jfallows added story Feature description from user's perspective and removed enhancement New feature or request labels Apr 17, 2024
@jfallows jfallows self-assigned this Apr 17, 2024
@jfallows jfallows removed their assignment Jul 16, 2024
@vordimous vordimous added the devx Effects the Developer Experience label Aug 21, 2024
@vordimous vordimous removed their assignment Aug 26, 2024
@vordimous vordimous self-assigned this Sep 16, 2024
@jfallows jfallows transferred this issue from aklivity/zilla-examples Mar 13, 2025
@jfallows
Copy link
Contributor

This is now folded into the docker compose automated testing of examples in zilla repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devx Effects the Developer Experience story Feature description from user's perspective
Projects
None yet
Development

No branches or pull requests

2 participants