copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Can add some settings to the pipeline command.

Open harry-shopl opened this issue 3 years ago • 2 comments

ASk

There are some inconvenient things about using pipeline, so I would like to suggest it.

  1. Source output artifact format

Finally, it would be nice to have an option to change the output artifact format to Git full clone in the source settings of the Codepipeline configuration.

proposal

source:
  provider: GitHub
  properties:
    branch: target-branch
    repository: https://github.com/my/repository
    output_artifact: full_clone
  1. Trigger Codepipeline

Currently, I'm making a request to Codepipeline with a configuration that detects changes to a specific branch source on Github. However, I want the Trigger to work even when I push a tag to git. For example, it would be great if you could make it work through the following manifest.yml configuration.

source:
  provider: GitHub
  properties:
    repository: https://github.com/my/repository
    trigger_type: tag

harry-shopl avatar Sep 22 '22 11:09 harry-shopl

Hi @harry-shopl !

  1. Would the existing output_artifact_format field work for you? I believe if you set it to CODEBUILD_CLONE_REF it should get a full git clone of the repository.

  2. The trigger_type proposal is really interesting, so it sounds like you want to filter which source event should trigger the pipeline. Right now, it looks like the CodeStar connection doesn't allow filtering on tags: https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodestarConnectionSource.html but that would be a really nice feature to have 🥺

efekarakus avatar Sep 22 '22 21:09 efekarakus

A feature for repository clone already existed, but I didn't know about it. Thank you so much for letting me know.

harry-shopl avatar Sep 23 '22 00:09 harry-shopl

I would really like to have option for tags triggering pipeline. 👍

I would also like to know how to achieve this today, without aws copilot.

freddejones avatar Mar 02 '23 19:03 freddejones