diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 41942df..f10d52b 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -16,11 +16,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Checkout laconicd + - name: Checkout laconic2d uses: actions/checkout@v3 with: - path: "./laconicd/" - repository: cerc-io/laconicd + path: "./laconic2d/" + repository: cerc-io/laconic2d fetch-depth: 0 ref: main - name: Environment @@ -31,33 +31,33 @@ jobs: dockerd -H $DOCKER_HOST --userland-proxy=false & sleep 5 - - name: Build laconicd container - working-directory: laconicd/tests/sdk_tests - run: ./build-laconicd-container.sh - - name: Build laconic-sdk container + - name: Build laconic2d container + working-directory: laconic2d/tests/sdk_tests + run: ./build-laconic2d-container.sh + - name: Build sdk container run: ./scripts/build-sdk-test-container.sh - name: Start containers - working-directory: laconicd/tests/sdk_tests + working-directory: laconic2d/tests/sdk_tests run: docker compose up -d - name: Run tests - working-directory: laconicd/tests/sdk_tests + working-directory: laconic2d/tests/sdk_tests run: ./run-tests.sh - name: Start containers (auctions enabled) - working-directory: laconicd/tests/sdk_tests + working-directory: laconic2d/tests/sdk_tests env: TEST_AUCTION_ENABLED: true run: docker compose up -d - name: Run auction tests - working-directory: laconicd/tests/sdk_tests + working-directory: laconic2d/tests/sdk_tests run: ./run-tests.sh test:auctions - name: Start containers (expiry enabled) - working-directory: laconicd/tests/sdk_tests + working-directory: laconic2d/tests/sdk_tests env: TEST_REGISTRY_EXPIRY: true run: docker compose up -d - name: Run nameservice expiry tests - working-directory: laconicd/tests/sdk_tests + working-directory: laconic2d/tests/sdk_tests run: ./run-tests.sh test:nameservice-expiry diff --git a/Dockerfile b/Dockerfile index c542015..cdd30e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,10 +29,10 @@ COPY entrypoint.sh . ENTRYPOINT ["/entrypoint.sh"] CMD node --version -WORKDIR /app/laconic-sdk +WORKDIR /app/registry-sdk COPY package*.json . RUN yarn install COPY . . -WORKDIR /app/laconic-sdk +WORKDIR /app/registry-sdk diff --git a/scripts/build-sdk-test-container.sh b/scripts/build-sdk-test-container.sh index 14ad3b7..81744fd 100755 --- a/scripts/build-sdk-test-container.sh +++ b/scripts/build-sdk-test-container.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -docker build -t cerc/laconic-sdk-tester:local -f Dockerfile . +docker build -t cerc/registry-sdk-tester:local -f Dockerfile .