HomeSoftware Heritage

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

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
Parents
rSENVd475bbf00922: Bootstrap elastic worker node
Branches
Unknown
Tags
Unknown
Tasks
T4144: Elastic worker infrastructure