Project

General

Profile

Actions

Feature #89

closed

write tool to easy removing old develop helm charts

Added by torgiren about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
12/06/2021
Due date:
% Done:

100%

Estimated time:
1:00 h
Spent time:

Description

for i in $(gitlab -v  project-package list --project-id 6 --package-name exphost-services|egrep "^(version|id)"|cut -f2 -d ":"|paste -s -d " \n"|grep "-"|awk '{print $1}'); do 
echo $i; gitlab project-package delete --id $i --project-id 6;
done

pip install python-gitlab
Actions

Also available in: Atom PDF