-
Notifications
You must be signed in to change notification settings - Fork 0
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 #18 from w-henderson/release-manager
Rewritten release manager to allow for automatic updates
- Loading branch information
Showing
25 changed files
with
1,316 additions
and
319 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
FROM rust:latest | ||
|
||
RUN USER=root cargo new --bin equion_download_manager | ||
RUN USER=root cargo new --bin matrix | ||
|
||
WORKDIR /equion_download_manager | ||
WORKDIR /matrix | ||
|
||
COPY ./Cargo.toml ./Cargo.toml | ||
COPY ./Cargo.lock ./Cargo.lock | ||
COPY ./server/Cargo.toml ./Cargo.toml | ||
COPY ./server/Cargo.lock ./Cargo.lock | ||
|
||
RUN cargo build --release | ||
|
||
RUN rm src/*.rs | ||
COPY ./src ./src | ||
COPY ./server/src ./src | ||
|
||
RUN rm ./target/release/deps/equion* | ||
RUN rm ./target/release/deps/matrix* | ||
RUN cargo build --release | ||
|
||
EXPOSE 80 | ||
CMD ["./target/release/equion_download_manager"] | ||
CMD ["./target/release/matrix"] |
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 @@ | ||
target/ |
Oops, something went wrong.