@@ -74,11 +74,16 @@ echo Retrieve API revision and branch
74
74
api_rev=$( git show --pretty=format:%H -s origin/$KCI_API_BRANCH )
75
75
api_url=$( git remote get-url origin)
76
76
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 ..
77
82
cd kernelci-core
78
83
echo Retrieve Core revision and branch
79
84
core_rev=$( git show --pretty=format:%H -s origin/$KCI_CORE_BRANCH )
80
85
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 "
82
87
px_arg=' --prefix=local/staging-'
83
88
args=" build --verbose $px_arg $build_args "
84
89
echo Build docker images: kernelci args=$args
@@ -90,9 +95,15 @@ failonerror
90
95
echo Build docker images: api
91
96
./kci docker $args kernelci api --version=" $api_rev "
92
97
failonerror
98
+ echo Build docker images: pipeline
99
+ ./kci docker $args kernelci pipeline --version=" $pipeline_rev "
100
+ failonerror
93
101
echo Tag docker image of api to latest
94
102
docker tag local/staging-kernelci:api-$api_rev local/staging-kernelci:api
95
103
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
96
107
echo Build docker images: clang-17+kselftest+kernelci for x86
97
108
./kci docker $args clang-17 kselftest kernelci --arch x86
98
109
failonerror
0 commit comments