Skip to content

Commit 48d41c9

Browse files
committed
Updates entrypoint
1 parent 2dbb93f commit 48d41c9

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

container-action/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ RUN mkdir -p /usr/src/logbacks
4545
WORKDIR /usr/src
4646

4747
COPY entrypoint.sh /usr/src/entrypoint.sh
48-
COPY rit-local-configs/logbacks/* /usr/src/logbacks/
4948
COPY scripts/* /usr/src/
5049

5150
RUN chmod +x /usr/src/entrypoint.sh \
5251
&& chmod +x /usr/src/configure_gradle_powpeg.sh \
53-
&& chmod +x /usr/src/configure_rit_locally.sh \
5452
&& mkdir -p /usr/src/bitcoindata \
5553
&& chmod -R 755 /usr/src/bitcoindata
5654

container-action/entrypoint.sh

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,18 @@ echo -e "\n\n--------- Starting the configuration of RIT ---------\n\n"
5050
cd /usr/src/
5151
git clone https://github.com/rsksmart/rootstock-integration-tests.git rit
5252
cd rit
53-
ls
5453
echo -e "\n\n--------- Checking out the RIT branch ---------\n\n"
5554
git checkout -f "$RIT_BRANCH"
55+
mv container-action/rit-local-configs/logbacks/* /usr/src/logbacks/
56+
mv container-action/scripts/configure_rit_locally.sh .
5657
ls
5758
echo -e "\n\n--------- Copying configuration files ---------\n\n"
58-
cd ..
59-
ls
60-
61-
mv configure_rit_locally.sh rit
62-
mv regtest-all-keyfiles.js rit/config/regtest-all-keyfiles.js
63-
mv /usr/src/logbacks/* /usr/src/rit/logbacks/
64-
cd rit
6559
chmod +x ./configure.sh
60+
chmod +x ./configure_rit_locally.sh
61+
6662
./configure.sh
6763
./configure_rit_locally.sh "${POWPEG_VERSION}"
64+
6865
export LOG_LEVEL="$LOG_LEVEL"
6966

7067
echo -e "\n\n--------- Executing Rootstock Integration Tests ---------\n\n"

0 commit comments

Comments
 (0)