packaging: stable-3.2: Remove everything related to agent policy

Agent policy is not part of the stable-3.2 branch, and will never be.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-10-06 15:22:23 +02:00
parent 892c9f2f03
commit bb1efe0d46
5 changed files with 2 additions and 17 deletions

View File

@ -28,7 +28,6 @@ jobs:
matrix:
asset:
- agent
- agent-opa
- agent-ctl
- cloud-hypervisor
- cloud-hypervisor-glibc
@ -63,8 +62,6 @@ jobs:
exclude:
- asset: agent
stage: release
- asset: agent-opa
stage: release
- asset: cloud-hypervisor-glibc
stage: release
steps:

View File

@ -55,9 +55,6 @@ serial-targets:
agent-tarball:
${MAKE} $@-build
agent-opa-tarball:
${MAKE} $@-build
agent-ctl-tarball:
${MAKE} $@-build

View File

@ -83,7 +83,6 @@ options:
--build=<asset> :
all
agent
agent-opa
agent-ctl
cloud-hypervisor
cloud-hypervisor-glibc
@ -647,10 +646,6 @@ install_agent() {
install_agent_helper
}
install_agent_opa() {
install_agent_helper "yes"
}
install_tools_helper() {
tool=${1}
@ -748,8 +743,6 @@ handle_build() {
agent) install_agent ;;
agent-opa) install_agent_opa ;;
agent-ctl) install_agent_ctl ;;
cloud-hypervisor) install_clh ;;
@ -858,7 +851,6 @@ main() {
local silent
build_targets=(
agent
agent-opa
agent-ctl
cloud-hypervisor
firecracker

View File

@ -30,8 +30,8 @@ build_agent_from_source() {
init_env
cd src/agent
DESTDIR=${DESTDIR} AGENT_POLICY=${AGENT_POLICY} make
DESTDIR=${DESTDIR} AGENT_POLICY=${AGENT_POLICY} make install
DESTDIR=${DESTDIR} make
DESTDIR=${DESTDIR} make install
}
build_agent_from_source $@

View File

@ -25,7 +25,6 @@ sudo docker pull ${container_image} || \
sudo docker run --rm -i -v "${repo_root_dir}:${repo_root_dir}" \
--env DESTDIR=${DESTDIR} \
--env AGENT_POLICY=${AGENT_POLICY:-no} \
-w "${repo_root_dir}" \
"${container_image}" \
bash -c "${agent_builder}"