newman icon indicating copy to clipboard operation
newman copied to clipboard

feat: multi-platform Docker images

Open bripkens opened this issue 1 year ago • 4 comments

Why

More and more systems are running on the arm64 platform. For example, AWS EC2 instances with Graviton2 processors or ARM-based MacBooks. One of our customers is facing issues, because Newman does not run on ARM-based systems. More specifically, the postman/newman Docker image only supports the linux/amd64 platform.

What

This change enables the creation of linux/amd64 and linux/arm64 Docker images.

The change also removes the Docker image definition for Ubuntu 14.04 and Alpine 3.3. Both of these newman Docker images haven't been published in two years and can therefore be removed.

Trial Run

Here are the generated Docker images and tags for the latest newman version across for the develop and master branch.

develop branch:

  • alpine
    • postman/newman:5.3.2-alpine
    • postman/newman:5.3-alpine
    • postman/newman:5-alpine
  • ubuntu
    • postman/newman:5.3.2-ubuntu
    • postman/newman:5.3-ubuntu
    • postman/newman:5-ubuntu

master branch:

  • alpine
    • postman/newman:alpine
    • postman/newman:latest
    • postman/newman:5.3.2
    • postman/newman:5.3
    • postman/newman:5
    • postman/newman:5.3.2-alpine
    • postman/newman:5.3-alpine
    • postman/newman:5-alpine
  • ubuntu
    • postman/newman:ubuntu
    • postman/newman:5.3.2-ubuntu
    • postman/newman:5.3-ubuntu
    • postman/newman:5-ubuntu

bripkens avatar Oct 21 '22 13:10 bripkens

Codecov Report

Merging #3029 (dd65736) into develop (5e0e9b7) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #3029   +/-   ##
========================================
  Coverage    90.96%   90.96%           
========================================
  Files           21       21           
  Lines         1151     1151           
  Branches       349      349           
========================================
  Hits          1047     1047           
  Misses         104      104           
Flag Coverage Δ
cli 82.18% <ø> (ø)
integration 42.31% <ø> (+1.30%) :arrow_up:
library 58.55% <ø> (ø)
unit 75.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Oct 21 '22 13:10 codecov[bot]

Hello, We also need ARM-support for postman/newman Docker image. Are there any updates on it?

ypoplavs avatar Jan 13 '23 11:01 ypoplavs

We're running into this too.

jaredtbates avatar Feb 02 '23 20:02 jaredtbates

We are deploying Testkube internally, and we are running on this issue too. Latest postman/newman tag is 2 years old and only AMD64 :S What is blocking this MR to move forward?

edouard-lopez avatar Nov 02 '23 10:11 edouard-lopez