Skip to content

dont do pulls in web's services/runner.rb #248

@JonJagger

Description

@JonJagger

web's services/runner does this

def run_cyber_dojo_sh(args)
    # Pull image first to avoid pulling/timeout errors on CI workflow run
    pull_args = { id: args[:id], image_name: args[:manifest][:image_name] }
    outcome = 'pulling'
    n = 0
    while outcome != 'pulled' && n < 20
      outcome = pull_image(pull_args)
      n += 1
      sleep(0.25)
    end
    @http.get(__method__, args)
  end

Fix this so the pulls happen in the CI script and not here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions