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:
|
branches:
|
||||||
- main
|
- main
|
||||||
- release/**
|
- release/**
|
||||||
|
- zach/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sdk_tests:
|
sdk_tests:
|
||||||
@ -18,10 +19,15 @@ jobs:
|
|||||||
repository: cerc-io/laconicd
|
repository: cerc-io/laconicd
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: main
|
ref: main
|
||||||
|
|
||||||
|
- name: Run registry-cli demo commands in registry-cli container
|
||||||
|
working-directory: ./scripts
|
||||||
|
run : ./cli-commands-test.sh
|
||||||
|
|
||||||
- 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 +36,7 @@ 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
|
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
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