forked from gabrie30/ghorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-reclone.yaml
28 lines (24 loc) · 1.47 KB
/
sample-reclone.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# +-+-+-+-+-+-+-+-+-+-+-+-+-+
# |G|H|O|R|G| |R|E|C|L|O|N|E|
# +-+-+-+-+-+-+-+-+-+-+-+-+-+
# Example format below. You can reclone, one, multiple or all at once e.g.
# ghorg reclone (will call all clone cmd's)
# ghorg reclone gitlab-examples kubernetes-sig (will call both clone cmds)
# Note: tokens used in cmd's will be sanitized before being logged to stdout except when running `ghorg reclone --list`
# See https://github.com/gabrie30/ghorg#reclone-command for more information
# Example of basic structure
# name-of-reclone:
# cmd: "ghorg clone command here"
# description: "Optional description that will be printed to stdout when running `ghorg reclone --list`"
# Example for gitlab; update with your gitlab cloud token
gitlab-examples:
cmd: "ghorg clone gitlab-examples --scm=gitlab --preserve-dir --token=XXXXXXX"
# Examples from README.md; update with your github cloud token
kubernetes:
cmd: "ghorg clone kubernetes --token=XXXXXXX"
kubernetes-sig:
cmd: "ghorg clone kubernetes --token=XXXXXXX --match-regex=^sig- --output-dir=kubernetes-sig-only"
description: "Clones the kubernetes org and only repos that match the regex ^sig- and puts them in a new directory called kubernetes-sig-only"
kubernetes-sig-staging:
cmd: "ghorg clone kubernetes --token=XXXXXXX --topics=k8s-sig-staging --output-dir=kubernetes-sig-staging"
description: "Clones the kubernetes org and only repos that have the topic k8s-sig-staging and puts them in a new directory called kubernetes-sig-staging"