Unverified Commit fa651fb1 authored by kladko's avatar kladko

SKALE-2077 Fixed Naming

parent d4b1ef00
......@@ -3,12 +3,6 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install python 3.8
run: |
sudo apt update; sudo apt install software-properties-common;
sudo add-apt-repository ppa:deadsnakes/ppa;
sudo apt install python3.8;
- name: Login to docker
env:
GITHUB_TOKEN: ${{ secrets.DOCKER_SECRET }}
......@@ -17,11 +11,11 @@ jobs:
- name: submodule update
run: git submodule update --init --recursive
- name: build
run: python3.8 scripts/docker_build.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
run: python3 scripts/docker_build.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
- name: test
run: python3.8 scripts/docker_test.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
run: python3 scripts/docker_test.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
- name: push
run: python3.8 scripts/docker_push.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
run: python3 scripts/docker_push.py ${GITHUB_REF##*/} DockerfileSimulation sgxwalletsim
......@@ -50,13 +50,9 @@ print("Running tests for branch " + BRANCH);
assert subprocess.call(["docker", "image", "inspect", FULL_IMAGE_NAME]) == 0;
completedProcess = subprocess.run(["docker", "run", "-v", topDir + "/sgx_data:/usr/src/sdk/sgx_data","-ti",
"--name", "sgxwallet", "--network=host", "skalenetwork/" + IMAGE_NAME +":" + TAG_POSTFIX, "-t"],
capture_output=True)
completedProcess = subprocess.run(["docker", "run", "-v", topDir + "/sgx_data:/usr/src/sdk/sgx_data","-t",
"--name", "sgxwallet", "--network=host", "skalenetwork/" + IMAGE_NAME +":" + TAG_POSTFIX, "-t"])
print(completedProcess.stdout)
print(completedProcess.stderr)
assert completedProcess.returncode == 0
assert subprocess.call(["docker", "kill", "sgxwallet"]) == 0
......
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