Compare commits

...

4 Commits

Author SHA1 Message Date
zramsay
94141b41a7
. 2023-03-07 15:57:19 -05:00
zramsay
6834a1d51e
fix 2023-03-07 15:52:43 -05:00
zramsay
e9c06733b9
trigger on test branches 2023-03-07 15:43:58 -05:00
zramsay
d6c420d722
test script 2023-03-07 15:34:28 -05:00
2 changed files with 12 additions and 2 deletions

View File

@ -5,6 +5,7 @@ on:
branches:
- main
- release/**
- zach/**
jobs:
sdk_tests:
@ -18,10 +19,15 @@ jobs:
repository: cerc-io/laconicd
fetch-depth: 0
ref: main
- name: Run registry-cli demo commands in registry-cli container
working-directory: ./scripts
run : ./cli-commands-test.sh
- 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 +36,7 @@ jobs:
run: docker compose up laconicd -d
- name: Run registry-cli demo commands in registry-cli container
run : ls -tla
run : ./cli-commands-test.sh
- name: stop containers
working-directory: laconicd/tests/sdk_tests
run: docker compose down

4
scripts/cli-commands-test.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
set -euo pipefail
echo "Hello from CLETUS"