-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub actions workflow template pipeline #246
GitHub actions workflow template pipeline #246
Conversation
Copying over the GitHub Actions pipeline to the DBB repo Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
Various tweaks and changes Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
Fixed an incorrect pipelineType, and removed unnecessary whitespace Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johnmnemec I have put in a few comments, but I am not yet done with the review. Would you mind to take care of them, please?
Templates/GitHubActionsPipeline/.github/actions/tagging_createreleasecandidate/action.yml
Outdated
Show resolved
Hide resolved
Templates/GitHubActionsPipeline/.github/workflows/pipelines/Build.yml
Outdated
Show resolved
Hide resolved
Templates/GitHubActionsPipeline/.github/workflows/pipelineController.yml
Show resolved
Hide resolved
Templates/GitHubActionsPipeline/.github/workflows/pipelines/Preview.yml
Outdated
Show resolved
Hide resolved
Templates/GitHubActionsPipeline/.github/workflows/pipelines/Feature.yml
Outdated
Show resolved
Hide resolved
- Removed the extra workflows/pipeline/ folder, as workflow files must be in the root of the workflow folder - removed unnecessary prints and comments - removed "-t '--fullBuild'" from the build step in Build.yml - Changed the pipelineType input type from string to choice - Added a cleanup stage to Feature.yml and Preview.yml Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
I've addressed all of those, thanks! |
@johnmnemec I am testing this on our internal test system. I noticed the following, which we could address. It's about the presentation of the pipeline. The build has the following steps: The deployment includes the prepare log step. Instead of having a dedicated stage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johnmnemec Preparing and publishing the build logs should always occur.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Creation of the release candidate tag is a bit too early in the process (imho) and would better fit into the Packaging stage.
@johnmnemec Sorry. Forget about it. I got confused. It is in the right order! Let's focus on this comment first: #246 (comment) |
@johnmnemec Hello John, we need to update the way we retrieving the latest release candidate tag (on line # 91) as below.
We need to sort by |
My only concern with this is that merging the Build and PrepareBuildLogs stages in the Build pipeline would then cause the formatting of the build pipeline to be inconsistent with the rest of the pipelines, and I'd prefer to avoid that. |
Addressed various changes as requested by Dennis and Molly. Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
Merging the prepareBuildLogs stage into the Build stage on the Build, Feature, and Release pipeline Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
I've taken another look at this, and cleaned it up properly @dennis-behm FYI |
Adjusted the conditional for the build pipeline in the pipelineController Updated the pipeline preview images Signed-off-by: johnmnemec <86624614+johnmnemec@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @johnmnemec great addition!
This pull request is for adding the GitHub Actions pipeline template.