Closed joaquincasares closed 4 months ago
Must be the pipeline id used by circle CI. See the examples.
On Tue, May 21, 2024, 8:31 PM Joaquin Casares @.***> wrote:
Checklist
- All new jobs, commands, executors, parameters have descriptions
- Examples have been added for any significant new features
- README has been updated, if necessary
Motivation, issues
I'm attempting to use epoch time as the value for my-pipeline. Each close attempt I've made has failed on a similar error:
Type error for argument my-pipeline: expected type: integer, actual value: "$EPOCH_TIME" (type string)
Description
I've checked loop.bash and there's nothing that assume my-pipeline is an integer, so this change shouldn't be an issue.
P.S. Thanks for creating a necessary feature that should have been packaged with CircleCI!! This will be the second time I use this in production. :)
You can view, comment on, or merge this pull request online at:
https://github.com/eddiewebb/circleci-queue/pull/129 Commit Summary
- 219fbf9 https://github.com/eddiewebb/circleci-queue/pull/129/commits/219fbf999f3d49b7847907f1032186947a07380f accept strings as pipeline IDs
File Changes
(2 files https://github.com/eddiewebb/circleci-queue/pull/129/files)
- M src/commands/until_front_of_line.yml https://github.com/eddiewebb/circleci-queue/pull/129/files#diff-51176543868ecfedca657c95003c21b9aa413af677aa2a9f06a5eaa88f3f2ed7 (2)
- M src/jobs/block_workflow.yml https://github.com/eddiewebb/circleci-queue/pull/129/files#diff-ec6af4928605917719b6255ca384544bd04da52623224008aa81755995bbc44e (2)
Patch Links:
- https://github.com/eddiewebb/circleci-queue/pull/129.patch
- https://github.com/eddiewebb/circleci-queue/pull/129.diff
— Reply to this email directly, view it on GitHub https://github.com/eddiewebb/circleci-queue/pull/129, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIEWSSDH6UP6BZ75WZQHPTZDPRPZAVCNFSM6AAAAABICS3GFWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDSMZTG44DOMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I looked deeper into the code today and saw what you were doing with jq at the CircleCI level.
Withdrawing this PR. Thanks again tho! :)
Checklist
Motivation, issues
I'm attempting to use epoch time as the value for
my-pipeline
. Each close attempt I've made has failed on a similar error:Description
I've checked
loop.bash
and there's nothing that assume my-pipeline is an integer, so this change shouldn't be an issue.P.S. Thanks for creating a necessary feature that should have been packaged with CircleCI!! This will be the second time I use this in production. :)