Skip to content

Commit 29f4417

Browse files
tollsimynuclearcat
authored andcommitted
fix: build missing pipeline images
Signed-off-by: Simone Tollardo <tollsimy.dev@protonmail.com>
1 parent 22601bd commit 29f4417

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

localinstall/1-rebuild_all.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,16 @@ echo Retrieve API revision and branch
7474
api_rev=$(git show --pretty=format:%H -s origin/$KCI_API_BRANCH)
7575
api_url=$(git remote get-url origin)
7676
cd ..
77+
cd kernelci-pipeline
78+
echo Retrieve Pipeline revision and branch
79+
pipeline_rev=$(git show --pretty=format:%H -s origin/$KCI_PIPELINE_BRANCH)
80+
pipeline_url=$(git remote get-url origin)
81+
cd ..
7782
cd kernelci-core
7883
echo Retrieve Core revision and branch
7984
core_rev=$(git show --pretty=format:%H -s origin/$KCI_CORE_BRANCH)
8085
core_url=$(git remote get-url origin)
81-
build_args="--build-arg core_rev=$core_rev --build-arg api_rev=$api_rev --build-arg core_url=$core_url --build-arg api_url=$api_url"
86+
build_args="--build-arg pipeline_rev=$pipeline_rev --build-arg core_rev=$core_rev --build-arg api_rev=$api_rev --build-arg pipeline_url=$pipeline_url --build-arg core_url=$core_url --build-arg api_url=$api_url"
8287
px_arg='--prefix=local/staging-'
8388
args="build --verbose $px_arg $build_args"
8489
echo Build docker images: kernelci args=$args
@@ -90,9 +95,15 @@ failonerror
9095
echo Build docker images: api
9196
./kci docker $args kernelci api --version="$api_rev"
9297
failonerror
98+
echo Build docker images: pipeline
99+
./kci docker $args kernelci pipeline --version="$pipeline_rev"
100+
failonerror
93101
echo Tag docker image of api to latest
94102
docker tag local/staging-kernelci:api-$api_rev local/staging-kernelci:api
95103
failonerror
104+
echo Tag docker image of pipeline to latest
105+
docker tag local/staging-kernelci:pipeline-$pipeline_rev local/staging-kernelci:pipeline
106+
failonerror
96107
echo Build docker images: clang-17+kselftest+kernelci for x86
97108
./kci docker $args clang-17 kselftest kernelci --arch x86
98109
failonerror

0 commit comments

Comments
 (0)