1
0
Commit Graph

228 Commits

Author SHA1 Message Date
9c237b52db
test: remove obsolete match test 2023-05-18 21:40:22 +00:00
120fcdc56b
feat: initial implementation of distro interface 2023-05-18 21:37:07 +00:00
c3774714fd
refactor: move distro id to separate file 2023-05-18 20:02:09 +00:00
73f5df2425
feat!: new kernel config structure
BREAKING CHANGE: kernel definition in the configuration files has switched

from

  [[targets]]
  distro = { id = "Ubuntu", release = "18.04" }
  release_mask = ".*"

to

  [[targets]]
  distro = { id = "Ubuntu", release = "18.04" }
  kernel = { regex = ".*" }
2023-05-18 18:48:09 +00:00
d551cc8fc4
refactor: use the same name as in config 2023-05-18 18:27:51 +00:00
bcf8de336f
feat!: introduce new distribution structure
BREAKING CHANGE: distro definition in the configuration files has switched

from

  [[supported_kernels]]
  distro_type = "Ubuntu"
  distro_release = "16.04"
  ...

to

  [[supported_kernels]]
  distro = { id = "Ubuntu", release = "16.04" }
  ...
2023-05-18 16:07:24 +00:00
17256317c9
test: fix function name 2023-05-18 12:52:52 +00:00
6a338fc6ad
refactor: move ubutu install/cleanup to module 2023-05-18 11:46:12 +00:00
407c1a7975
refactor: move oracle linux install/cleanup to module 2023-05-18 11:42:25 +00:00
99c9346995
refactor: rename debian functions to common interface 2023-05-18 11:34:46 +00:00
90f7e62888
Revert "refactor: remove debian functions to common interface"
This reverts commit 412199966e.
2023-05-18 11:32:48 +00:00
412199966e
refactor: remove debian functions to common interface 2023-05-18 11:31:54 +00:00
ef35743579
refactor: move oraclelinux/ubuntu kernels match to modules 2023-05-18 11:28:06 +00:00
71c2b2001c
refactor: move oracle linux runs/envs to module 2023-05-18 11:08:23 +00:00
4eed03ec2a
fix: install/remove kernel in one layer 2023-05-18 10:50:24 +00:00
3cd901b1be
fix: add appstream repo for centos8, refactor 2023-05-18 10:37:59 +00:00
73b1edd1cb
fix: clean ubuntu modules package 2023-05-18 09:50:02 +00:00
72f52d3200
fix: support --no-headers for debian 2023-05-17 06:50:52 +00:00
706d442948
fix: install gcc for all debian releases 2023-05-17 06:24:18 +00:00
f7b9f538b4
fix: wait 10 seconds before query with new limit 2023-05-17 06:05:37 +00:00
d70be6a306
feat: install all gcc versions for debian base image 2023-05-17 05:48:28 +00:00
15a6f38631
fix: lower limit also on connection refused 2023-05-17 05:39:24 +00:00
ac2166b050
refactor: avoid potential typos 2023-05-17 05:28:34 +00:00
f630fa6f49
fix: add timeout to wget 2023-05-17 05:12:32 +00:00
6e92010dc0
feat: set default limiter timeout to 50ms 2023-05-17 05:05:49 +00:00
008ce1cdbf
refactor: remove unused code 2023-05-17 05:03:16 +00:00
5270f2438c
feat: set default limiter timeout to 100ms 2023-05-17 05:02:57 +00:00
204413af9e
fix: add linux-compiler-* to dependencies 2023-05-17 04:52:04 +00:00
c43f16733e
fix: add libssl-dev for debian base image 2023-05-17 04:51:32 +00:00
c6acbef7f5
feat: set timeout on first tries to install 2023-05-16 20:30:04 +00:00
e7614ef3a7
feat: use snapshots only in case of failed fetch from repos 2023-05-16 19:37:57 +00:00
18426775b9
fix: deb packages install command 2023-05-16 19:20:58 +00:00
66026ebf5a
fix: typo 2023-05-16 17:55:30 +00:00
f5b1283690
fix: try to install debian packages 3 times 2023-05-16 17:52:15 +00:00
4d950d7302
refactor: move debian-related functions to debian module 2023-05-16 09:24:34 +00:00
e1ae427757
fix: add gcc-4.6 for wheezy 2023-05-16 09:23:44 +00:00
8f1a2afc53
feat: modify cache api to store more than one kernel for version 2023-05-15 18:41:12 +00:00
8949b53ccc
fix: return after found 2023-05-15 18:17:31 +00:00
4ea7fbfbf9
refactor: move getting kernel by version to function 2023-05-15 17:57:44 +00:00
9b33140cc8
feat: always set last fetch date 2023-05-15 17:42:31 +00:00
c13b595ab1
refactor: unexport getDebianKernel 2023-05-15 17:40:53 +00:00
7c2957dafb
feat: lower debug level 2023-05-15 15:35:48 +00:00
3e64c99b1c
fix: show actual refetch date 2023-05-15 15:29:23 +00:00
eda23b45b9
feat: combined packages list 2023-05-15 11:14:59 +00:00
52c452debe
feat: pass kernel mask to get container volumes 2023-05-15 09:43:48 +00:00
a05b579086
feat: remove the overhead for something not used 2023-05-15 08:21:53 +00:00
d089ad4931
feat: return complete repo info 2023-05-15 08:19:35 +00:00
0f799b0d5a
feat: implement part of metasnap api 2023-05-15 07:30:00 +00:00
c0603404a8
feat: use the latest snapshot for Debian Jessie and Stretch 2023-05-14 22:20:34 +00:00
b2383ba442
feat: add container volumes list function 2023-05-14 22:15:43 +00:00
1b2d636410
feat: introduce kernel version 2023-05-14 22:00:29 +00:00
1a2929a1aa
fix: wrong image release 2023-05-14 21:19:06 +00:00
5778f39ac4
fix: no module-init-tools on debian 9 2023-05-14 21:17:21 +00:00
032bba6ee5
fix: sed edit in place 2023-05-14 21:12:24 +00:00
8bb211cf01
feat: list debian kernels implementation 2023-05-14 21:04:22 +00:00
f85ad89130
fix: match exact version (binpackages can return more than one) 2023-05-14 19:48:15 +00:00
501dcb23ae
feat: set default refetch timeout to 14 days 2023-05-14 18:08:26 +00:00
19081aea5d
test: skip MatchImagePkg test in CI 2023-05-14 17:34:49 +00:00
a090328b1c
fix: exp should be filtered in other place 2023-05-14 17:29:53 +00:00
2452b090b0
feat: use semver wrapper to match debian release 2023-05-14 17:14:05 +00:00
b09b51840c
feat: fetch kbuild from linux-tools for older kernels 2023-05-14 16:54:12 +00:00
a13a78e292
feat: ignore experimental kernels 2023-05-14 14:34:11 +00:00
e10b50a41a
test: pretty print result 2023-05-14 14:06:04 +00:00
87ed8da5b8
fix: ignore dbg packages 2023-05-14 14:05:10 +00:00
e9ced28b29
feat: match kbuild 2023-05-14 13:59:25 +00:00
f8f3424e1e
refactor: move cache-related functions 2023-05-14 12:37:45 +00:00
0fd9d80940
fix: match the "all" arch of the debian kernel packages 2023-05-14 11:41:26 +00:00
fa23cdfc54
feat: support matching several architectures 2023-05-14 11:38:41 +00:00
6bb0da5082
feat: support multiple headers packages 2023-05-14 11:06:54 +00:00
6b8d97be39
test: fix kernel release test 2023-05-14 10:30:35 +00:00
7502221cfd
feat: support adding dependencies to debian kernel packages 2023-05-14 10:27:35 +00:00
181115d914
fix: use only 3.2 -> 3.7 kernels on wheezy' 2023-05-14 10:13:01 +00:00
f91534aa6a
feat: add common debian packages 2023-05-14 10:12:33 +00:00
f7f8a27dfa
feat: use old debian containers from snapshots 2023-05-14 09:53:59 +00:00
93a1b74e34
feat: add dummy func to list debian kernels 2023-05-14 07:19:52 +00:00
73139e1b91
refactor: docker -> container 2023-05-14 07:00:00 +00:00
9e8a381de0
feat: implement basic debian container image 2023-05-13 19:51:57 +00:00
29010b2a1b
feat: support getting cached kernels 2023-05-13 19:48:01 +00:00
0bf2acb043
feat: lowercase release strings 2023-05-13 19:08:46 +00:00
d0693e64c4
feat: make sure of cache thread-safety 2023-05-13 18:49:11 +00:00
70fec57d2f
feat: debian versions cache 2023-05-13 18:43:15 +00:00
2cc84ac962
fix: match kernel release correctly 2023-05-13 17:42:25 +00:00
143e54984d
test: cover more kernel releases 2023-05-13 17:32:02 +00:00
39f4cd4cfd
fix: check if cache already exists 2023-05-13 16:08:59 +00:00
5975898225
test: use tmpdir to not interfere with other tests 2023-05-13 12:56:25 +00:00
fb5411503c
fix: log error if no cache found 2023-05-13 12:38:03 +00:00
4e77cf82d3
refactor: use one provider for default cache url 2023-05-13 12:14:20 +00:00
60a1d19042
test: avoid api requests 2023-05-13 12:02:41 +00:00
997d6a67ba
test: fix match image test 2023-05-13 11:17:11 +00:00
1d22902eb0
feat: download debian cache automatically 2023-05-13 11:04:35 +00:00
59febd75b0
test: enable match image test 2023-05-13 11:00:34 +00:00
28acc51417
test: disable match image test until cache is implemented 2023-05-13 10:24:29 +00:00
9b987bcc82
Refactor 2023-05-13 09:09:29 +00:00
d13eab6947
Match by debian release 2023-05-12 20:05:44 +00:00
43aa116682
Implement match for Debian packages 2023-05-12 17:27:48 +00:00
b5d4bdd5f4
Fetch debian kernels function 2023-05-12 15:02:43 +00:00
efbdc9db36
Implement refetch 2023-05-12 00:07:51 +00:00
d41846ede2
Fix parameters 2023-05-11 22:35:38 +00:00
83c1ca303c
Add debian code names 2023-05-11 22:17:46 +00:00
ad0a3706cb
Implement as normal filter 2023-05-11 22:17:31 +00:00
2e6ce1e8f9
Skip also all-amd64 2023-05-11 22:06:54 +00:00
a77d56c26b
Do not produce error on empty response 2023-05-11 22:06:31 +00:00
53324e663a
Add ErrNotFound 2023-05-11 21:59:44 +00:00
d4fbec39a6
Crutch for regex 2023-05-11 21:47:43 +00:00
cca637cf9d
Fix regexp 2023-05-11 21:36:54 +00:00
bef382920e
Fix regexp 2023-05-11 21:35:20 +00:00
20cbd2f72e
Fix regexp 2023-05-11 21:34:32 +00:00
0594b0ea60
More than one result is legit 2023-05-11 21:29:15 +00:00
f6cb2d8d12
Check if package already in slice 2023-05-11 21:22:28 +00:00
27a22ba023
Dynamic rate limiter 2023-05-11 21:15:29 +00:00
da9a243ee4
Match bpo only 2023-05-11 20:52:33 +00:00
e123bf258c
Fix missing error check 2023-05-11 20:45:53 +00:00
9c563ca68b
Lower rate limit 2023-05-11 20:43:29 +00:00
2b0d7b0460
Fix regex 2023-05-11 20:42:25 +00:00
68ad89973c
Lower rate limit 2023-05-11 20:42:12 +00:00
5b396e7b5e
Expose error variables 2023-05-11 20:25:34 +00:00
7e545586bc
Trace 2023-05-11 20:24:54 +00:00
26c261b6f3
Remove query escape (endpoint does not apper to support it) 2023-05-11 19:43:42 +00:00
77be74797b
Implement debian package 2023-05-11 19:30:25 +00:00
d04a9de932
Implement package cache API 2023-05-11 18:45:44 +00:00
ac74e450c3
Add dists at time of snapshot, remove codename field (-> function) 2023-05-11 16:52:47 +00:00
41c84c70f6
Add codename, retries, timeouts 2023-05-11 16:26:16 +00:00
3ba71a7787
Add logging, rate limiter, retries 2023-05-11 16:07:15 +00:00
aaca60cafc
Add deb package url and its repo component 2023-05-11 13:20:36 +00:00
3a29b3b869
Handle http errors 2023-05-11 12:58:33 +00:00
07bd886383
Base mr snapshot wrappers 2023-05-11 12:03:18 +00:00
c3042c97f0
Assert mr API 2023-05-11 11:54:35 +00:00
1b68fc571f
Rename 2023-05-11 10:58:34 +00:00