Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redo Dockerfile generation #530

Merged
merged 46 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
feae2cd
Delete all Dockerfile fragments, add new orchestator to generate Dock…
kayabaNerve Feb 4, 2024
d2e15f4
Use Dockerfiles from the orchestator
kayabaNerve Feb 4, 2024
92b20af
Ignore Dockerfiles in the git repo
kayabaNerve Feb 4, 2024
cab4d66
Remove CI job to check Dockerfiles are as expected now that they're n…
kayabaNerve Feb 4, 2024
31b25c9
Remove old Dockerfiles from repo
kayabaNerve Feb 4, 2024
d153fcb
Use Debian for monero-wallet-rpc
kayabaNerve Feb 4, 2024
65bd6c6
Remove replace_cmds for proper usage of entry-dev
kayabaNerve Feb 4, 2024
87154d4
Only write a new dockerfile if it's distinct
kayabaNerve Feb 4, 2024
738f846
Update serai-docker-tests
kayabaNerve Feb 4, 2024
3d6ffd1
Correct the path Dockerfiles are built from
kayabaNerve Feb 4, 2024
30c02db
Correct inclusion of orchestration folder in Docker builds
kayabaNerve Feb 4, 2024
f3bbbac
Correct debug/release flagging in the cargo command
kayabaNerve Feb 4, 2024
5c4a43c
Correct path used to run the Serai node within a Dockerfile
kayabaNerve Feb 4, 2024
0ed8fbf
Correct path in Monero Dockerfile
kayabaNerve Feb 4, 2024
9abb977
Attempt storing monerod in /usr/bin
kayabaNerve Feb 4, 2024
fc7f765
Use sudo to move into /usr/bin in CI
kayabaNerve Feb 4, 2024
f11ed68
Correct 18.3.0 to 18.3.1
kayabaNerve Feb 4, 2024
8806f2c
Escape * with quotes
kayabaNerve Feb 4, 2024
168cf84
Update deny.toml, ADD orchestration in runtime Dockerfile
kayabaNerve Feb 4, 2024
b897d4a
Add --detach to the Monero GH CI
kayabaNerve Feb 4, 2024
60098f5
Diversify dockerfiles by network
kayabaNerve Feb 4, 2024
105b1d6
Fixes to network-diversified orchestration
kayabaNerve Feb 4, 2024
7468898
Bitcoin and Monero testnet scripts
kayabaNerve Feb 4, 2024
9bdab21
Permissions and tweaks
kayabaNerve Feb 4, 2024
9ec4edc
Flatten scripts folders
kayabaNerve Feb 4, 2024
2f18b76
Add missing folder specification to Monero Dockerfile
kayabaNerve Feb 4, 2024
a7e6155
Have monero-wallet-rpc specify the monerod login
kayabaNerve Feb 4, 2024
2408017
Have the Docker CMD specify env variables inserted at time of Dockerf…
kayabaNerve Feb 5, 2024
36fe2db
Don't add Dockerfiles into Docker containers now that they have secrets
kayabaNerve Feb 5, 2024
a4aa7b0
Download arm64 Monero on arm64
kayabaNerve Feb 5, 2024
8fd6247
Ensure constant host architecture when reproducibly building the wasm
kayabaNerve Feb 5, 2024
497bb3b
Randomly generate infrastructure keys
kayabaNerve Feb 6, 2024
370a7bf
Have orchestrator generate a key, be able to create/start containers
kayabaNerve Feb 7, 2024
be87288
Ensure bash is used over sh
kayabaNerve Feb 7, 2024
95aa088
Clean dated docs
kayabaNerve Feb 7, 2024
22a3039
Change how quoting occurs
kayabaNerve Feb 7, 2024
bd3b563
Standardize to sh
kayabaNerve Feb 8, 2024
8e6d4df
Have Docker test build the dev Dockerfiles
kayabaNerve Feb 8, 2024
8af0fe1
Only key_gen once
kayabaNerve Feb 8, 2024
c8a2e3b
cargo update
kayabaNerve Feb 8, 2024
cc1d4f4
Use a dedicated network for Serai
kayabaNerve Feb 8, 2024
51edd82
Support providing a key over the env for the Serai node
kayabaNerve Feb 8, 2024
b60e2f1
Enable and document running daemons for tests via serai-orchestrator
kayabaNerve Feb 8, 2024
38c079c
Use volumes for bitcoin/monero
kayabaNerve Feb 8, 2024
0aa93e2
Use bitcoin's run.sh in GH CI
kayabaNerve Feb 8, 2024
1636d1d
Only use the volume for testnet (not dev)
kayabaNerve Feb 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion orchestration/dev/coins/ethereum/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

geth --dev --networkid 5208 --datadir "eth-devnet" \
--http --http.api "web3,net,eth,miner" \
Expand Down
2 changes: 1 addition & 1 deletion orchestration/dev/coins/monero-wallet-rpc/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

monero-wallet-rpc \
--allow-mismatched-daemon-version \
Expand Down
2 changes: 1 addition & 1 deletion orchestration/dev/coins/monero/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

kayabaNerve marked this conversation as resolved.
Show resolved Hide resolved
RPC_USER="${RPC_USER:=serai}"
RPC_PASS="${RPC_PASS:=seraidex}"
Expand Down
2 changes: 1 addition & 1 deletion orchestration/testnet/coins/ethereum/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/bash

exit 1
2 changes: 1 addition & 1 deletion orchestration/testnet/coins/monero/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

RPC_USER="${RPC_USER:=serai}"
RPC_PASS="${RPC_PASS:=seraidex}"
Expand Down