INNER CODE UNIT · Python
stop_chartmuseum
helm/chartmuseum · acceptance_tests/lib/ChartMuseum.py:61
def stop_chartmuseum(self):
self.run_command('pkill -9 chartmuseum')
shutil.rmtree(common.STORAGE_DIR, ignore_errors=True)
def remove_chartmuseum_logs(self):
os.chdir(self.rootdir)
self.run_command('rm -f %s' % common.LOGFILE)
def print_chartmuseum_logs(self):
os.chdir(self.rootdir)
self.run_command('cat %s' % common.LOGFILE)
def upload_test_charts(self):
charts_endpoint = '%s/api/charts' % common.HELM_REPO_URL
testcharts_dir = os.path.join(self.rootdir, common.TESTCHARTS_DIR)
os.chdir(testcharts_dir)
for d in os.listdir('.'):
if not os.path.isdir(d):