-
Notifications
You must be signed in to change notification settings - Fork 799
Expand file tree
/
Copy pathversions.go
More file actions
72 lines (56 loc) · 2.42 KB
/
versions.go
File metadata and controls
72 lines (56 loc) · 2.42 KB
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
package plugins
import (
jenkinsv1 "github.com/jenkins-x/jx-api/v4/pkg/apis/jenkins.io/v1"
"github.com/jenkins-x/jx-helpers/v3/pkg/extensions"
)
const (
// AdminVersion the version of the jx admin plugin
AdminVersion = "0.3.18"
// ApplicationVersion the version of the jx application plugin
ApplicationVersion = "0.3.8"
// ChangelogVersion the version of the jx changelog plugin
ChangelogVersion = "0.10.19"
// GitOpsVersion the version of the jx gitops plugin
GitOpsVersion = "1.1.0"
// HealthVersion the version of the jx health plugin
HealthVersion = "0.0.83"
// PipelineVersion the version of the jx pipeline plugin
PipelineVersion = "0.7.32"
// PreviewVersion the version of the jx preview plugin
PreviewVersion = "0.7.3"
// ProjectVersion the version of the jx project plugin
ProjectVersion = "0.2.83"
// PromoteVersion the version of the jx promote plugin
PromoteVersion = "0.6.31"
// SecretVersion the version of the jx secret plugin
SecretVersion = "0.4.19"
// TestVersion the version of the jx test plugin
TestVersion = "0.4.11"
// VerifyVersion the version of the jx verify plugin
VerifyVersion = "0.3.17"
)
var (
// Plugins default plugins
Plugins = []jenkinsv1.Plugin{
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "admin", AdminVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "application", ApplicationVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "changelog", ChangelogVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "gitops", GitOpsVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "health", HealthVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "pipeline", PipelineVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "preview", PreviewVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "project", ProjectVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "promote", PromoteVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "secret", SecretVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "test", TestVersion),
extensions.CreateJXPlugin(jenkinsxPluginsOrganisation, "verify", VerifyVersion),
}
// PluginMap a map of plugin names like `jx-gitops` to the Plugin object
PluginMap = map[string]*jenkinsv1.Plugin{}
)
func init() {
for i := range Plugins {
plugin := &Plugins[i]
PluginMap[plugin.Spec.Name] = plugin
}
}