Compare commits
4 Commits
main
...
zach/tests
Author | SHA1 | Date | |
---|---|---|---|
|
94141b41a7 | ||
|
6834a1d51e | ||
|
e9c06733b9 | ||
|
d6c420d722 |
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -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
4
scripts/cli-commands-test.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
echo "Hello from CLETUS"
|
Loading…
Reference in New Issue
Block a user