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: matrix:
asset: asset:
- agent - agent
- agent-opa
- agent-ctl - agent-ctl
- cloud-hypervisor - cloud-hypervisor
- cloud-hypervisor-glibc - cloud-hypervisor-glibc
@ -63,8 +62,6 @@ jobs:
exclude: exclude:
- asset: agent - asset: agent
stage: release stage: release
- asset: agent-opa
stage: release
- asset: cloud-hypervisor-glibc - asset: cloud-hypervisor-glibc
stage: release stage: release
steps: steps:

View File

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

View File

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

View File

@ -30,8 +30,8 @@ build_agent_from_source() {
init_env init_env
cd src/agent cd src/agent
DESTDIR=${DESTDIR} AGENT_POLICY=${AGENT_POLICY} make DESTDIR=${DESTDIR} make
DESTDIR=${DESTDIR} AGENT_POLICY=${AGENT_POLICY} make install DESTDIR=${DESTDIR} make install
} }
build_agent_from_source $@ 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}" \ sudo docker run --rm -i -v "${repo_root_dir}:${repo_root_dir}" \
--env DESTDIR=${DESTDIR} \ --env DESTDIR=${DESTDIR} \
--env AGENT_POLICY=${AGENT_POLICY:-no} \
-w "${repo_root_dir}" \ -w "${repo_root_dir}" \
"${container_image}" \ "${container_image}" \
bash -c "${agent_builder}" bash -c "${agent_builder}"