From e9fb7c92e79763de22cefa832124467f59f0788d Mon Sep 17 00:00:00 2001 From: Alex <69764315+Serial-ATA@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:54:40 -0400 Subject: [PATCH 1/3] fix: point dependabot to the correct directory (#17) --- .github/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 618a9f3..8b6ece6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,8 +11,8 @@ updates: interval: "daily" open-pull-requests-limit: 5 - package-ecosystem: "gitsubmodule" - directory: "contracts/lib" + directory: "/" allow: - - dependency-name: "tnt-core" + - dependency-name: "contracts/lib/tnt-core" schedule: interval: "daily" From 4ca836b4b43117d4d6b56fe9bd37799df8a288bf Mon Sep 17 00:00:00 2001 From: Alex <69764315+Serial-ATA@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:55:06 -0400 Subject: [PATCH 2/3] chore: remove docker entrypoint script (#20) Co-authored-by: shekohex --- Dockerfile | 4 +--- docker/entrypoint.sh | 6 ------ 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 docker/entrypoint.sh diff --git a/Dockerfile b/Dockerfile index fba7ae9..2b9091b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,6 @@ RUN cargo build --release FROM debian:bookworm-slim AS runtime WORKDIR /app COPY --from=chef /app/target/release/{{project-name}} /usr/local/bin -COPY --from=chef /app/docker/entrypoint.sh /usr/local/bin -RUN chmod +x /usr/local/bin/entrypoint.sh LABEL org.opencontainers.image.authors="{{authors}}" LABEL org.opencontainers.image.description="{{project-description}}" @@ -28,4 +26,4 @@ ENV BIND_PORT=9632 ENV BLUEPRINT_ID=0 ENV SERVICE_ID=0 -ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/usr/local/bin/{{project-name}}", "run"] \ No newline at end of file diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh deleted file mode 100644 index c6c071b..0000000 --- a/docker/entrypoint.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -exec /usr/local/bin/{{project-name}} run \ - --blueprint-id="$BLUEPRINT_ID" \ - --service-id="$SERVICE_ID" \ - --bind-addr="$BIND_ADDR" \ - --bind-port="$BIND_PORT" "$@" \ No newline at end of file From 9725aef1c006b6380df36f571c843784026b4778 Mon Sep 17 00:00:00 2001 From: Alex <69764315+Serial-ATA@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:55:32 -0400 Subject: [PATCH 3/3] fix: replace "webb-tools" with "tangle-network" (#18) Co-authored-by: shekohex --- .github/workflows/verify-template.yml | 4 ++-- .gitmodules | 2 +- README.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/verify-template.yml b/.github/workflows/verify-template.yml index b5632a7..ba41324 100644 --- a/.github/workflows/verify-template.yml +++ b/.github/workflows/verify-template.yml @@ -18,9 +18,9 @@ jobs: with: name: ${{ env.PROJECT_NAME }} arguments: > - --define gh-username="webb-tools" + --define gh-username="tangle-network" --define project-description="An example blueprint" - --define project-homepage="https://webb.tools" + --define project-homepage="https://tangle.tools" --define flakes=true --define docker=true --define base-image="rustlang/rust:nightly" diff --git a/.gitmodules b/.gitmodules index 957ada2..2d09745 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,5 +3,5 @@ url = https://github.com/foundry-rs/forge-std [submodule "contracts/lib/tnt-core"] path = contracts/lib/tnt-core - url = https://github.com/webb-tools/tnt-core + url = https://github.com/tangle-network/tnt-core branch = main diff --git a/README.md b/README.md index 55ae5e6..9b51afe 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Before you can run this project, you will need to have the following software in - [Rust](https://www.rust-lang.org/tools/install) - [Forge](https://getfoundry.sh) -- [Tangle](https://github.com/webb-tools/tangle?tab=readme-ov-file#-getting-started-) +- [Tangle](https://github.com/tangle-network/tangle?tab=readme-ov-file#-getting-started-) You will also need to install `cargo-tangle`, our CLI tool for creating and deploying Tangle Blueprints: @@ -17,7 +17,7 @@ To install the Tangle CLI, run the following command: > Supported on Linux, MacOS, and Windows (WSL2) ```bash -curl --proto '=https' --tlsv1.2 -LsSf https://github.com/webb-tools/gadget/releases/download/cargo-tangle-v0.1.2/cargo-tangle-installer.sh | sh +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tangle-network/gadget/releases/download/cargo-tangle-v0.1.2/cargo-tangle-installer.sh | sh ``` Or, if you prefer to install the CLI from crates.io: @@ -60,7 +60,7 @@ For more details, please refer to the [project documentation](https://docs.tangl ## 📬 Feedback -If you have any feedback or issues, please feel free to open an issue on our [GitHub repository](https://github.com/webb-tools/blueprint-template/issues). +If you have any feedback or issues, please feel free to open an issue on our [GitHub repository](https://github.com/tangle-network/blueprint-template/issues). ## 📜 License