build-helm-charts: getopt: unrecognized option '--package'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Luan Nunes Utimura |
Bug Description
Brief Description
-----------------
When trying to build helm charts with the --package option instead of the deprecated --rpm, one gets a message saying that the parameter is not recognized by getopt.
Severity
--------
Minor.
Steps to Reproduce
------------------
In a build environment, try building the stx-openstack helm charts:
$ ./build-
--package stx-openstack-
Expected Behavior
------------------
Helm charts are built successfully and the application tarball is generated.
Actual Behavior
----------------
Helm charts can't be built due to an option parsing error.
Reproducibility
---------------
Reproducible.
System Configuration
-------
Debian.
Branch/Pull Time/Commit
-------
Branch `master`.
Last Pass
---------
N/A.
Timestamp/Logs
--------------
```
./build-
getopt: unrecognized option '--package'
Usage:
build-helm-
[-A, --app-version-file /path/to/
[-B, --app-version <version>]
[-r, --rpm <rpm-name>] [-i, --image-record <image-record>] [--label <label>]
[-p, --patch-dependency <patch-dependency>] [ --verbose ]
[...]
```
Test Activity
-------------
Developer Testing.
Workaround
----------
Use the deprecated option --rpm (or -r) instead of --package.
Changed in starlingx: | |
assignee: | nobody → Luan Nunes Utimura (lutimura) |
Changed in starlingx: | |
status: | In Progress → Fix Released |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.build |
Fix proposed to branch: master /review. opendev. org/c/starlingx /root/+ /885086
Review: https:/