Skip to content

Resources with check_ever = never that have never been checked aren't checked by manually triggered builds #9573

Closed

Description

@taylorsilva

Summary

Likely not an issue for existing pipelines, but would affect newly set pipelines with a resource that has check_every: never set for a resource AND the resource has never been checked.

Steps to Reproduce

  1. Set this pipeline: https://github.com/concourse/concourse/blob/56348ea18c93287ce1e98d843732974c38f9f772/topgun/pipelines/custom-types.yml
---
resource_types:
- name: my-time
  type: registry-image
  source: {repository: concourse/time-resource}

resources:
- name: 10m
  type: my-time
  check_every: never
  source: {interval: 1h}

jobs:
- name: get-10m
  plan:
  - get: 10m
  - task: fail
    config:
      platform: linux

      image_resource:
        type: mock
        source: {mirror_self: true}

      run:
        path: "false"
  1. Manually trigger the job get-10m. It will be stuck in pending and say it can't find a version for the 10m input

Expected Results

Manually triggered jobs should create checks for all input resources.

Actual Results

A check is never created. You can manually check the resource to get the job started as a workaround.

Web Node(s) configuration

No response

Worker(s) configuration

No response

Concourse Version

8.2.0

Browser (if applicable)

No response

Did this use to work?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions