HomeSoftware Heritage

import-puppet-module: Make script more resilient when failure occurs

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

import-puppet-module: Make script more resilient when failure occurs

  • New repository can use other branch name than 'master', so now we can provide that

name (e.g. 'main')

  • When issues happen when importing the repository for the first time, it becomes

difficult to try again without having to tamper with the forge. So this now allows to
pass along flags to make multiple calls eventually work without having to do everything
from scratch [1]

[1] Example call:

python bin/import-puppet-module \
  --default-branch main \
  --repo-id 257 \
  --no-clone \
  puppetlabs-zfs_core

Related to T4102

Details

Provenance
ardumontAuthored on Apr 20 2022, 11:24 AM
ardumontPushed on Apr 20 2022, 2:18 PM
Differential Revision
D7601: Bootstrap elastic worker node and extra work
Tasks
T4144: Elastic worker infrastructure

Commit No Longer Exists

This commit no longer exists in the repository.