-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathupdate_external_versions.conf
87 lines (84 loc) · 3.57 KB
/
update_external_versions.conf
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# All default values mentioned below are the defaults of the latest_versions tool. If a field
# is not specified, the update_external_versions tool simply does not pass that argument
# to the latest_versions tool. So in case of conflicting information, the defaults described
# in that tool are the ones you should follow.
# This file contains any number of stanzas of the following form:
#
#image: image_name
# major: major number
# minor: minor number
# outfile: target filename
# server: arti or algol60
# source: docker or helm
# team: team name
# type: build type
# url: url of repository.catalog (for docker) or index.yaml (for helm)
#
# For each such stanza, the only required field is the image field. This field
# determines the name of the image whose latest version we wish to discover.
#
# The major and minor fields, if present, must contain nonnegative integers.
# If specified, they constrain the image version search to versions with the
# specified major and (if specified) minor number. If neither is specified, the
# overall latest version of the image will be sought.
#
# outfile defines the name of the file that the version will be written to.
# If not specified, it defaults to <image_name>.version
#
# server specifies whether the image search should be done on arti.dev or algol60.net
# If not specified, it defaults to algol60
#
# If source is not specified, it defaults to docker.
# If team is not specified, it defaults to csm.
#
# The source, team, and type fields specify where on the server the image search should be done.
#
################
# server: arti #
################
#
# For arti, if type is not specified, it defaults to stable
#
# For source docker, the image version will be based on the information found in:
# https://arti.hpc.amslabs.hpecorp.net/artifactory/<team>-docker-<type>-local/repository.catalog
#
# For source helm, the image version will be based on the information found in:
# https://arti.hpc.amslabs.hpecorp.net/artifactory/<team>-helm-<type>-local/index.yaml
#
###################
# server: algol60 #
###################
#
# For algol60, if type is not specified, it defaults to stable
#
# For source docker, the image version will be based on the information found in:
# https://artifactory.algol60.net/artifactory/<team>-docker/repository.catalog
#
# For source helm, the image version will be based on the information found in:
# https://artifactory.algol60.net/artifactory/<team>-helm-charts/index.yaml
#
# For algol60, the type field is used within these files to distinguish between
# stable and unstable images by looking at the path to the images.
#
#######
# url #
#######
#
# The url field is mutually exclusive with the following fields: server and team
# It allows you to instead point the tool directly to the file it should retrieve to
# use as its image index.
# For source docker, it will assume the file is in the same JSON format as the repository.catalog
# files found on arti.dev or algol60
# For source helm, it will assume the file is in the same YAML format as the index.yaml files
# found on arti.dev or algol60
# When the url field is used, there is no default type. Thus, if the specified file includes
# the image type in the file paths (like on algol60), the type must be explicitly specified or
# no images will be found. Alternatively, if the specified file does NOT include the image type
# in the file paths (like on arti.dev), the type parameter should be omitted entirely, otherwise
# no images will be found.
image: cray-tpsw-ipxe
major: 4
minor: 1
outfile: .cray-tpsw-ipxe-version
server: algol60
source: docker