Commit Graph

1041 Commits (master)

Author SHA1 Message Date
Zuul 22174f5a72 Merge "Update image tags for ptp-notification images" 2023-09-28 14:52:12 +00:00
Zuul 3e128c65ef Merge "Add app-intel-ethernet-operator uft image tag" 2023-09-28 13:53:33 +00:00
Caio Bruchert e644e5e59e Update image tags for ptp-notification images
Update the following image tags:

notificationservice-base
stx.9.0-v2.1.2

notificationservice-base-v2
stx.9.0-v2.1.2

Partial-bug: 2033539
Partial-bug: 2036293

Signed-off-by: Caio Bruchert <caio.bruchert@windriver.com>
Change-Id: I62bff6c51ae44a9844eb2f4e31b3f21fe1adcc2c
2023-09-26 15:12:38 -03:00
Luis Sampaio 7df6ee2987 Create patches dir if does not exist
Due to USM updates the patches dir may be
created during iso creation time so this commit
updates our current prepatch iso to add -p to
the mkdir command.

https://review.opendev.org/c/starlingx/tools/+/892623

Story: 2010676
Task: 48791
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
Change-Id: I4395ae5776df818f8c8c9466d82cb879fb39011a
2023-09-19 15:14:21 -07:00
Rafal Lal 24aa7a80e3 Add app-intel-ethernet-operator uft image tag
Story: 2010562
Task: 48527

Depends-On: https://review.opendev.org/c/starlingx/app-intel-ethernet-operator/+/890199
Change-Id: I303eec27c6b566b7b27e053c0ad048208f5b273c
Signed-off-by: Rafal Lal <rafalx.lal@intel.com>
2023-09-18 11:32:13 +02:00
Zuul 7c4121a17f Merge "build-docker-images: additional error handling" 2023-09-12 16:30:33 +00:00
Zuul fd7bc036b5 Merge "debian: Add iotop package" 2023-09-11 17:58:00 +00:00
Davlet Panech d33c5b7120 build-docker-images: additional error handling
Handle errors caused by failed git clone attempts.

Related-Bug: 2034255
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: Ie3708a6522ac4e4ebda9502b697de30927b3d5eb
2023-09-08 12:58:52 -04:00
Cesar Pompeu de Barros Bombonate 5585c38dae debian: Add iotop package
Include the iotop package on Debian ISO
Useful for debugging performance issues.

Test Plan
PASS Build ISO
PASS Login with sysadmin user
PASS Run the command "iotop"

Closes-Bug: 2032846

Depends-On: https://review.opendev.org/c/starlingx/tools/+/892400

Change-Id: I26c4a2618f071f351c1e13726503b78c1b2d94e6
Signed-off-by: Cesar Pompeu de Barros Bombonate <Cesar.PompeudeBarrosBombonate@windriver.com>
2023-09-06 14:27:30 +00:00
Agustin Carranza d949ab146e Update static tag for stx-fm-trap-subagent image
The content of the stx-fm-trap-subagent image has been updated due to
the fix of a bug:
https://review.opendev.org/c/starlingx/snmp-armada-app/+/892624

It is updated the yaml file with new tag using existing
master-debian-stable-20230905T060000Z.0.

Partial-bug: 2032844

Change-Id: I203db537b90ad11fa8c417726ad09ff3eedc25aa
Signed-off-by: Agustin Carranza <agustin.carranza@windriver.com>
2023-09-05 21:30:33 -03:00
Zuul 187864f9e7 Merge "Update Power Metrics image tags" 2023-09-05 14:41:22 +00:00
Alyson Deives Pereira 8c174694a9 Update Power Metrics image tags
Update images tags to match upstream package versions:
- Update cadvisor image tag to stx.9.0-v0.47.2
- Update telegraf image tag to stx.9.0-v1.27.3

Story: 2010773
Task: 48710

Change-Id: I04070d8b4aa37dc4aa0fd0cdb4b871c14442069b
Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com>
2023-09-02 10:56:42 -03:00
Victor Romano 124afa19da Update stx-platformclients tag to stx.9.0-v1.5.12
This commit updates the image to include distributedcloud-client
changes.

Story: 2010756
Task: 48712

Change-Id: I4ec80456d92bacbce80beb9773a7c809811c6da5
Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>
2023-08-31 16:42:54 -03:00
Zuul 7283bdaa10 Merge "Update power-operator tag to stx.9.0-v2.3.0" 2023-08-30 15:32:55 +00:00
Zuul 378d12ea45 Merge "Update stx/.gitignore to track below repo." 2023-08-30 15:12:37 +00:00
Thiago Antonio Miranda 80ef98c6c2 Update power-operator tag to stx.9.0-v2.3.0
Update power-operator and power-node-agent images
to tag based on upstream package version.

Story: 2010773
Task: 48654

Signed-off-by: Thiago Antonio Miranda <tmarques@windriver.com>
Change-Id: I93605cc7a95a50b5fc0500df89f4c9ad23ba4b71
2023-08-28 15:21:04 -03:00
Davlet Panech f16663c1c9 build-remote-cli: remove useless defaults
Remove default image names from the script. They are hard-coded, and yet
ignored -- the script always takes defaults from
starlingx/clients/remote_cli/docker_image_version.sh

Story: 2010226
Task: 48668

Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I6c8a55e8ae77dbd7387025cf8bdbf3328ce44e31
2023-08-24 12:16:35 -04:00
Rafal Lal c85094f6e7 Update stx/.gitignore to track below repo.
-- stx/app-intel-ethernet-operator

Story: 2010562
Task: 48526

Depends-On: https://review.opendev.org/c/starlingx/app-intel-ethernet-operator/+/890199
Change-Id: I699459fac02af046bdb88e7e2924e6351190cb79
Signed-off-by: Rafal Lal <rafalx.lal@intel.com>
2023-08-23 11:22:15 +02:00
Md Irshad Sheikh 0e782fe504 Add the new repo app-intel-device-plugins
Story: 2010604
Task: 48634

Depends-On: https://review.opendev.org/c/starlingx/manifest/+/891581
Change-Id: I36ce0a08d2af2e78862ec1aeb31a069f6e2194ee
Signed-off-by: Md Irshad Sheikh <mdirshad.sheikh@windriver.com>
2023-08-16 06:35:42 -04:00
Nidhi Shivashankara Belur 6598257550 Update Fec Operator Image tags.
- Update the container image tags to v2.7.1.

Test Status:

- PASS: system application apply with latest debian image.

Story: 2010826
Task: 48583

Signed-off-by: Nidhi Shivashankara Belur <nidhi.shivashankara.belur@intel.com>
Change-Id: Id7f40ca3cceefc464c9c82a7667457de7d843b3d
2023-08-09 23:35:15 +05:30
Jessica Castelino 9ca2d5e63b Add argcomplete to wheels to support remote-cli
Unified Software Management requires this module to support
bash completion.

Test Plan:
[Pass] Verified by executing
"./build-wheel-tarball.sh --os=debian --stream=stable --cache"

Story: 2010676
Task: 48574
Change-Id: Ie8ab372860c72de9087bb39e1b39ac489257d160
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
2023-08-08 16:20:04 +00:00
Zuul 77a4a8b206 Merge "debrepack.py: support sud-directories in patches folder" 2023-08-08 15:26:13 +00:00
Jessica Castelino 36424fc01c Revert "Add argcomplete module"
This reverts commit fb4b5aa85c.

Reason for revert: This change is not required for including argcomplete module in the iso

Change-Id: I9f7378118bb655f22333459140e5080e55a08e5c
Closes-Bug: 2030083
2023-08-04 19:36:57 +00:00
Jessica Castelino fb4b5aa85c Add argcomplete module
Unified Software Management requires this module to support
bash completion.

Test Plan:
1) Build a new iso and install it
2) Verify that bash completion works for software module

Story: 2010676
Task: 48541
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
Change-Id: I0c9ff2a9bdaba31688345c8e21e144b67428f2a1
2023-08-03 15:14:51 +00:00
Yue Tao 30e50f45b1 debrepack.py: support sud-directories in patches folder
In order to maintain the kernel's patch set more easily, using
sub-directories to separate the patches with different functionalities,
like the Debian upstream behavior.

https://salsa.debian.org/kernel-team/linux/-/tree/debian/5.10.179-3/debian/patches?ref_type=tags

Test Plan:
Pass: build kernel successfully with moving some patches
      to sub-directories

