8 Commits

Author SHA1 Message Date
Scott Little
d797c9778c fix golang-github-golang-jwt-jwt-dev url
The original archive url was for version 4.3.3, not 4.3.3-1,
resulting in a verification failure.

I have supplied the correct url.

Testing:
dget -d https://snapshot.debian.org/archive/debian/20230904T084702Z/pool/main/g/golang-github-golang-jwt-jwt/golang-github-golang-jwt-jwt_4.4.3-1.debian.tar.xz
stx download

Closes-bug: 2051856
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I424e5fc2718e97a0d0176b721af5a249c4c7250a
2024-01-31 10:39:34 -05:00
Zuul
41de3338d3 Merge "Add dependencies for etcd 3.4.27" 2024-01-30 20:39:36 +00:00
Kaustubh Dhokte
aa19da5ad1 Add dependencies for etcd 3.4.27
This change contains dependencies for new etcd version 3.4.27.

Test Plan:
PASS: Individually build packages successfully.

Story: 2010878
Task: 48877

Change-Id: I70757808694bd4707383a38343e7bbfba90403fe
Signed-off-by: Kaustubh Dhokte <kaustubh.dhokte@windriver.com>
2023-10-19 19:32:18 +00:00
Leonardo Fagundes Luz Serrano
5e19b07ebb tox: fixed warnings
meta_data files:
- "too few spaces before comment" warning
- missing document start "---" warning

tox.ini:
- allowlist bash for testenv
- moved 'basepython' var to testenv as it was repeated
  in all derived envs
- removed "tox < 4" requirement. changed minversion to 4

pylint:
- renamed pylintrc to the standard convention ".pylintrc"
- Removed "enable" section, as all warnings are enabled by default
- Updated "disable" section as some warnings changed names
- files-output deprecated [1]
- bad-functions requires a plugin [2, 3]
- max-branchs ==> max-branches [4]
- overgeneral-exceptions updated

[1] https://pylint.pycqa.org/en/latest/whatsnew/1/1.7/summary.html#removed-changes
[2] https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#bad-functions
[3] https://pylint.pycqa.org/en/latest/user_guide/messages/warning/bad-builtin.html
[4] https://pylint.readthedocs.io/en/latest/user_guide/messages/refactor/too-many-branches.html

Test Plan:
pass: run tox

Partial-Bug: 1976377

Change-Id: I715ed859e046a90cc7ec5d047d42902a51009eb8
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
2023-09-06 17:54:55 -03:00
Manoel Benedito Neto
c15e3e1a3a Fix lint errors identified by Zuul pylint job
This commit fixes lint errors identified by Zuul after stx-integ-pylint
job is executed.

Test Plan:
PASS: stx-integ-pylint job is executed successfully.
PASS: Run "yamllint ." command on integ repo base directory. Observe
      that no lint errors of line-length, truthy, indentation,
      new-line-at-end-of-file and document-start are listed.
PASS: build-pkgs -a -c

Closes-Bug: 2011632
Change-Id: I4d8229b5de8c9d88ff2aab6169521ab377b5866c
Signed-off-by: Manoel Benedito Neto <manoel.beneditoneto@windriver.com>
2023-03-15 12:07:17 +00:00
Mohammad Issa
241c07d1ff debian-pkg: Uprev cni plugins
This commit uprevs the containernetworking-plugins to 1.1.1 and
bond-cni v1.0 (with the latest commit) on Debian

This version of containernetworking-plugins has a Build-Depends on:
golang-github-networkplumbing-go-nft-dev v0.2.0-2

The bond-cni vendor module patches are taken care of
in the latest commit update.

Also, the plugins sysctl patches are taken care of in the
containernetworking-plugins v1.1.1 release.

Test Plan:
- PASS: downloader -b -s -B std,rt
- PASS: build pkgs
- PASS: build image
- PASS: install and ensure the plugins are present
        at /var/opt/cni/bin/
- PASS: install and ensure the packages are the correct version

Story: 2010212
Task: 46507

Signed-off-by: Mohammad Issa <mohammad.issa@windriver.com>
Change-Id: I079e50c9339bac395dfaf9d1f27aa321dbc45140
2022-10-07 15:01:49 +00:00
Kaustubh Dhokte
2b6c6641a9 Debian: runc upversion to 1.0.2
To align with k8s 1.21.8 to 1.23.1
Upgrade runc from version 1.0.0-rc95 to 1.0.2

Dependencies are packaged in this change.

Dependencies:
golang-github-checkpoint-restore-go-criu-dev (>= 5.1.0~)
golang-github-coreos-go-systemd-dev (>= 22.3.2~)
golang-github-opencontainers-specs-dev (>= 1.0.2.66~)
golang-github-cilium-ebpf-dev (>= 0.6.2~)

Note:
As of this date, except golang-github-cilium-ebpf-dev,
all other dependencies are new and not available in bullseye
main. They are available in sid though. It was preferred to
package them from source than adding them in base-bullseye.lst.
Also, runc failed to build if newest version (0.7.0) of
golang-github-cilium-ebpf-dev is used. The exact reason is not
clear. So it was preferable to package its minimum required
version.

Test Plan:
runc package builds successfully
All packages build successfully
Image builds successfully

Story: 2009845
Task: 44456

Signed-off-by: Kaustubh Dhokte <kaustubh.dhokte@windriver.com>
Change-Id: I4139f9eb689a9e8c8e18c7a9b15fd2d592752ee5
2022-04-02 00:31:03 +00:00
Steven Webster
75e3878176 debian-pkg: Uprev containernetworking-plugins to 1.0.1
This commit uprevs the containernetworking-plugins to 1.0.1 on
Debian.

The version of this package has a Build-Depends on:

golang-github-appc-cni-dev >= 1.0.1
golang-github-vishvananda-netlink-dev >= 1.1.0.125

Currently, the Debian Bullseye release provides:

golang-github-appc-cni-dev = 0.8.1
golang-github-vishvananda-netlink-dev = 1.1.0-2

So in order to build the containernetworking-plugins 1.0.1, this
commit pulls in the appropriate versions of the dependencies
and builds them too.

The other thing to note in this commit is that the plugin install
path has been changed from /usr/lib/cni/ to /usr/libexec/cni/.
This aligns with where k8s expects to find CNI plugins on StarlingX

Testing:

- PASS: downloader -s
- PASS: full build
- PASS: install and ensure the plugins are present
        at /usr/libexec/cni/
- PASS: install and ensure the package is the correct version

Story: 2009832
Task: 44635

Signed-off-by: Steven Webster <steven.webster@windriver.com>
Change-Id: Ic1c9a0d7eb2adb831c6316e1ab72d288ac805929
2022-03-18 09:53:07 -04:00