Skip to content

feat: add deploy script for full live quickstart #102

feat: add deploy script for full live quickstart

feat: add deploy script for full live quickstart #102

Workflow file for this run

name: Test Examples
on:
pull_request:
workflow_dispatch:
jobs:
test-tcp-echo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
- name: Setup
working-directory: tcp.echo
run: ./setup.sh
- name: Execute Test
working-directory: tcp.echo
run: |
set -o pipefail
./test.sh | tee $GITHUB_STEP_SUMMARY
- name: Teardown
if: always()
working-directory: tcp.echo
run: ./teardown.sh
test-tls-echo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
- name: Setup
working-directory: tls.echo
run: ./setup.sh
- name: Execute Test
working-directory: tls.echo
run: |
set -o pipefail
./test.sh | tee $GITHUB_STEP_SUMMARY
- name: Teardown
if: always()
working-directory: tls.echo
run: ./teardown.sh
test-http-kafka-sync:
runs-on: ubuntu-latest
steps:
- name: Install apt packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: librdkafka-dev libyajl-dev
version: 1.0
- name: Install kcat
working-directory: /tmp
run: |
set -x
curl -L -o kcat https://github.com/attilakreiner/kcat/releases/download/1.7.1/kcat-linux-$(arch)
chmod +x kcat
sudo mv kcat /usr/local/bin
kcat 2>&1 | grep "Version 1.7.1"
- name: Checkout
uses: actions/checkout@v3
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
- name: Setup
working-directory: http.kafka.sync
run: ./setup.sh
- name: Execute Test
working-directory: http.kafka.sync
run: |
set -o pipefail
./test.sh | tee $GITHUB_STEP_SUMMARY
- name: Teardown
if: always()
working-directory: http.kafka.sync
run: ./teardown.sh
test-openapi-proxy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
working-directory: openapi.proxy/docker/compose
run: ./setup.sh
- name: Execute Test
working-directory: openapi.proxy
run: |
set -o pipefail
./test.sh | tee $GITHUB_STEP_SUMMARY
- name: Teardown
if: always()
working-directory: openapi.proxy/docker/compose
run: ./teardown.sh