Skip to content

Regex for numbers only work with numbers up to 0999 #129

@ajfriesen

Description

@ajfriesen

We have a S3 Bucket where we store files with this pattern:

folder1/folder2/static_string_0203.zip
folder1/folder2/static_string_0202.zip
folder1/folder2/static_string_0201.zip

The pipline is using this resource:

- name: artifacts-bucket
  type: s3
  source:
    bucket: artifacts
    region_name: us-east-1
    regexp: folder1/folder2/static_string_(.*)\.zip
    access_key_id: ((s3-artifacts-aws-access-key-id))
    secret_access_key: ((s3-artifacts-aws-secret-access-key))

And also gets triggered:

jobs:
- name: build and publish docker image
  serial: true
  plan:
  - aggregate:
    - get: artifacts-bucket
      trigger: true

This is has worked until the number changed:

folder1/folder2/static_string_0999.zip <-- Works
folder1/folder2/static_string_1000.zip <-- Does not work

For me this seems to be a bug.

If important:
We are using concourse Version: v5.0.1

Can you confirm?
Will this be fixed?
Is there a good workaround in place for the time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions