Commit Graph

7 Commits

Author SHA1 Message Date
Phil Sphicas 030739114f Update cleanup.sh developer script
Modifies the script that cleans up the local environment between runs to
allow the removal of /var/lib/kubelet/pods. The previous script hung up
on volume-subpaths (in addition to io~secret and empty-dir, which were
explicitly handled). This just unmounts everything before the files are
removed in remove_files.

Change-Id: I52cbe7d0f493336c1362ca3d3988038a1a15bcef
2021-02-11 17:23:32 +00:00
Egorov, Stanislav (se6518) ecefe86cf5 Extended cleanup script
Directory /etc/promenade has a permission issues when it's
not removed before deploying new genesis on the same host.

haproxy has been running under nobody user and has no access when
/etc/promenade was already been updated by init container for
haproxy anchor pod.

It's a root cause for deployment stop and waiting before running
haproxy service in the container on early stage.

Appropriate cleanup should resolve this issue.

Change-Id: I1fcadec9fce0ad50e24d6f8edb4600fb29bd9ce2
2019-09-18 11:25:12 -07:00
Drew Walters 8748348b96 templates: separate genesis and join sources
Currently, the package, repository, and key lists are used by up.sh for
genesis and join. This is not desirable when using an in-cluster
mirroring service, as the service address may change after it has been
deployed.

This commit separates the sources for genesis and join to circumvent the
aforementioned pain point. A 'common' entry in the
'promenade/HostSystem/v1' document can be used if a common source for
genesis and join is desired.

Co-authored-by: Rick Bartra <rb560u@att.com>
Change-Id: Ieb2513da0cff587297cfcbf5629d908696349621
2019-05-24 17:32:55 -04:00
Kaspars Skels 6b0d8b7d10 Add /opt resources to cleanup.sh
Change-Id: I8795032932167f7b09ad9162fc2b9f8b86a7eb9a
2018-10-05 20:49:56 -05:00
Mark Burnett ad765db2c3 Only prune docker when specified
This should make the testing cycle faster for some users by keeping
images around for reuse.

Change-Id: Ib7eb12f2f3835a5eb1c1b981d9e86e1b2fe79561
2018-06-21 15:19:05 -05:00
Roman Gorshunov 1fe3ce3509 Removing armada log traces, binaries, and other files during cleanup
Change-Id: I07ca4ff0f07da1fc4515fece496f1b9118f0fbf4
2018-01-30 14:04:38 -05:00
Mark Burnett 6f4ab35abc Add a basic cleanup script
Change-Id: Ifb3995500d7326f344f96d645561ef133c3f9a8a
2017-11-16 11:08:43 -06:00