Skip to content

nats-action

Actions
Github action to create a NATS server/cluster for CI/CD
0.0.0
Latest
Star (3)

This action can only be run on Linux runners as it requires Docker to be available in the environment

Nats Action

Starts Nats server/cluster for automated CI/CD.

Author

onichandame

Usage

name: Test
on: [push]
jobs:
  test-cluster:
    runs-on: ubuntu-latest
    name: Test cluster

    steps:
      - name: Create Nats cluster
        uses: onichandame/nats-action@master
        with:
          port: "4222 4223 4224" # multiple different ports will start a cluster. single port will start a single server

      - name: test connection to cluster
        uses: onichandame/nats-client-action@master
        with:
          servers: "nats://localhost:4222 nats://localhost:4223 nats://localhost:4224"
          cluster: "true"

nats-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Github action to create a NATS server/cluster for CI/CD
0.0.0
Latest

nats-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.