From d6c420d722848e6be17333d9fd1eb8c596908ccb Mon Sep 17 00:00:00 2001 From: zramsay Date: Tue, 7 Mar 2023 15:34:28 -0500 Subject: [PATCH] test script --- .github/workflows/test.yml | 5 +++-- scripts/cli-commands-test.sh | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 scripts/cli-commands-test.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e238e86..47f7950 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: - name: Environment run: ls -tlh && env - name: build registry-cli container - run: docker build -t cerc/laconic-registry-cli:local-test --build-arg CERC_NPM_URL=https://git.vdb.to/api/packages/cerc-io/npm/ --build-arg CERC_NPM_AUTH_TOKEN="${{ secrets.GITEA_PUBLISH_TOKEN }}" . + run: docker build -t cerc/laconic-registry-cli:local-test --build-arg CERC_NPM_URL=https://git.vdb.to/api/packages/cerc-io/npm/ . - name: build containers scripts working-directory: laconicd/tests/sdk_tests run: ./build-laconicd-container.sh @@ -30,7 +30,8 @@ jobs: run: docker compose up laconicd -d - name: Run registry-cli demo commands in registry-cli container - run : ls -tla + working-directory: laconic-registry-cli/scripts + run : ./cli-commands-test.sh - name: stop containers working-directory: laconicd/tests/sdk_tests run: docker compose down diff --git a/scripts/cli-commands-test.sh b/scripts/cli-commands-test.sh new file mode 100644 index 0000000..30944ab --- /dev/null +++ b/scripts/cli-commands-test.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -euo pipefail + +echo "Hello from CLETUS"