14 Commits

Author SHA1 Message Date
Wataru Ishida
b659df6fc6 ci: try pushing containers to ghcr.io
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2022-06-02 03:44:05 +00:00
Wataru Ishida
fc632a42f7 improve build
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2022-02-14 14:24:45 +09:00
Wataru Ishida
cdd6cc871a ci: support test PR from forked repos
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2021-07-27 17:41:46 +09:00
Wataru Ishida
5415c6f617 ci: fix publish.yaml
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2021-07-17 00:52:35 +00:00
Wataru Ishida
e50823b431 ci: build arm64 image
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2021-07-17 09:31:30 +09:00
Wataru Ishida
7595139b74 add meta APIs to TAI
Unlike SAI, TAI needs to handle different kinds of devices
simultaneously. In order to support this, we have tai-mux library
which multiplexes multiple TAI libraries and provide a single TAI interface
to upper application.

However, there was no multiplex or aggregation layer for TAI *metadata*.
TAI metadata is used to know each TAI attributes characteristic and provides
utility functionality like string serialization.

Because of this lack of multiplex layer, application developers have to
create a TAI meta library by manually aggregating all TAI attributes of
TAI libraries which are planned to be used.

This is tedious, error prone works and makes it difficult to support
new TAI library dynamically.

In order to solve this issue, this commits adds meta APIs to TAI APIs.
By doing so, TAI *metadata* can be multiplexed by tai-mux just like
other APIs.

This commit also enhances TAI library framework to automatically support
the new meta APIs.

TAI library which is based on the framework will get the meta API
functionally automatically by recompiling it.

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2021-04-26 15:44:28 +09:00
Wataru Ishida
f574eb8a05 ci: use GITHUB_ENV to set the docker tag
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2020-12-07 16:17:27 -08:00
Wataru Ishida
6a52352c88 ci: fix publish.yaml
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2020-07-24 03:31:49 +00:00
Wataru Ishida
6f6a513a08 ci: update docker repo
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2020-07-01 15:56:42 -07:00
Wataru Ishida
decf9ab53c ci: publish to Docker Hub as well
until the following get fixed..

https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358/60

Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2020-06-18 05:14:26 -07:00
Wataru Ishida
bddc820c99 ci: publish docker image
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2020-06-17 17:14:30 -07:00
Wataru Ishida
bd912d575b ci: build a container image which includes minimum TAI components
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2020-06-17 15:19:16 -07:00
Wataru Ishida
4c0eb6c938 update CI
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
2020-06-17 14:24:44 -07:00
Wataru Ishida
0783c75aba add github action 2020-06-17 13:57:27 -07:00