Closes-Bug: 2029337

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I81ac26206b5a26177c515986e30b2577ba096483
2023-08-02 16:29:06 +08:00
Zuul b70f3b1410 Merge "build-image: Fixed debootstrap tar cache issue" 2023-07-27 14:55:46 +00:00
Scott Little bd9ced2479 downloader fails to follow redirects
A redirect is used to aid in the transition from
mirror.starlingx.cengn.ca to mirror.starlingx.windriver.com.

Curl does not support redirects, unless the -L/--location options are
specified.

Partial-Bug: 2028678
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I5b6c9782a7edb0e97a17af71c2bf8bbeb23e0b90
2023-07-25 10:25:24 -04:00
Dostoievski Batista 4a95931aeb Add more than one metadata to prepatched iso
This change add the possibility to accept more than one patch
as argument when creating the Debian pre-patched ISO.

Test-Plan:
    Pass: Create prepatched ISO with 1 patch, e.g.:
        patch-iso-debian -i ./starlingx-intel-x86-64-cd.iso \
        -o prepatched.iso -p rebootrequired1.patch
    Pass: Create prepatched ISO with 2 patchs, e.g.:
        patch-iso-debian -i ./starlingx-intel-x86-64-cd.iso \
        -o prepatched.iso -p rebootrequired1.patch
        \ -p rebootrequired2.patch

Story: 2009969
Task: 48421

Change-Id: If1d8745f9c452472ccb2733d609ab4fb593af48d
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
2023-07-19 14:23:32 +00:00
Haiqing Bai dde1695ed0 build-image: Fixed debootstrap tar cache issue
In order to speed up the build-image, the minbase debootstrap
tar is cached and will be reused by the next build-image with
'--keep' option. The case is that the package 'libudev1' from
'deb-merge-all' is provided by 'systemd' that is upgraded to
a new version, but the cached debootstrap tar contains an older
version of 'libudev1' which causes the conflict like below
when running 'build-image --keep':
"The following packages have unmet dependencies:
 systemd : Depends: libsystemd0 (= 247.3-7+deb11u2.stx.9) \
           but 247.3-7.stx.8 is to be installed
 udev : Depends: libudev1 (= 247.3-7+deb11u2.stx.9) \
           but 247.3-7.stx.8 is to be installed
 E: Unable to correct problems, you have held broken packages."

Test Plan:
Pass: #build-image
      #Apply patch to 'systemd' or make changes to upgrade it
      #commit the change
      #build-image --keep

Closes-Bug: 2027756

Change-Id: I43c17a5430ccf7c1da1d5558543715b4bf941813
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
2023-07-16 16:49:11 +08:00
Zuul fc286603cf Merge "Cleanup .gitignore based on latest manifest entries" 2023-07-13 21:15:14 +00:00
Caio Cesar Ferreira b14c57e944 Cleanup .gitignore based on latest manifest entry
New repo entry: stx/app-power-metrics

Story: 2010773
Task: 48325

Change-Id: Ifa9001c8c79b15297d43b4c21c6d8f64fc88d133
Signed-off-by: Caio Cesar Ferreira <Caio.CesarFerreira@windriver.com>
2023-07-03 14:34:37 -03:00
Zuul 7e42112ce3 Merge "Update stx-platformclients tag to stx.9.0-v1.5.11" 2023-06-30 18:25:19 +00:00
Christopher Souza 680bc52205 Update stx-platformclients tag to stx.9.0-v1.5.11
This commit updates the image to include distributedcloud-client
changes.

Story: 2010584
Task: 48300

Change-Id: I4f4fd31ebb13a7513e964d0681297b139c64a68c
Signed-off-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com>
2023-06-28 08:29:58 -03:00
Zuul ab7f7288e3 Merge "build-helm-charts: Fix --package option parsing" 2023-06-26 12:41:19 +00:00
Zuul 5fe5224c81 Merge "Cleanup .gitignore based on latest manifest entries" 2023-06-05 13:54:03 +00:00
Eduardo Juliano Alberti 2ad2e6fcde Cleanup .gitignore based on latest manifest entries
New repo entry: stx/app-kubernetes-power-manager

Story: 2010773
Task: 48166

