microsoft / microsoft/PSRule

[WARNING] Task 'Install PSRule module' version 2 (ps-rule-install@2) is dependent on a Node version (16) that is end-of-life.

Open
#3,241 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature: azure-devops
Dominant language
C#
Stars
474
Forks
65
Avg merge
22h 25m
Merged PRs (30d)
26

Description

Description of the issue

Got warnings when running Azure DevOps pipelines using the PSRule Azure DevOps extension

##[warning]Task 'Install PSRule module' version 2 (ps-rule-install@2) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance

Error messages

##[warning]Task 'Install PSRule module' version 2 (ps-rule-install@2) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance

Reproduction
- task: ps-rule-install@2
  displayName: Install PSRule Azure
  inputs:
    module: PSRule.Rules.Azure
    latest: true
    prerelease: false

- task: ps-rule-install@2
  displayName: Install PSRule Monitor
  inputs:
    module: PSRule.Monitor
    latest: true
    prerelease: false
Version of PSRule

2.9.0

How are you running PSRule

Azure DevOps

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Azure DevOps task definition for ps-rule-install@2 and its Node runner configuration. Use the provided Azure DevOps pipeline reproduction with PSRule.Rules.Azure and PSRule.Monitor. Done means the task runs without the Node 16 end-of-life warning while still installing both modules.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, node.js, powershell
Domain
ci-cd, devops, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.