You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Later in the output task, I cat dest-repo/new_output.txt. I do not see .git/resources/changed_files listed. Only the following:
Nov 17 18:41 .
Nov 17 18:41 ..
Nov 17 18:41 author
Nov 17 18:41 author_email
Nov 17 18:41 base_name
Nov 17 18:41 base_sha
Nov 17 18:41 head_name
Nov 17 18:41 head_sha
Nov 17 18:41 message
Nov 17 18:41 metadata.json
Nov 17 18:41 pr
Nov 17 18:41 state
Nov 17 18:41 title
Nov 17 18:41 url
Nov 17 18:41 version.json
Is this a bug or am I doing anything wrong? Thanks in advance!
The text was updated successfully, but these errors were encountered:
@djcal460 I had this same issue and took a while to figure out what was going on. The issue here is the implicit get done when you put the resource to set the status wipes out the previous metadata files for subsequent tasks. What I ended up doing in a similar situation was something like this:
On our Concourse installation at Gstack, that one is working fine. Could you give a try and submit a PR to the docs there?
(the new resource is a drop-in replacement; you only have to switch telia-ossto cfcommunity in in the resource_types: declaration, i.e. specify repository: cfcommunity/github-pr-resource)
When get my pr resource and set the params for list_changed_files: true this does not create a directory as stated in the documentation. For example,
After I get the pr resource and put it into pending, I then pass the resource to a task and run a script:
Later in the output task, I cat dest-repo/new_output.txt. I do not see .git/resources/changed_files listed. Only the following:
Nov 17 18:41 .
Nov 17 18:41 ..
Nov 17 18:41 author
Nov 17 18:41 author_email
Nov 17 18:41 base_name
Nov 17 18:41 base_sha
Nov 17 18:41 head_name
Nov 17 18:41 head_sha
Nov 17 18:41 message
Nov 17 18:41 metadata.json
Nov 17 18:41 pr
Nov 17 18:41 state
Nov 17 18:41 title
Nov 17 18:41 url
Nov 17 18:41 version.json
Is this a bug or am I doing anything wrong? Thanks in advance!
The text was updated successfully, but these errors were encountered: