INNER CODE UNIT · Python

remove_chartmuseum_logs

helm/chartmuseum · acceptance_tests/lib/ChartMuseum.py:65

    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):
                continue
            os.chdir(d)
            tgzs = glob.glob('*.tgz')
            for tgz in tgzs:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…