Change-Id: I2b3ae1d95ed9e89594fcb6dc2880249b83effdf9
Signed-off-by: Eduardo Juliano Alberti <eduardo.alberti@windriver.com>
2023-06-02 07:55:36 -03:00
Luan Nunes Utimura 34b130335f build-helm-charts: Fix --package option parsing
When building helm charts, it has been observed that the preferred long
option for specifying packages, `--package`, isn't being recognized by
`getopt` as a valid option.

As a result, one must resort to the deprecated alternative `--rpm`.

Therefore, this change adds `package` as one of the long options for
`getopt`. And since it updates the parameters of this build script, it
also updates the help message of the `--os` parameter to match the other
scripts:

  * build-wheels/build-wheel-tarball.sh;
  * build-docker-images/build-stx-base.sh;
  * build-docker-images/build-stx-images.

Test Plan:
PASS - Build helm charts with --rpm
PASS - Build helm charts with --package

Closes-Bug: 2022090

Change-Id: Ia45930d30e99ceb15d2f0753519cd8290fcaa446
Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com>
2023-06-01 15:02:53 -03:00
Thales Elero Cervi 330eb2afcf Update kubernetes client on upper constraints
This change is a follow-up to the kubernetes client upversion [1] to
ensure that all repositories that are calling the client have their
pylint validating the method signatures against the update version.

[1] https://review.opendev.org/c/starlingx/tools/+/881280

TEST PLAN:
PASS - stx-config/ tox run

Story: 2010368
Task: 47868

Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
Change-Id: Ic3d874cb7e2b4ec5c0ff0b0e166fc645bf0946c8
2023-05-31 15:20:16 -03:00
Marcos Silva a2b3ff4994 Cleanup .gitignore based on latest manifest entry
New repo entry: stx/app-node-feature-discovery

Story: 2010769
Task: 48086

Change-Id: Ia6d97bb5754dcabd5974b812cd2e534047ab69fa
Signed-off-by: Marcos Silva <Marcos.PauloOliveiraSilva@windriver.com>
2023-05-31 12:57:32 +00:00
Zuul c0a4a59ab3 Merge "build-docker-images: add retry delay" 2023-05-30 14:23:52 +00:00
Davlet Panech 21721669ed build-docker-images: add retry delay
* Add --retry-delay parameter to wheels, docker base image and the main
  docker image build scripts
* Remove build-wheels/utils.sh ; use ./utils.sh instead

TESTS
===========================
Executed all modified scripts with and without error conditions and make
sure they either succeed, or retry as required:

build-wheels:
  * normal build (success)
  * error in Dockerfile (retry+fail)
  * invalid wheels URL (retry+fail)
  * invalid openstack requirements URL (retry+fail)

build-stx-base:
  * normal build (success)
  * error in Dockerfile (retry+fail)

build-stx-images:
  * builder=loci: normal build + push (success)
  * builder=loci: invalid loci URL (retry+fail)
  * builder=loci: invalid PROJECT_REPO URL (retry+fail)
  * builder=loci: invalid wheel tar URL (retry+fail)
  * builder=docker: normal build + push (success)
  * builder=docker: invalid DOCKER_REPO URL (retry+fail)
  * builder=docker: error in dockerfile (retry+fail)
  * builder=script: normal build + push (success)
  * builder=script: invalid project URL (retry+fail)
  * builder=script: error in build script (retry+fail)
  * invalid push URL (retry+fail)

update-stx-image:
  * normal update (success)
  * invalid extra URL (retry+fail)

Story: 2010055
Task: 48105

Change-Id: I990020600c09299a2ec3cbed286b2f4c05a0f548
2023-05-29 19:53:09 -04:00
Zuul 4bd2cadbe9 Merge "Update stx-oidc-client to version stx.9.0-v1.0.6" 2023-05-29 15:29:50 +00:00
Zuul d08b051b10 Merge "build-image: Check latd status during waiting for log file" 2023-05-26 13:21:07 +00:00
Zuul 6ef308a6f6 Merge "build-pkgs: Fixed the deb packages missing issue after reuse" 2023-05-25 19:56:44 +00:00
hqbai add2c84a28 build-pkgs: Fixed the deb packages missing issue after reuse
The '--reuse|--reuse_maximum' feature mirrors the remote
shared repository and imports all debs from the mirror
to the local repository, there are no deb packages in the
local build directory for the reused packages which make
some tasks like building docker images and secure boot
signing fail for the missing deb packages.
This commit supports the below functions to fix the above
issues:
a. If '--dl_reused' option is enabled for option '--reuse'
or '--reuse_maximum', all the reused deb packages will be
downloaded to their local build directory.
b. 'never_reuse.lst' will be checked and the packages listed
in it will be built locally instead of reusing them if the
option '--reuse' is enabled. And it will be ignored if the
option '--reuse_maximum' is enabled.

