Skip to content
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

ci(docs-infra): ignore node version in aio_monitoring_stable CI job #35006

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Jan 28, 2020

In #34955, we switched to Node.js v12 on master and 9.0.x. This causes the aio_monitoring_job CI job (which checks out files from the stable branch; currently 8.2.x) to start failing yarn's engines check (since the 8.2.x branch expects Node.js version <11).
Example failure: https://circleci.com/gh/angular/angular/602499

Since the job is expected to run with files from both the stable and the master branches (and since the version of Node.js is not important here), this commit uses the --ignore-engines option to prevent failures due to Node.js version mismatch.

NOTE:
Typically, the stable and master branch are on the same Node.js version, because related PRs land on both master and the patch branch. One exception is during RC periods, when the stable branch is different than the patch branch. These periods are usually short, but in the case of 9.0.0 the period has lasted several months causing the CI environments between master and the stable branch to get significantly out-of-sync.

In angular#34955, we switched to Node.js v12 on master and 9.0.x. This causes
the `aio_monitoring_job` CI job (which checks out files from the stable
branch; currently 8.2.x) to start failing yarn's engines check (since
the 8.2.x branch expects Node.js version <11).
Example failure: https://circleci.com/gh/angular/angular/602499

Since the job is expected to run with files from both the stable and the
master branches (and since the version of Node.js is not important
here), this commit uses the `--ignore-engines` option to prevent
failures due to Node.js version mismatch.

NOTE:
Typically, the stable and master branch are on the same Node.js version,
because related PRs land on both master and the patch branch. One
exception is during RC periods, when the stable branch is different than
the patch branch. These periods are usually short, but in the case of
9.0.0 the period has lasted several months causing the CI environments
between master and the stable branch to get significantly out-of-sync.
@gkalpak gkalpak requested a review from a team as a code owner January 28, 2020 14:10
@gkalpak gkalpak added area: build & ci Related the build and CI infrastructure of the project comp: docs-infra action: merge The PR is ready for merge by the caretaker type: bug/fix labels Jan 28, 2020
@ngbot ngbot bot modified the milestone: needsTriage Jan 28, 2020
@gkalpak
Copy link
Member Author

gkalpak commented Jan 28, 2020

This PR is for fixing the script on the currently stable branch (8.2.x) to make CI green.
To prevent similar issues in the future, we need to update the master and patch (9.0.x) branches: #35004

@mary-poppins
Copy link

You can preview 015f833 at https://pr35006-015f833.ngbuilds.io/.

@gkalpak gkalpak added target: lts This PR is targeting a version currently in long-term support and removed PR target: patch-only labels Jan 28, 2020
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AndrewKushnir AndrewKushnir merged commit 015f833 into angular:8.2.x Jan 28, 2020
@AndrewKushnir
Copy link
Contributor

Thanks @gkalpak, this PR is now merged into 8.2.x branch.

@gkalpak gkalpak deleted the 8.2.x-ci-aio-stable-node branch January 28, 2020 21:54
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project cla: yes target: lts This PR is targeting a version currently in long-term support type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants