def _build_prepare(self): with util.change_dir(self._source_directory): build_commands = [ 'git fetch', 'git checkout {b} && git pull && git reset --hard {c}'.format( c=COMPONENT_COMMIT_OR_TAG, b=COMPONENT_BRANCH), ] util.execute_shell_commands(build_commands)
def _build(self): with util.change_dir(self._source_directory): build_commands = [ 'git fetch origin', 'git checkout {version}'.format(version=CHECKPOINT_VERSION), 'make switch', ] util.execute_shell_commands(build_commands)
def _build_prepare(self): with util.change_dir(self._source_directory): build_commands = [ 'git fetch origin', 'git checkout {c} && git reset --hard {c}'.format(c=COMPONENT_COMMIT_OR_TAG), 'git submodule update --init --recursive', ] util.execute_shell_commands(build_commands)
def clean(self): component_roots = [ self._hbloader_source_directory, self._hbmenu_source_directory, ] for component_root in component_roots: with util.change_dir(component_root): util.execute_shell_commands(['make clean'])
def _build(self): with util.change_dir(self._source_directory): build_commands = [ 'git fetch origin', 'git checkout {version}'.format(version=HEKATE_COMMIT_OR_TAG), 'make', ] util.execute_shell_commands(build_commands)
def _build_hbmenu(self): component_root = Path(settings.components_directory, 'nx-hbmenu/') with util.change_dir(component_root): build_commands = [ 'git fetch origin', 'git checkout {version}'.format(version=HBMENU_COMMIT_OR_TAG), 'make nx', ] util.execute_shell_commands(build_commands)
def _build(self): # Use a pre-built copy of sept-secondary since the keys to sign sept are not publicly available. os.environ['SEPT_ENC_PATH'] = str(Path(settings.defaults_directory, 'sept/sept-secondary.enc').resolve()) with util.change_dir(self._source_directory): build_commands = [ 'git fetch origin', 'git submodule update --recursive', 'git checkout {}'.format(ATMOSPHERE_COMMIT_OR_TAG), 'make', ] util.execute_shell_commands(build_commands)
def _build_docker(self): with util.change_dir(self._dockerfiles_directory): util.dock_worker(DOCKER_IMAGE_NAME)
def clean(self): with util.change_dir(self._source_directory): util.clean_component(DOCKER_IMAGE_NAME, COMPONENT_COMMIT_OR_TAG)
def clean(self): with util.change_dir(self._source_directory): util.execute_shell_commands([ 'make clean', ])