]> piware.de Git - bin.git/commitdiff
Add ci-clear-npm-cache
authorMartin Pitt <martin@piware.de>
Thu, 29 Sep 2022 11:19:03 +0000 (13:19 +0200)
committerMartin Pitt <martin@piware.de>
Thu, 29 Sep 2022 11:19:03 +0000 (13:19 +0200)
ci-clear-npm-cache [new file with mode: 0755]

diff --git a/ci-clear-npm-cache b/ci-clear-npm-cache
new file mode 100755 (executable)
index 0000000..e73e4d9
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -eux
+cd ~/upstream/cockpituous/ansible
+for cloud in openstack_tasks e2e; do
+    ansible -f15 -i inventory -m shell -a 'podman exec cockpit-tasks-1 rm -rf /work/.npm/_cacache/' $cloud
+done