-
Notifications
You must be signed in to change notification settings - Fork 133
/
pom.xml
222 lines (196 loc) · 8.77 KB
/
pom.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>data-center-helm-charts</artifactId>
<groupId>com.atlassian.datacenter.k8s</groupId>
<version>0.1.0-SNAPSHOT</version>
<scm>
<connection>scm:git:[email protected]:atlassian/data-center-helm-charts.git</connection>
<developerConnection>scm:git:[email protected]:atlassian/data-center-helm-charts.git</developerConnection>
<url>scm:git:[email protected]:atlassian/data-center-helm-charts.git</url>
</scm>
<dependencies>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit5.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit5.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.vavr</groupId>
<artifactId>vavr</artifactId>
<version>${vavr.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.vavr</groupId>
<artifactId>vavr-jackson</artifactId>
<version>${vavr.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-vavr</artifactId>
<version>0.4.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>${kubernetes-client.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>5.1.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit5.version>5.9.0</junit5.version>
<assertj.version>3.23.1</assertj.version>
<vavr.version>0.10.3</vavr.version>
<jackson.version>2.13.3</jackson.version>
<kubernetes-client.version>6.0.0</kubernetes-client.version>
<slf4j.version>1.7.36</slf4j.version>
<commons-io.version>2.14.0</commons-io.version>
<dockerImage.registry />
<dockerImage.repository />
<dockerImage.version />
<skip.dockerImage.pull>false</skip.dockerImage.pull>
<helm.src.path>${project.basedir}/src/main/charts</helm.src.path>
<helm.release.prefix>${user.name}</helm.release.prefix>
<log.download.dir>${project.build.directory}/logs</log.download.dir>
<kubernetes.target.namespace>ci</kubernetes.target.namespace>
<kubernetes.ingress.domain>internal.shared-dev.us-west-2.kitt-inf.net</kubernetes.ingress.domain>
<aks.ingress.domain>aks.k8s.bbsperf.com</aks.ingress.domain>
<gke.ingress.domain>gke.k8s.bbsperf.com</gke.ingress.domain>
<kitt.ingress.domain>${kubernetes.ingress.domain}</kitt.ingress.domain>
<eks.ingress.domain>ci.deplops.com</eks.ingress.domain>
<!-- ARN of an ACM issued certificate for the above domain -->
<eks.ingress.certificate>foo</eks.ingress.certificate>
<!-- Can be either 'internal' or 'internet-facing' -->
<eks.alb.loadbalancer.scheme>internet-facing</eks.alb.loadbalancer.scheme>
<eks.ssh.loadbalancer.scheme>internet-facing</eks.ssh.loadbalancer.scheme>
<custom.ingress.uri />
<shared.pvc.name>atlassian-dc-shared-home-pvc</shared.pvc.name>
<persistence.enabled>true</persistence.enabled>
<clustering.enabled>true</clustering.enabled>
<!--
Number of instance replicas to start during initial setup. This value is currently only used by Bitbucket,
other products' values.yaml ignore this property. Other products need to perform additional setup steps on
a single node after Helm chart installation.
-->
<replica.count>2</replica.count>
<!-- Expected number of replicas after instance has been started -->
<target.replica.count>2</target.replica.count>
<db.init.script.file/>
<extra.parameters />
<helm.debug>true</helm.debug>
<!-- The directory in which the helm (un)install script should look for the chart values files for integration testing -->
<chart.testValues.basedir>${project.build.directory}/config</chart.testValues.basedir>
<!-- Deploy standalone Elasticsearch for BB? -->
<chart.testValues.es.deploy>true</chart.testValues.es.deploy>
<!-- Deploy Mesh nodes for BB? -->
<chart.testValues.mesh.deploy>false</chart.testValues.mesh.deploy>
<chart.testValues.mesh.version>1.4.0</chart.testValues.mesh.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
</plugin>
</plugins>
</pluginManagement>
<testResources>
<testResource>
<!-- Apply filtering to the helm CI config, to substitute various properties -->
<directory>src/test/config</directory>
<filtering>true</filtering>
<targetPath>${project.build.directory}/config</targetPath>
</testResource>
</testResources>
</build>
<profiles>
<profile>
<id>custom-docker-image</id>
<properties>
<dockerImage.registry>docker.atl-paas.net</dockerImage.registry>
<dockerImage.version>${user.name}</dockerImage.version>
</properties>
</profile>
<profile>
<id>default-chart-values</id>
<!--
Activating this profile will cause the helm_install.sh script to *not* find the integration-test values.yaml
files, resulting in the Helm chart being installed with the default values.
-->
<properties>
<chart.testValues.basedir>dummy</chart.testValues.basedir>
<chart.testValues.es.deploy>false</chart.testValues.es.deploy>
</properties>
</profile>
<profile>
<id>post-install-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>test/postinstall/*.java</include>
</includes>
<systemPropertyVariables>
<helmParametersFileLocation>${helmParametersFileLocation}</helmParametersFileLocation>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>