Skip to content

Commit

Permalink
Merge pull request #51 from input-output-hk/update_docker
Browse files Browse the repository at this point in the history
update docker & recalculate challenges total funds
  • Loading branch information
dkijania authored Mar 1, 2021
2 parents 915e752 + 7d45b41 commit e5ed3d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
18 changes: 7 additions & 11 deletions vitup/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,33 +42,29 @@ RUN apt-get install -y build-essential pkg-config libssl-dev && \
~/.cargo/bin/rustup default stable

RUN cd ${ENV_PREFIX} && \
git clone --recurse-submodules https://github.com/input-output-hk/jormungandr && \
git clone https://github.com/input-output-hk/jormungandr && \
cd jormungandr && \
git checkout master
git checkout 58600c672fcd80279426331c2e16fa2143f2cb9b

RUN cd ${ENV_PREFIX} && \
git clone --recurse-submodules https://github.com/input-output-hk/vit-servicing-station && \
git clone https://github.com/input-output-hk/vit-servicing-station && \
cd vit-servicing-station && \
git checkout master
git checkout 160f09c7a26fe31628b7573e8c326e3d90f1ab47

RUN cd ${ENV_PREFIX} && \
git clone --recurse-submodules https://github.com/input-output-hk/vit-testing
git clone https://github.com/input-output-hk/vit-testing

# install the node and jcli from source
RUN cd ${ENV_PREFIX}/vit-servicing-station && \
git submodule update --init --recursive && \
~/.cargo/bin/cargo build --all --release && \
~/.cargo/bin/cargo install --locked --force --path vit-servicing-station-cli && \
~/.cargo/bin/cargo install --locked --force --path vit-servicing-station-server

# install the node and jcli from source
RUN cd ${ENV_PREFIX}/jormungandr && \
~/.cargo/bin/cargo build --all --release && \
cp ${ENV_PREFIX}/jormungandr/target/release/jormungandr ${ENV_PREFIX}/jormungandr/target/release/jcli ~/.cargo/bin
~/.cargo/bin/cargo install --locked --path jormungandr && \
~/.cargo/bin/cargo install --locked --path jcli

# install the node and jcli from source
RUN cd ${ENV_PREFIX}/vit-testing && \
~/.cargo/bin/cargo build --release && \
~/.cargo/bin/cargo install --locked --path vitup && \
~/.cargo/bin/cargo install --locked --path iapyx

Expand Down
1 change: 1 addition & 0 deletions vitup/src/setup/start/quick/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ impl QuickVitBackendSettingsBuilder {
parameters
.set_next_fund_start_time(self.parameters.next_vote_start_time.unwrap().timestamp());
parameters.set_fund_id(self.parameters.fund_id);
parameters.calculate_challenges_total_funds = true;

if self.parameters.private {
let private_key_data = settings.private_vote_plans.get(&self.fund_name()).unwrap();
Expand Down

0 comments on commit e5ed3d0

Please sign in to comment.