From 0895f40f1a821facbfdccb198608ad5f92291507 Mon Sep 17 00:00:00 2001 From: "Tj (bougyman) Vanderpoel" Date: Mon, 3 Nov 2025 12:44:38 -0600 Subject: [PATCH 1/2] fix(ci): Removes unused nats ci things --- ci/nats/accounts.txt | 27 --------------------------- ci/nats/start.sh | 33 --------------------------------- 2 files changed, 60 deletions(-) delete mode 100644 ci/nats/accounts.txt delete mode 100755 ci/nats/start.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 "$@" From b504a361782651d48003e3b6c8fbcc091c515402 Mon Sep 17 00:00:00 2001 From: "Tj (bougyman) Vanderpoel" Date: Mon, 3 Nov 2025 13:07:50 -0600 Subject: [PATCH 2/2] fix: Adds container build to publisher --- .github/workflows/publish.yaml | 8 ++++---- Readme.adoc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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] ----