Test Plan:
Pass: build-pkgs (make sure the normal build-pkgs works)
Pass: export STX_SHARED_REPO=<url to shard repo>
      export STX_SHARED_SOURCE=<url to shared source>
      build-pkgs --reuse
Pass: export STX_SHARED_REPO=<url to shard repo>
      export STX_SHARED_SOURCE=<url to shared source>
      build-pkgs --reuse --dl_reused
Pass: export STX_SHARED_REPO=<url to shard repo>
      export STX_SHARED_SOURCE=<url to shared source>
      build-pkgs --clean --reuse --dl_reused
      Run the secure boot signing script
Pass: export STX_SHARED_REPO=<url to shard repo>
      export STX_SHARED_SOURCE=<url to shared source>
      build-pkgs --clean --reuse --dl_reused
      build-pkgs (Make sure this build will not build from scratch)
Pass: export STX_SHARED_REPO=<url to shard repo>
      export STX_SHARED_SOURCE=<url to shared source>
      build-pkgs --clean --reuse_maximum --dl_reused
Pass: export STX_SHARED_REPO=<url to shard repo>
      export STX_SHARED_SOURCE=<url to shared source>
      build-pkgs --reuse_maximum --dl_reused

Partial-Bug: 2017763

Signed-off-by: hqbai <haiqing.bai@windriver.com>
Change-Id: I8cd84dbe6fe8f0262dde12befb0b16367e261968
2023-05-25 18:33:57 +08:00
Joao Victor Portal 5e2e342203 Update stx-oidc-client to version stx.9.0-v1.0.6
Test Plan:

PASS - On IPv4 AIO-SX, applied OIDC app and executed a functional test,
getting a token through "oidc-auth". Pod restart triggered by
secret-observer was also tested.

Story: 2010703
Task: 48090

Change-Id: I7ddf9bada70b92a80098d697c1452a2e591c14cb
Signed-off-by: Joao Victor Portal <Joao.VictorPortal@windriver.com>
2023-05-24 17:46:12 -03:00
Haiqing Bai b96a50c0e3 build-image: Check latd status during waiting for log file
After the remote latd instance started by lat client in
build-image, it takes indeterminate period of time for
latd to create the log file "/localdisk/log/log.appsdk"
different from the old way, this commit will check the
latd status to decide to continue to wait or quit within
the maximum grace period.

Story: 2010643
Task: 48060

Test Plan:
pass: build-image

Change-Id: Ia8499e23aa48fd569aba40aed72b1a5ccb3b3e97
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
2023-05-20 09:58:12 +08:00
Gustavo Ornaghi Antunes b96f709a4c Cleanup .gitignore based on latest manifest entries
There have been new repos added in stx/manifest that
were not added to the .gitignore in this repo.
This means that there would have been untracked changes
when running:

repo status
 --     stx/app-dell-storage/

Pertains to:
https://review.opendev.org/#/c/883430/

Story: 2010693
Task: 48041

Change-Id: I3508512d5948dd1a541307db7ab3ada5f44dadf2
Signed-off-by: Gustavo Ornaghi Antunes <gustavo.ornaghiantunes@windriver.com>
2023-05-17 17:46:44 +00:00
Zuul 71c37df91c Merge "Debian: Update urllib version in upper-constraints" 2023-05-17 14:48:15 +00:00
Rogerio Ferraz abf0ce6913 vRAN-Tools CVE security update
This commit provides security updates on the vran-tools containers
to cover vulnerabilities found at CVE scanning.

Test Plan:
  - CVE Scanning (PASS)

Story: 2010710
Task: 47966

Signed-off-by: Rogerio Ferraz <RogerioOliveira.Ferraz@windriver.com>
Change-Id: Ie9a691ccb597a5373401e144e36cd9d558fa56f9
2023-05-10 13:06:14 -03:00