Unverified Commit 677772a9 authored by kladko's avatar kladko

SKALE-2454-add-logs-to-enclave

parent cc9d3c71
...@@ -4,8 +4,6 @@ jobs: ...@@ -4,8 +4,6 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: show ccache stats
run: ccache -sz
- name: Login to docker - name: Login to docker
env: env:
GITHUB_TOKEN: ${{ secrets.DOCKER_SECRET }} GITHUB_TOKEN: ${{ secrets.DOCKER_SECRET }}
...@@ -17,6 +15,5 @@ jobs: ...@@ -17,6 +15,5 @@ jobs:
run: python3 scripts/docker_build.py ${GITHUB_REF##*/} Dockerfile sgxwallet ${GITHUB_SHA} run: python3 scripts/docker_build.py ${GITHUB_REF##*/} Dockerfile sgxwallet ${GITHUB_SHA}
- name: push - name: push
run: python3 scripts/docker_push.py ${GITHUB_REF##*/} Dockerfile sgxwallet ${GITHUB_SHA} run: python3 scripts/docker_push.py ${GITHUB_REF##*/} Dockerfile sgxwallet ${GITHUB_SHA}
- name: show ccache stats
run: ccache -sz
...@@ -4,8 +4,6 @@ jobs: ...@@ -4,8 +4,6 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: show ccache stats
run: ccache -sz
- name: Check that /dev/urandom exists - name: Check that /dev/urandom exists
run: ls /dev/urandom run: ls /dev/urandom
- name: Login to docker - name: Login to docker
...@@ -21,8 +19,7 @@ jobs: ...@@ -21,8 +19,7 @@ jobs:
run: python3 scripts/docker_test.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim ${GITHUB_SHA} run: python3 scripts/docker_test.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim ${GITHUB_SHA}
- name: push - name: push
run: python3 scripts/docker_push.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim ${GITHUB_SHA} run: python3 scripts/docker_push.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim ${GITHUB_SHA}
- name: show ccache stats
run: ccache -sz
FROM skalenetwork/sgxwallet_base:latest FROM skalenetwork/sgxwallet_base:latest
WORKDIR /usr/src/sdk WORKDIR /usr/src/sdk
RUN ccache -sz
RUN touch /var/hwmode RUN touch /var/hwmode
COPY *.cpp ./ COPY *.cpp ./
COPY *.h ./ COPY *.h ./
...@@ -25,6 +27,7 @@ COPY SGXWALLET_VERSION ./ ...@@ -25,6 +27,7 @@ COPY SGXWALLET_VERSION ./
RUN ./autoconf.bash RUN ./autoconf.bash
RUN ./configure RUN ./configure
RUN make RUN make
RUN ccache -sz
RUN mkdir /usr/src/sdk/sgx_data RUN mkdir /usr/src/sdk/sgx_data
COPY docker/start.sh ./ COPY docker/start.sh ./
ENTRYPOINT ["/usr/src/sdk/start.sh"] ENTRYPOINT ["/usr/src/sdk/start.sh"]
...@@ -2,6 +2,7 @@ FROM skalenetwork/sgxwallet_base:latest ...@@ -2,6 +2,7 @@ FROM skalenetwork/sgxwallet_base:latest
WORKDIR /usr/src/sdk WORKDIR /usr/src/sdk
RUN ccache -sz
COPY *.cpp ./ COPY *.cpp ./
COPY *.h ./ COPY *.h ./
...@@ -27,6 +28,8 @@ RUN ./autoconf.bash ...@@ -27,6 +28,8 @@ RUN ./autoconf.bash
RUN ./configure --enable-sgx-simulation RUN ./configure --enable-sgx-simulation
RUN make RUN make
RUN ccache -sz
RUN mkdir /usr/src/sdk/sgx_data RUN mkdir /usr/src/sdk/sgx_data
COPY docker/start.sh ./ COPY docker/start.sh ./
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment