Commit Graph

12 Commits

Author SHA1 Message Date
Stefan Berger
a507efb5b7 ci: Update from ubuntu-20.04 to ubuntu-24.04 due to EOL
Github actions does not run ubuntu-20.04 anymore due to EOL. Update the
20.04 entries to use 24.04.

cpp-coveralls needs an older version of python3 due to pkgutil.ImpImporter
having disappeared in more recent python versions. Therefore, leave
test-coveralls at 22.04.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2025-04-16 16:38:52 -04:00
Stefan Berger
36a93edca6 ci: Add a coverity workflow
Trigger the coverity scan workflow when pushing to coverity_scan branch.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2025-04-08 22:33:38 -04:00
Stefan Berger
0528ac733b github: Disable docker workflow since not pushing to docker hub anymore
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2025-01-20 11:50:19 -05:00
Stefan Berger
5344c0a9c3 ci: Consolidate linter into container run and remove simple test
Some checks failed
Docker / build (push) Has been cancelled
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-12-16 10:09:06 -05:00
Stefan Berger
daf3b1ee27 ci: Add github actions to replace Travis
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-12-16 10:09:06 -05:00
Stefan Berger
28292591cb CI/CD: Avoid caching of container build to get latest libtpms version
Avoid caching of container builds to get latest libtpms version and therefore
pass tests that depend on changes to libtpms.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-09-12 10:35:47 -04:00
Stefan Berger
e5c9bf2467 ci: Installed docker-compose since it has gone missing
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-08-26 17:10:08 -04:00
Boris Glimcher
103616f3b7 ci: disable ARM docker build for now
And fixing default branch name

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-19 11:52:37 -04:00
Boris Glimcher
319a4840f1 Publish docker image also to DockerHub
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-19 11:52:37 -04:00
Boris Glimcher
52546d50d1 ci: add new release action to run when published
It is better to have it as separate action.
So it can grow with nore thiungs to do on release.

It calls existing docker build and push to avoid duplication.

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-18 16:48:21 -04:00
Boris Glimcher
4135ee7e5b ci: add testing via docker compose
Auto testing as well as good example on:
how to run SWTPM in docker or compose.

Simply run `docker-compose up` to bring both swtpm and test.
Or run `docker-compose up --build --force-recreate` to re-build.
Or run `docker-compose up swtpm` to only start swtpm service without
test.

Added new job in the github action to automate this as well.

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-18 16:48:21 -04:00
Boris Glimcher
4d22ce8a22 ci: adding linter and builder github action
Fixes #869

Using popular Hadolint linter for dockers.
Using standard GitHub action for building.

Build will also publish to GHCR after PR is merged, not before.

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-18 16:48:21 -04:00