Skip to content

Conversation

@jonthysell
Copy link
Contributor

@jonthysell jonthysell commented Oct 18, 2023

Backport PR #12213 into 0.73

Description

PR #12183 show-horned a new variable and branching path in our existing cli-init.yml CI job to support the new react-native init-windows command.

However, this makes the pipeline hard to parse and maintain. This PR factors out the new new project path into a separate set of jobs, so we can leave the "old" pipeline as-is, run both for now, but have and easier time updating the new one (and eventually just delete the old one when it's no longer necessary).

Type of Change

  • New feature (non-breaking change which adds functionality)

Why

To make the new new project CI easier to maintain and drift from the old new project CI.

What

Created a new cli-init-windows.yml job, which calls a new "template-focused" react-native-init-windows.yml template, and also factored out code common to both it and to react-native-init.yml (like starting/stopping verdaccio) into reusable templates.

Screenshots

N/A

Testing

Ran the new pipelines

Changelog

Should this change be included in the release notes: no

Microsoft Reviewers: Open in CodeFlow

Backport PR microsoft#12213 into 0.73

PR microsoft#12183 show-horned a new variable and branching path in our existing `cli-init.yml` CI job to support the new `react-native init-windows` command.

However, this makes the pipeline hard to parse and maintain. This PR factors out the new new project path into a separate set of jobs, so we can leave the "old" pipeline as-is, run both for now, but have and easier time updating the new one (and eventually just delete the old one when it's no longer necessary).

- New feature (non-breaking change which adds functionality)

To make the new new project CI easier to maintain and drift from the old new project CI.

Created a new `cli-init-windows.yml` job, which calls a new "template-focused" `react-native-init-windows.yml` template, and also factored out code common to both it and to `react-native-init.yml` (like starting/stopping verdaccio) into reusable templates.

N/A

Ran the new pipelines

Should this change be included in the release notes: _no_
@jonthysell jonthysell requested review from a team as code owners October 18, 2023 20:46
@jonthysell jonthysell enabled auto-merge (squash) October 18, 2023 20:47
@jonthysell jonthysell merged commit ae3ec47 into microsoft:0.73-stable Oct 20, 2023
@jonthysell jonthysell deleted the fabricci73 branch May 19, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants