Unverified Commit fa651fb1 authored by kladko's avatar kladko

SKALE-2077 Fixed Naming

parent d4b1ef00
...@@ -3,12 +3,6 @@ on: [push] ...@@ -3,12 +3,6 @@ on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest 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 - name: Login to docker
env: env:
GITHUB_TOKEN: ${{ secrets.DOCKER_SECRET }} GITHUB_TOKEN: ${{ secrets.DOCKER_SECRET }}
...@@ -17,11 +11,11 @@ jobs: ...@@ -17,11 +11,11 @@ jobs:
- name: submodule update - name: submodule update
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: build - 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 - 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 - 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); ...@@ -50,13 +50,9 @@ print("Running tests for branch " + BRANCH);
assert subprocess.call(["docker", "image", "inspect", FULL_IMAGE_NAME]) == 0; 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", 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"], "--name", "sgxwallet", "--network=host", "skalenetwork/" + IMAGE_NAME +":" + TAG_POSTFIX, "-t"])
capture_output=True)
print(completedProcess.stdout)
print(completedProcess.stderr)
assert completedProcess.returncode == 0
assert subprocess.call(["docker", "kill", "sgxwallet"]) == 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