Remove package after build

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2021-08-13 20:48:48 +02:00
parent d33906308e
commit cd86c86fe8

View File

@ -13,6 +13,13 @@ setup() {
add_data_officer "piler1" add_data_officer "piler1"
} }
cleanup_package() {
local pkg="$1"
log "Removing ${PACKAGE_DIR}/${pkg}"
rm -f "${PACKAGE_DIR}/${pkg}"
}
launch_containers() { launch_containers() {
log "starting syslog server" log "starting syslog server"
@ -28,6 +35,8 @@ launch_containers() {
"$docker_image" "$docker_image"
wait_for_sleep_cycle_in_container "piler1" wait_for_sleep_cycle_in_container "piler1"
cleanup_package "$PACKAGE"
} }
create_rules() { create_rules() {