Skip to content

Commit

Permalink
chore(infra): all dependencies are public, remove ssh git (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Talal Ashraf authored Dec 16, 2021
1 parent d62e4a1 commit a6e3c80
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "proto"]
path = proto
url = git@github.com:axelarnetwork/grpc-protobuf.git
url = https://github.com/axelarnetwork/grpc-protobuf.git
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
tonic = "0.5"
tofn = { git = "ssh://git@github.com/axelarnetwork/tofn.git", branch = "main"}
tofn = { git = "https://github.com/axelarnetwork/tofn", branch = "main"}
# tofn = { path = "../tofn" }
sled = {version = "0.34", default-features = false}

Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ WORKDIR /tofnd
COPY ./Cargo.toml .
COPY ./Cargo.lock .

# pacify ssh: add github.com to known_hosts
RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts

# build dependencies separately
RUN mkdir src && echo 'fn main() {}' > src/main.rs
RUN --mount=type=ssh cargo build --release
Expand Down

0 comments on commit a6e3c80

Please sign in to comment.