refactored tests and added docker build test, repaired state.network

This commit is contained in:
Nikola Jokic
2022-06-03 14:10:15 +02:00
parent 8bc1fbbec5
commit 4b7efe88ef
9 changed files with 204 additions and 113 deletions

View File

@@ -13,6 +13,7 @@ import {
runContainerStep,
runScriptStep
} from './hooks'
import { checkEnvironment } from './utils'
async function run(): Promise<void> {
const input = await getInputFromStdin()
@@ -23,6 +24,7 @@ async function run(): Promise<void> {
const state = input['state']
try {
checkEnvironment()
switch (command) {
case Command.PrepareJob:
await prepareJob(args as PrepareJobArgs, responseFile)