Skip to content

Commit 69522fc

Browse files
authored
chore(pyrra): add latest versions and cleanup old ones (#641)
1 parent 7edc33f commit 69522fc

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

libs/pyrra/config.jsonnet

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
local config = import 'jsonnet/config.jsonnet';
22

33
local versions = [
4-
{ output: '0.1', version: '0.1.0' },
5-
{ output: '0.2', version: '0.2.0' },
6-
{ output: '0.3', version: '0.3.4' },
7-
{ output: '0.4', version: '0.4.4' },
8-
{ output: '0.5', version: '0.5.7' },
9-
{ output: '0.6', version: '0.6.4' },
104
{ output: '0.7', version: '0.7.7' },
115
{ output: '0.8', version: '0.8.4' },
6+
{ output: '0.9', version: '0.9.5' },
7+
{ output: '0.10', version: '0.10.0' },
128
];
139

1410
config.new(
1511
name='pyrra',
1612
specs=[
1713
{
18-
// in version 0.7, the CRD was moved from 'config/crd/bases' into 'examples/kubernetes/manifests/setup'
19-
local url = if std.parseInt(std.split(v.output, '.')[1]) <= 6 then
20-
'https://raw.githubusercontent.com/pyrra-dev/pyrra/v%s/config/crd/bases/pyrra.dev_servicelevelobjectives.yaml' % v.version
21-
else
22-
'https://raw.githubusercontent.com/pyrra-dev/pyrra/v%s/examples/kubernetes/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml' % v.version,
14+
local url = 'https://raw.githubusercontent.com/pyrra-dev/pyrra/v%s/examples/kubernetes/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml' % v.version,
2315
output: v.output,
2416
prefix: '^dev\\.pyrra\\..*',
2517
crds: [url],

0 commit comments

Comments
 (0)