-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from yral-dapp/refactor/remove-deps
refactor: add secrets file to gitignore, remove deps on external services
- Loading branch information
Showing
7 changed files
with
80 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/target | ||
/.direnv | ||
gha-creds-*.json | ||
.DS_Store | ||
.DS_Store | ||
google_service_account.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM debian:bookworm-20240211 | ||
|
||
WORKDIR /app | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y ca-certificates \ | ||
&& apt-get -y install curl \ | ||
&& apt-get -y install ffmpeg | ||
|
||
EXPOSE 50051 | ||
|
||
ENV GOOGLE_SA_KEY=test | ||
ENV YRAL_METADATA_TOKEN="test_token" | ||
ENV QSTASH_CURRENT_SIGNING_KEY="test_key" | ||
ENV QSTASH_AUTH_TOKEN="test_token" | ||
|
||
|
||
# Latest releases available at https://github.com/aptible/supercronic/releases | ||
# ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.29/supercronic-linux-amd64 \ | ||
# SUPERCRONIC=supercronic-linux-amd64 \ | ||
# SUPERCRONIC_SHA1SUM=cd48d45c4b10f3f0bfdd3a57d054cd05ac96812b | ||
|
||
# RUN curl -fsSLO "$SUPERCRONIC_URL" \ | ||
# && echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \ | ||
# && chmod +x "$SUPERCRONIC" \ | ||
# && mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \ | ||
# && ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic | ||
|
||
# # You might need to change this depending on where your crontab is located | ||
# COPY crontab crontab | ||
|
||
COPY ./target/x86_64-unknown-linux-musl/release/icp-off-chain-agent . | ||
CMD ["./icp-off-chain-agent"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters