postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.88k stars 1.17k forks source link

Update (deprecated) packages in postman/newman alpine docker image #2583

Open cvdwaart opened 3 years ago

cvdwaart commented 3 years ago
  1. Newman Version (can be found via newman -v): Dcoker Alpine image 5.2.2

Steps to reproduce the problem:

  1. When downloading the image the following errors are visible in the console:
    
    npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
    npm WARN deprecated gulp-header@1.8.12: Removed event-stream from gulp-header
    npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
    npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
    npm WARN newman-reporter-htmlextra@1.19.6 requires a peer of newman@>=4 but none is installed. You must install peer dependencies yourself.
StarTrooper08 commented 3 years ago

What we have to do in this issue using docker. If I get some help I can work on this issue!!

SridharMurari commented 1 year ago

any update on this issue please

SridharMurari commented 1 year ago

I am also getting same error Search job log Running with gitlab-runner 15.9.0~beta.115.g598a7c91 (598a7c91) on blue-1.shared.runners-manager.gitlab.com/default j1aLDqxS, system ID: s_b437a71a38f9 feature flags: FF_USE_IMPROVED_URL_MASKING:true Resolving secrets 00:00 Preparing the "docker+machine" executor 00:14 Using Docker executor with image postman/newman:5.2.0-alpine ... Pulling docker image postman/newman:5.2.0-alpine ... Using docker image sha256:2f3c2d53b854aff03a78f81c27039c5d3f75d7275c65bc3f730df51e26dd54d6 for postman/newman:5.2.0-alpine with digest postman/newman@sha256:555c324a3b2c406469a77de7ecb77c593c046391efc6552de0e0bdc3d5d7b124 ... Preparing environment 00:03 Running on runner-j1aldqxs-project-44087906-concurrent-0 via runner-j1aldqxs-shared-1678202542-2cf6080b... Getting source from Git repository 00:02 $ eval "$CI_PRE_CLONE_SCRIPT" Fetching changes with git depth set to 20... Initialized empty Git repository in /builds/ids-inc/ids/development/infolease/qa/cmsrestapi/.git/ Created fresh repository. Checking out 81f76eb5 as detached HEAD (ref is main)... Skipping Git submodules setup Executing "step_script" stage of the job script 00:17 Using docker image sha256:2f3c2d53b854aff03a78f81c27039c5d3f75d7275c65bc3f730df51e26dd54d6 for postman/newman:5.2.0-alpine with digest postman/newman@sha256:555c324a3b2c406469a77de7ecb77c593c046391efc6552de0e0bdc3d5d7b124 ... $ newman --version 5.2.0 $ npm install -g newman-reporter-htmlextra npm WARN deprecated gulp-header@1.8.12: Removed event-stream from gulp-header npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated /usr/local/bin/newman-reporter-htmlextra -> /usr/local/lib/node_modules/newman-reporter-htmlextra/bin/htmlextra.js npm WARN newman-reporter-htmlextra@1.22.11 requires a peer of newman@^5.1.2 but none is installed. You must install peer dependencies yourself.