diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index adff340..ac0d878 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,7 +11,7 @@ jobs: uses: ./.github/workflows/gem.yaml secrets: inherit -# containers: -# name: Build and publish OCI container images -# uses: ./.github/workflows/container.yaml -# secrets: inherit + containers: + name: Build and publish OCI container images + uses: ./.github/workflows/container.yaml + secrets: inherit diff --git a/Readme.adoc b/Readme.adoc index 72308f8..e4491f1 100644 --- a/Readme.adoc +++ b/Readme.adoc @@ -15,7 +15,7 @@ A command line interface to https://linear.app. === I don't want to install -You can use the OCI container image to run the CLI without installing it. +If you do not want to install this, you can use the OCI container image to run the CLI without installing it. [source,sh] ---- diff --git a/ci/nats/accounts.txt b/ci/nats/accounts.txt deleted file mode 100644 index 793bb1d..0000000 --- a/ci/nats/accounts.txt +++ /dev/null @@ -1,27 +0,0 @@ -# Client port of 4222 on all interfaces -port: 4222 - -# HTTP monitoring port -monitor_port: 8222 - -accounts: { - $SYS: { - users: [ - { user: sys, password: sys } - ] - } - ME: { - jetstream: enabled - users: [ - { user: me, password: youandme } - ] - } -} -no_auth_user: me - -authorization { - default_permissions = { - publish = ">" - subscribe = ">" - } -} diff --git a/ci/nats/start.sh b/ci/nats/start.sh deleted file mode 100755 index 0b237b4..0000000 --- a/ci/nats/start.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash - -NATS_VERSION=2 - -if readlink -f . >/dev/null 2>&1 # {{{ makes readlink work on mac -then - readlink=readlink -else - if greadlink -f . >/dev/null 2>&1 - then - readlink=greadlink - else - printf "You must install greadlink to use this (brew install coreutils)\n" >&2 - fi -fi # }}} - -# Set here to the full path to this script -me=${BASH_SOURCE[0]} -[ -L "$me" ] && me=$($readlink -f "$me") -here=$(cd "$(dirname "$me")" && pwd) -just_me=$(basename "$me") -export just_me - -cd "$here" || exit 1 -if command -v podman 2>/dev/null -then - runtime=podman -else - runtime=docker -fi - -set -x -exec "$runtime" run --rm -it -p 4222:4222 -p 6222:6222 -p 8222:8222 -v ./accounts.txt:/accounts.txt nats:"$NATS_VERSION" -js -c /accounts.txt "$@"