History log of /openbmc/openbmc-build-scripts/scripts/build-unit-test-docker (Results 51 – 75 of 167)
Revision Date Author Comments
# 0044f69c 10-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update meson to 1.0.1

The version in poky is currently 1.0.1, so upgrade to that for
consistency.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39cae4bcb0c

build-unit-test-docker: update meson to 1.0.1

The version in poky is currently 1.0.1, so upgrade to that for
consistency.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39cae4bcb0cb8578fe621851597cb467d8055d4f

show more ...


# 818023df 10-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: turn 'pip3 install' calls into one invocation

Future Ubuntu is going to require us to pass in a parameter to
`pip3 install`. Reduce the number of RUN commands to simplify th

build-unit-test-docker: turn 'pip3 install' calls into one invocation

Future Ubuntu is going to require us to pass in a parameter to
`pip3 install`. Reduce the number of RUN commands to simplify that
future invocation.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9f5d4d6b43c637dbfeb6beaadfb5bf80f82cefc3

show more ...


# adad26ea 10-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: remove openbmc/linux dependency

Downloading the entire openbmc/linux repository is pretty slow
due to the way the Github CDN works on these kinds of files (and
how large it i

build-unit-test-docker: remove openbmc/linux dependency

Downloading the entire openbmc/linux repository is pretty slow
due to the way the Github CDN works on these kinds of files (and
how large it is). On my home connection I typically see ~100kbps
on this download, which would equate to over 15 minutes of a download.

This was originally done so that we could get kernel headers for
interfaces that we didn't have upstreamed yet but everything is now
upstreamed so this is not necessary.

If this becomes necessary again in the future, it would be better
to explicitly download specific headers from the respository instead
of attempting to get the entire thing.

Tested:

The necessary headers are now provided by `linux-libc-dev`:
```
$ docker run --rm -it openbmc/ubuntu-unit-test:2023-W15-c977bb8f48b9ee3b
root@e20efded42fb:/# dpkg -S /usr/include/linux/ipmi_bmc.h
linux-libc-dev:amd64: /usr/include/linux/ipmi_bmc.h
root@e20efded42fb:/# dpkg -S /usr/include/linux/bt-bmc.h
linux-libc-dev:amd64: /usr/include/linux/bt-bmc.h
```

Also manually ran `btbridge` and `ipmbbridge` under the
`run-unit-test-docker.sh` with successful results.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7689c59e6cb290ac1a703cbf7994d2d9b6434482

show more ...


# 524a331c 05-Apr-2023 Manojkiran Eda <manojkiran.eda@gmail.com>

Add libaudit-dev package to the base container

There has been work going on in bmcweb to leverage linux
libaudit framework for auditlogging. The idea behind this
commit is to add the libaudit-dev pa

Add libaudit-dev package to the base container

There has been work going on in bmcweb to leverage linux
libaudit framework for auditlogging. The idea behind this
commit is to add the libaudit-dev package into the CI base
container to let the bmcweb commits pass CI.

libaudit-dev package contains the header files & static library
for security auditing.

Change-Id: Iac7b5089aa8788dabb1554c01cb4dcf12bb44ac9
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>

show more ...


# d0dabc3e 04-Apr-2023 Andrew Geissler <geissonator@yahoo.com>

docker:buildkit: ensure container build output is generated

Some newer distributions are moving to buildkit which is an improved
backend to docker that replaces the legacy builder. This new backend

docker:buildkit: ensure container build output is generated

Some newer distributions are moving to buildkit which is an improved
backend to docker that replaces the legacy builder. This new backend
builder has different rules on what it outputs to the console as it
builds an image.

To ensure we get the normal verbose output we're used to, set the
BUILDKIT_PROGRESS env variable.

There's also a parameter you can pass to docker build (--progress) but
it doesn't appear in the --help of older docker build commands so it's
best to just utilize the env variable option.

Change-Id: I520c0b933f920b05937e68a76fb7bd02ff889bc4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 22e6110b 14-Feb-2023 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: update per new format rules

New formatting rules require this change

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieef4c1359d065daa5c636c42cc0618b287285

build-unit-test-docker: update per new format rules

New formatting rules require this change

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieef4c1359d065daa5c636c42cc0618b287285307

show more ...


# 058e3a34 21-Dec-2022 Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>

Add json-c as unit test build dependency

nbd-proxy.c needs json-c as dependency - CI run fails on that.

Added latest tagged git version (json-c-0.16-2022041) the same as in
the OpenBMC.

Tested:
lo

Add json-c as unit test build dependency

nbd-proxy.c needs json-c as dependency - CI run fails on that.

Added latest tagged git version (json-c-0.16-2022041) the same as in
the OpenBMC.

Tested:
locally passed run-unit-test-docker.sh on jsnbd repository.

Change-Id: I837247a2c4b9ebee3081cea3adae68364da269f9
Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>

show more ...


# 45bfd1ff 30-Nov-2022 Ed Tanous <edtanous@google.com>

Upgrade to boost 1.81.0

Per the other commits, we are temporarily moving to boost 1.81.0 to get
ahead of some of the API breaking changes in boost-url. This requires
moving CI off of using the yoct

Upgrade to boost 1.81.0

Per the other commits, we are temporarily moving to boost 1.81.0 to get
ahead of some of the API breaking changes in boost-url. This requires
moving CI off of using the yocto mirror. So far as I'm aware, the boost
bandwidth issues have been long solved, so this should be fine.

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Iec89a040374bef52c5188c89be9f8a25a12d6164

show more ...


# b565f825 14-Dec-2022 Andrew Geissler <geissonator@yahoo.com>

openbmc-build-scripts: add vim to container

There are times when interactively working within a CI unit test docker
container that having vim available is useful.

Change-Id: I564e1882e325e5b871eda9

openbmc-build-scripts: add vim to container

There are times when interactively working within a CI unit test docker
container that having vim available is useful.

Change-Id: I564e1882e325e5b871eda9c0defaec51d4a7bf0d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# af49ed51 14-Dec-2022 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: sort apt packages

Make it easier to identify if a needed package is being installed

Change-Id: Iba108c6ddddc9ee25bd7341b41e79d7c82f231bb
Signed-off-by: Andrew Geissler <geis

build-unit-test-docker: sort apt packages

Make it easier to identify if a needed package is being installed

Change-Id: Iba108c6ddddc9ee25bd7341b41e79d7c82f231bb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 7d41f6d2 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format-code: enable markdownlint

Enable markdownlint but allow it to always pass. This will allow
maintainers the opportunity to run the tools and fix up their own
markdown before we enable this gl

format-code: enable markdownlint

Enable markdownlint but allow it to always pass. This will allow
maintainers the opportunity to run the tools and fix up their own
markdown before we enable this globally.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie397a72ca4ef113cdbe433d263ccf3bd5063cf4b

show more ...


# e795dfe4 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format-code: enable black/isort

* black is a widely used python formatting tool.
* isort is used to order python imports in a consistent way.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

format-code: enable black/isort

* black is a widely used python formatting tool.
* isort is used to order python imports in a consistent way.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1918421120ce2942f04b9110a2c0f1bd820d21c7

show more ...


# c5969599 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format-code: enable beautysh

beautysh is a code formatter for bash/sh/zsh.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0ebd5da9e78d84a98940fb3e6618b12cf8eb0fc7


# b08ddf77 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format-code: enable prettier

prettier is a formatter for YAML, JSON, Markdown, etc.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7a47d02ef7382d811423b97a88132aa92b991eed


# c5ad7ff4 05-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

format-code: enable flake8 instead of pycodestyle

flake8 is a more complete python linter than pycodestyle
as it contains pycodestyle, pyflakes and mccabe. I have
contributed fixes to all repositor

format-code: enable flake8 instead of pycodestyle

flake8 is a more complete python linter than pycodestyle
as it contains pycodestyle, pyflakes and mccabe. I have
contributed fixes to all repositories so that flake8 passes,
so switch from pycodestyle to flake8 and enable everywhere.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I93867773830d476809364f44ad78104241d66a2a

show more ...


# deaa350b 12-Dec-2022 Ed Tanous <edtanous@google.com>

Remove packaging dependency

Once https://gerrit.openbmc.org/c/openbmc/bmcweb/+/59633 merges, we will
no longer need packaging as a dependecy. Remove it.

Signed-off-by: Ed Tanous <edtanous@google.c

Remove packaging dependency

Once https://gerrit.openbmc.org/c/openbmc/bmcweb/+/59633 merges, we will
no longer need packaging as a dependecy. Remove it.

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ibd75ba7290a4dbd32fe0dddbb6d47ecef78ca7c6

show more ...


# bc0d5a3a 05-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: sort pip installs

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iffdc723cb931426559ea4e9cc36d9af7209f2588


# e08ffba8 05-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

python: fix flake8 warnings and format with black

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic54f4a3ecf328b0d2c65af5cfd9eb2048d671ad5


# 001055b8 28-Nov-2022 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update linux headers to 6.0

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0d34e65bb5e7ce8bd6f40e18e572a75f266dd9b2


# c2e7c938 27-Nov-2022 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: use latest gitlint

gitlint release 0.18.0 contains the previously pointed to commit,
so pull it in directly rather than by reference now.

Signed-off-by: Patrick Williams <pa

build-unit-test-docker: use latest gitlint

gitlint release 0.18.0 contains the previously pointed to commit,
so pull it in directly rather than by reference now.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I741b0bbfe88f5361a4324bafdf7af883ad1a51c1

show more ...


# 41d86218 25-Nov-2022 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: minor mypy/flake8 fixes

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I991e6cf64f876005976cb5de19cf214fcccf2e89


# 05fb2a0a 11-Oct-2022 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: format with black

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3a76e9cc86d91fa0180cd0c9df3286030fa3c6a7


# 1c19e453 03-Oct-2022 Manojkiran Eda <manojkiran.eda@gmail.com>

Migrate to libpldm

There has been efforts to migrate the libpldm out of the pldm repository
& this patch would also fix the CI scripts to migrate to libpldm instead
of building libpldm out of pldm r

Migrate to libpldm

There has been efforts to migrate the libpldm out of the pldm repository
& this patch would also fix the CI scripts to migrate to libpldm instead
of building libpldm out of pldm repository.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I15e223b8ddd43787b9062de43686c96f2358a3d0

show more ...


# c7d73646 11-Oct-2022 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: support 'main' branches

Enhance the auto-rev code to support main branches.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic9d32b5d4e4cb8e18c394d91b2a55ce01

build-unit-test-docker: support 'main' branches

Enhance the auto-rev code to support main branches.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic9d32b5d4e4cb8e18c394d91b2a55ce010a41270

show more ...


# 6c98f280 05-Oct-2022 William A. Kennington III <wak@google.com>

build-unit-test-docker: Only build phosphor-logging library

We don't need the server or any of the tests.

Change-Id: I0509fbcbaa6486027902a8e6bbc43f637f4a3935
Signed-off-by: William A. Kennington I

build-unit-test-docker: Only build phosphor-logging library

We don't need the server or any of the tests.

Change-Id: I0509fbcbaa6486027902a8e6bbc43f637f4a3935
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


1234567