forked from containerbuildsystem/cachito
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_env_vars.yaml
executable file
·246 lines (246 loc) · 10.8 KB
/
test_env_vars.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
---
# Cachito API endpoint
api_url: http://localhost:8080/api/v1
# Authentication type, user either null for no authentication or kerberos
api_auth_type: null
# Time in minutes at which the request must be completed
timeout: 45
# The flag cachito_gomod_strict_vendor is enabled on the environment
strict_mode_enabled: false
# Package that will be used for testing
packages:
# repo: The URL for the upstream git repository
# ref: A git reference at the given git repository
# pkg_managers: Package managers
gomod:
repo: https://github.com/release-engineering/retrodep.git
ref: e1be527f39ec31323f0454f7d1422c6260b00580
pkg_managers: ["gomod"]
npm:
repo: https://github.com/seriousManual/dedupe
ref: 955aa2f0d2dedf1b04814e38ad80deb17a602b9c
pkg_managers: ["npm"]
# Test data for the Valid data in request test
get:
gomod:
# The list of fetched packages
# Every package is defined by name, type and version.
packages:
- ["github.com/release-engineering/retrodep/v2", "gomod", "v2.1.1"]
- ["github.com/release-engineering/retrodep/v2", "go-package", "v2.1.1"]
# The list of fetched dependencies
# Every dependency is defined by name, type and version.
dependencies:
- ["bufio", "go-package", null]
- ["bytes", "go-package", null]
- ["compress/flate", "go-package", null]
- ["compress/gzip", "go-package", null]
- ["container/list", "go-package", null]
- ["context", "go-package", null]
- ["crypto", "go-package", null]
- ["crypto/aes", "go-package", null]
- ["crypto/cipher", "go-package", null]
- ["crypto/des", "go-package", null]
- ["crypto/dsa", "go-package", null]
- ["crypto/ecdsa", "go-package", null]
- ["crypto/ed25519", "go-package", null]
- ["crypto/ed25519/internal/edwards25519", "go-package", null]
- ["crypto/ed25519/internal/edwards25519/field", "go-package", null]
- ["crypto/elliptic", "go-package", null]
- ["crypto/elliptic/internal/fiat", "go-package", null]
- ["crypto/elliptic/internal/nistec", "go-package", null]
- ["crypto/hmac", "go-package", null]
- ["crypto/internal/randutil", "go-package", null]
- ["crypto/internal/subtle", "go-package", null]
- ["crypto/md5", "go-package", null]
- ["crypto/rand", "go-package", null]
- ["crypto/rc4", "go-package", null]
- ["crypto/rsa", "go-package", null]
- ["crypto/sha1", "go-package", null]
- ["crypto/sha256", "go-package", null]
- ["crypto/sha512", "go-package", null]
- ["crypto/subtle", "go-package", null]
- ["crypto/tls", "go-package", null]
- ["crypto/x509", "go-package", null]
- ["crypto/x509/pkix", "go-package", null]
- ["embed", "go-package", null]
- ["encoding", "go-package", null]
- ["encoding/asn1", "go-package", null]
- ["encoding/base64", "go-package", null]
- ["encoding/binary", "go-package", null]
- ["encoding/hex", "go-package", null]
- ["encoding/json", "go-package", null]
- ["encoding/pem", "go-package", null]
- ["encoding/xml", "go-package", null]
- ["errors", "go-package", null]
- ["flag", "go-package", null]
- ["fmt", "go-package", null]
- ["github.com/Masterminds/semver", "gomod", "v1.4.2"]
- ["github.com/Masterminds/semver", "go-package", "v1.4.2"]
- ["github.com/kr/pretty", "gomod", "v0.1.0"]
- ["github.com/kr/pty", "gomod", "v1.1.1"]
- ["github.com/kr/text", "gomod", "v0.1.0"]
- ["github.com/op/go-logging", "gomod", "v0.0.0-20160315200505-970db520ece7"]
- ["github.com/op/go-logging", "go-package", "v0.0.0-20160315200505-970db520ece7"]
- ["github.com/pkg/errors", "gomod", "v0.8.1"]
- ["github.com/pkg/errors", "go-package", "v0.8.1"]
- ["github.com/release-engineering/retrodep/v2/retrodep", "go-package", "v2.1.1"]
- ["github.com/release-engineering/retrodep/v2/retrodep/glide", "go-package", "v2.1.1"]
- ["go/ast", "go-package", null]
- ["go/build", "go-package", null]
- ["go/build/constraint", "go-package", null]
- ["go/doc", "go-package", null]
- ["go/internal/typeparams", "go-package", null]
- ["go/parser", "go-package", null]
- ["go/scanner", "go-package", null]
- ["go/token", "go-package", null]
- ["golang.org/x/crypto", "gomod", "v0.0.0-20190308221718-c2843e01d9a2"]
- ["golang.org/x/net", "gomod", "v0.0.0-20190311183353-d8887717615a"]
- ["golang.org/x/sys", "gomod", "v0.0.0-20190215142949-d0b11bdaac8a"]
- ["golang.org/x/text", "gomod", "v0.3.0"]
- ["golang.org/x/tools", "gomod", "v0.0.0-20190325161752-5a8dccf5b48a"]
- ["golang.org/x/tools/go/vcs", "go-package", "v0.0.0-20190325161752-5a8dccf5b48a"]
- ["gopkg.in/check.v1", "gomod", "v1.0.0-20180628173108-788fd7840127"]
- ["gopkg.in/yaml.v2", "gomod", "v2.2.2"]
- ["gopkg.in/yaml.v2", "go-package", "v2.2.2"]
- ["hash", "go-package", null]
- ["hash/crc32", "go-package", null]
- ["internal/abi", "go-package", null]
- ["internal/buildcfg", "go-package", null]
- ["internal/bytealg", "go-package", null]
- ["internal/cpu", "go-package", null]
- ["internal/execabs", "go-package", null]
- ["internal/fmtsort", "go-package", null]
- ["internal/goarch", "go-package", null]
- ["internal/godebug", "go-package", null]
- ["internal/goexperiment", "go-package", null]
- ["internal/goroot", "go-package", null]
- ["internal/goos", "go-package", null]
- ["internal/goversion", "go-package", null]
- ["internal/intern", "go-package", null]
- ["internal/itoa", "go-package", null]
- ["internal/lazyregexp", "go-package", null]
- ["internal/nettrace", "go-package", null]
- ["internal/oserror", "go-package", null]
- ["internal/poll", "go-package", null]
- ["internal/race", "go-package", null]
- ["internal/reflectlite", "go-package", null]
- ["internal/singleflight", "go-package", null]
- ["internal/syscall/execenv", "go-package", null]
- ["internal/syscall/unix", "go-package", null]
- ["internal/testlog", "go-package", null]
- ["internal/unsafeheader", "go-package", null]
- ["io", "go-package", null]
- ["io/fs", "go-package", null]
- ["io/ioutil", "go-package", null]
- ["log", "go-package", null]
- ["log/syslog", "go-package", null]
- ["math", "go-package", null]
- ["math/big", "go-package", null]
- ["math/bits", "go-package", null]
- ["math/rand", "go-package", null]
- ["mime", "go-package", null]
- ["mime/multipart", "go-package", null]
- ["mime/quotedprintable", "go-package", null]
- ["net", "go-package", null]
- ["net/http", "go-package", null]
- ["net/http/httptrace", "go-package", null]
- ["net/http/internal", "go-package", null]
- ["net/http/internal/ascii", "go-package", null]
- ["net/netip", "go-package", null]
- ["net/textproto", "go-package", null]
- ["net/url", "go-package", null]
- ["os", "go-package", null]
- ["os/exec", "go-package", null]
- ["path", "go-package", null]
- ["path/filepath", "go-package", null]
- ["reflect", "go-package", null]
- ["regexp", "go-package", null]
- ["regexp/syntax", "go-package", null]
- ["runtime", "go-package", null]
- ["runtime/cgo", "go-package", null]
- ["runtime/internal/atomic", "go-package", null]
- ["runtime/internal/math", "go-package", null]
- ["runtime/internal/sys", "go-package", null]
- ["runtime/internal/syscall", "go-package", null]
- ["sort", "go-package", null]
- ["strconv", "go-package", null]
- ["strings", "go-package", null]
- ["sync", "go-package", null]
- ["sync/atomic", "go-package", null]
- ["syscall", "go-package", null]
- ["text/template", "go-package", null]
- ["text/template/parse", "go-package", null]
- ["time", "go-package", null]
- ["unicode", "go-package", null]
- ["unicode/utf16", "go-package", null]
- ["unicode/utf8", "go-package", null]
- ["unsafe", "go-package", null]
- ["vendor/golang.org/x/crypto/chacha20", "go-package", null]
- ["vendor/golang.org/x/crypto/chacha20poly1305", "go-package", null]
- ["vendor/golang.org/x/crypto/cryptobyte", "go-package", null]
- ["vendor/golang.org/x/crypto/cryptobyte/asn1", "go-package", null]
- ["vendor/golang.org/x/crypto/curve25519", "go-package", null]
- ["vendor/golang.org/x/crypto/curve25519/internal/field", "go-package", null]
- ["vendor/golang.org/x/crypto/hkdf", "go-package", null]
- ["vendor/golang.org/x/crypto/internal/poly1305", "go-package", null]
- ["vendor/golang.org/x/crypto/internal/subtle", "go-package", null]
- ["vendor/golang.org/x/net/dns/dnsmessage", "go-package", null]
- ["vendor/golang.org/x/net/http/httpguts", "go-package", null]
- ["vendor/golang.org/x/net/http/httpproxy", "go-package", null]
- ["vendor/golang.org/x/net/http2/hpack", "go-package", null]
- ["vendor/golang.org/x/net/idna", "go-package", null]
- ["vendor/golang.org/x/sys/cpu", "go-package", null]
- ["vendor/golang.org/x/text/secure/bidirule", "go-package", null]
- ["vendor/golang.org/x/text/transform", "go-package", null]
- ["vendor/golang.org/x/text/unicode/bidi", "go-package", null]
- ["vendor/golang.org/x/text/unicode/norm", "go-package", null]
npm:
# The list of fetched packages
# Every package is defined by name, type and version.
packages:
- ["dedupe", "npm", "3.0.2"]
# Total count of dependencies
dependencies_count: 31
# Dependencies that are not dev dependencies
non_dev_dependencies: []
# Test data for the Dependency replacement test
dep_replacement:
# The list of dependencies that are replaced with specific versions
dependency_replacements:
- name: github.com/pkg/errors
type: gomod
version: v0.8.0
- name: github.com/Masterminds/semver
type: gomod
version: v1.4.0
# Test data for the HTTP GET_ALL test
http_get_all:
requests_amount: 2
# Test data for the check downloaded output test
downloaded_output:
# Package managers of cached dependencies
pkg_managers: ["gomod"]
# Test data for the Run application from bundle test
run_app:
# Name of the applicaiton that is downloaded via bundle
app_name: retrodep
# Test data for valid content manifest test
content_manifest:
# Package managers for testing
pkg_managers: ["gomod", "npm"]
# Test data with various types of dependencies in packages
various_packages:
# repo: The URL for the upstream git repository
# ref: A git reference at the given git repository
# dependencies_count: An amount of expected dependencies
# JavaScript package with dependencies: regular, github, gitlab, file, https
npm:
repo: https://github.com/cachito-testing/cachito-npm-test
ref: 2f94fe0a21f97bd7ac0d4a70b96bea3cbab1a837
dependencies_count: 11
# Go package with regular dependencies
gomod:
repo: https://github.com/cachito-testing/cachito-gomod-test
ref: 1827221d787cbd1e979b339cfbbf59728eddf0d4
dependencies_count: 48