test script
This commit is contained in:
parent
93e3f5c301
commit
d6c420d722
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: Environment
|
- name: Environment
|
||||||
run: ls -tlh && env
|
run: ls -tlh && env
|
||||||
- name: build registry-cli container
|
- 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
|
- name: build containers scripts
|
||||||
working-directory: laconicd/tests/sdk_tests
|
working-directory: laconicd/tests/sdk_tests
|
||||||
run: ./build-laconicd-container.sh
|
run: ./build-laconicd-container.sh
|
||||||
@ -30,7 +30,8 @@ jobs:
|
|||||||
run: docker compose up laconicd -d
|
run: docker compose up laconicd -d
|
||||||
|
|
||||||
- name: Run registry-cli demo commands in registry-cli container
|
- 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
|
- name: stop containers
|
||||||
working-directory: laconicd/tests/sdk_tests
|
working-directory: laconicd/tests/sdk_tests
|
||||||
run: docker compose down
|
run: docker compose down
|
||||||
|
4
scripts/cli-commands-test.sh
Normal file
4
scripts/cli-commands-test.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo "Hello from CLETUS"
|
Loading…
Reference in New Issue
Block a user