Tests for registry-cli #32

Closed
0xmuralik wants to merge 23 commits from murali/tests into main
Showing only changes of commit 58c6d0ff06 - Show all commits

View File

@ -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/ --build-arg CERC_NPM_AUTH_TOKEN=${{ secrets.GITEA_PUBLISH_TOKEN }} .
- name: build containers scripts
working-directory: laconicd/tests/sdk_tests
run: ./build-laconicd-container.sh
@ -31,10 +31,10 @@ jobs:
- name: Run registry-cli demo commands in registry-cli container
run : |
laconicd_key=$( docker compose exec laconicd echo y | docker compose exec laconicd laconicd keys export mykey --unarmored-hex --unsafe )
./create-config $laconicd_key
echo ./config.yml
ls -tla
laconicd_key=$( docker compose exec laconicd echo y | docker compose exec laconicd laconicd keys export mykey --unarmored-hex --unsafe )
./create-config.sh $laconicd_key
echo ./config.yml
ls -tla
- name: stop containers
working-directory: laconicd/tests/sdk_tests
run: docker compose down