Skip to content

On-prem batch jobs never become started #305

@CampGareth

Description

@CampGareth

Hook reco up to an on-prem platform and run a simulation. You end up waiting for the simulation to exit queued and become started forever as the simulation cannot report to platform that it has become started.

I believe this is due to the hardcoded use of HTTPS for event reporting which will fail under local testing as we don't have certificates set up so it's HTTP only:

callbackURL := fmt.Sprintf("https://%s/builds/%s/events?token=%s", c.Request.Host, build.ID, build.Token)
reportsURL := fmt.Sprintf("https://%s/builds/%s/reports?token=%s", c.Request.Host, build.ID, build.Token)

I shall attempt to verify this momentarily with curl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions