Skip to content

Commit daa0bc2

Browse files
jamiscomandeo-mongo
andcommitted
RUBY-3232 Switch to supported build hosts (mongodb#2712)
* Bump to latest toolchain and clean up specs to use consistent (and modern) build hosts * fix config validation errors * don't try to run ruby 2.7 on ubuntu2204 * bump submodule to get updated toolchain version * rhel84 -> rhel80 * keep tweaking * add "require_solo" helper * for testing: pointing spec/shared at my own branch * update spec/shared again to fix typo * bump spec/shared version again to prevent apt-get install from prompting * make sure cmake is installed for FLE runs * don't test on 3.2 yet (broken tests) * make sure we check for cmake BEFORE the bundle is installed * use MDB 5.x for testing certain auth mechanisms this is because run-tests.sh uses `mongo` to configure the MDB instance for certain auth mechanisms, which isn't shipped in MDB 6+. * try building the native extension for mongo_kerberos * remove jruby-9.4 for now to see if things pass any better with 9.3 * bump spec/shared to get updated server registry (for aarch64 versions) * update serverless to use rhel80 * move the install_cmake function to spec/shared, and make sure it gets called in run-tests-gcp * don't run zstd tests on jruby (no support) * bump spec/shared to get updated target arch selection * replace jruby 9.4 with 9.3 in sample_rubies list * bump spec/shared again * make sure kerberos stuff doesn't get confused by the BUNDLE_GEMFILE variable * don't test jruby on arm for now * don't assume x86_64 architecture * fix invalid config * jruby-9.3 isn't being built for ubuntu/debian :/ * need to build the bundle for the kerberos gem before compiling it * bump spec/shared to latest from my branch * jruby-9.3 is being built as a recent ruby now * don't include ruby-3.2 in supported rubies (yet) * rebuild config.yml * bump spec/shared * leaving out debian11 for now; we have ubuntu2204, which is closely related * the file is /etc/os-release, not /etc/os_release * remove jruby from FLE tests * comment out the failing tests (and reference the corresponding Jira tickets) this will at least let us get this "build hosts" effort sorted * forgot to comment out 'latest' * cmake is only needed if the helper is being installed Co-authored-by: Dmitry Rybakov <[email protected]> * bump spec/shared --------- Co-authored-by: Dmitry Rybakov <[email protected]>
1 parent 9a3ac50 commit daa0bc2

14 files changed

+610
-1548
lines changed

.evergreen/config.yml

Lines changed: 464 additions & 473 deletions
Large diffs are not rendered by default.

.evergreen/config/axes.yml.erb

Lines changed: 0 additions & 385 deletions
Original file line numberDiff line numberDiff line change
@@ -1,385 +0,0 @@
1-
axes:
2-
3-
- id: preload
4-
display_name: Preload server
5-
values:
6-
- id: nopreload
7-
display_name: Do not preload
8-
- id: preload
9-
display_name: Preload
10-
variables:
11-
PRELOAD_ARG: -p
12-
13-
- id: "mongodb-version"
14-
display_name: MongoDB Version
15-
values:
16-
- id: "latest"
17-
display_name: "latest"
18-
variables:
19-
MONGODB_VERSION: "latest"
20-
- id: "6.0"
21-
display_name: "6.0"
22-
variables:
23-
MONGODB_VERSION: "6.0"
24-
- id: "5.3"
25-
display_name: "5.3"
26-
variables:
27-
MONGODB_VERSION: "5.3"
28-
- id: "5.0"
29-
display_name: "5.0"
30-
variables:
31-
MONGODB_VERSION: "5.0"
32-
- id: "4.4"
33-
display_name: "4.4"
34-
variables:
35-
MONGODB_VERSION: "4.4"
36-
- id: "4.2"
37-
display_name: "4.2"
38-
variables:
39-
MONGODB_VERSION: "4.2"
40-
- id: "4.0"
41-
display_name: "4.0"
42-
variables:
43-
MONGODB_VERSION: "4.0"
44-
- id: "3.6"
45-
display_name: "3.6"
46-
variables:
47-
MONGODB_VERSION: "3.6"
48-
49-
- id: fcv
50-
display_name: FCV
51-
values:
52-
- id: '3.4'
53-
display_name: '3.4'
54-
variables:
55-
FCV: '3.4'
56-
57-
- id: "topology"
58-
display_name: Topology
59-
values:
60-
- id: "standalone"
61-
display_name: Standalone
62-
variables:
63-
TOPOLOGY: standalone
64-
- id: "replica-set"
65-
display_name: Replica Set
66-
variables:
67-
TOPOLOGY: replica-set
68-
- id: "sharded-cluster"
69-
display_name: Sharded
70-
variables:
71-
TOPOLOGY: sharded-cluster
72-
- id: "load-balanced"
73-
display_name: Load Balanced
74-
variables:
75-
TOPOLOGY: load-balanced
76-
77-
- id: "single-mongos"
78-
display_name: Single Mongos
79-
values:
80-
- id: "single-mongos"
81-
display_name: Single Mongos
82-
variables:
83-
SINGLE_MONGOS: 'true'
84-
85-
- id: "auth-and-ssl"
86-
display_name: Authentication and SSL
87-
values:
88-
- id: "auth-and-ssl"
89-
display_name: Auth SSL
90-
variables:
91-
AUTH: "auth"
92-
SSL: "ssl"
93-
- id: "auth-and-nossl"
94-
display_name: Auth NoSSL
95-
variables:
96-
AUTH: "auth"
97-
- id: "noauth-and-ssl"
98-
display_name: NoAuth SSL
99-
variables:
100-
SSL: "ssl"
101-
- id: "noauth-and-nossl"
102-
display_name: NoAuth NoSSL
103-
- id: "x509"
104-
display_name: X.509
105-
variables:
106-
AUTH: "x509"
107-
SSL: "ssl"
108-
- id: kerberos
109-
display_name: Kerberos
110-
variables:
111-
AUTH: kerberos
112-
- id: aws-regular
113-
display_name: AWS Auth Regular Credentials
114-
variables:
115-
AUTH: aws-regular
116-
- id: aws-assume-role
117-
display_name: AWS Auth Assume Role
118-
variables:
119-
AUTH: aws-assume-role
120-
- id: aws-ec2
121-
display_name: AWS Auth EC2 Role
122-
variables:
123-
AUTH: aws-ec2
124-
- id: aws-ecs
125-
display_name: AWS Auth ECS Task
126-
variables:
127-
AUTH: aws-ecs
128-
129-
- id: "ruby"
130-
display_name: Ruby Version
131-
values:
132-
- id: "ruby-3.1"
133-
display_name: ruby-3.1
134-
variables:
135-
RVM_RUBY: "ruby-3.1"
136-
- id: "ruby-3.0"
137-
display_name: ruby-3.0
138-
variables:
139-
RVM_RUBY: "ruby-3.0"
140-
- id: "ruby-2.7"
141-
display_name: ruby-2.7
142-
variables:
143-
RVM_RUBY: "ruby-2.7"
144-
- id: "ruby-2.6"
145-
display_name: ruby-2.6
146-
variables:
147-
RVM_RUBY: "ruby-2.6"
148-
- id: "ruby-2.5"
149-
display_name: ruby-2.5
150-
variables:
151-
RVM_RUBY: "ruby-2.5"
152-
- id: "ruby-head"
153-
display_name: ruby-head
154-
variables:
155-
RVM_RUBY: "ruby-head"
156-
- id: "jruby-9.2"
157-
display_name: jruby-9.2
158-
variables:
159-
RVM_RUBY: "jruby-9.2"
160-
- id: "jruby-9.3"
161-
display_name: jruby-9.3
162-
variables:
163-
RVM_RUBY: "jruby-9.3"
164-
165-
- id: "os"
166-
display_name: OS
167-
values:
168-
- id: ubuntu2004
169-
display_name: "Ubuntu 20.04"
170-
run_on: ubuntu2004-small
171-
- id: ubuntu1804
172-
display_name: "Ubuntu 18.04"
173-
run_on: ubuntu1804-small
174-
- id: ubuntu1604
175-
display_name: "Ubuntu 16.04"
176-
run_on: ubuntu1604-small
177-
- id: rhel80
178-
display_name: "RHEL 8"
179-
run_on: rhel80-small
180-
- id: rhel70
181-
display_name: "RHEL 7"
182-
run_on: rhel70-small
183-
- id: rhel62
184-
display_name: "RHEL 6"
185-
run_on: rhel62-small
186-
187-
- id: docker-distro
188-
display_name: Docker Distro
189-
values:
190-
<% %w(debian92 debian10 ubuntu1804).each do |distro| %>
191-
- id: <%= distro %>
192-
display_name: <%= distro %>
193-
variables:
194-
DOCKER_DISTRO: <%= distro %>
195-
<% end %>
196-
197-
- id: "compressor"
198-
display_name: Compressor
199-
values:
200-
- id: "zlib"
201-
display_name: Zlib
202-
variables:
203-
COMPRESSOR: "zlib"
204-
- id: "snappy"
205-
display_name: Snappy
206-
variables:
207-
COMPRESSOR: "snappy"
208-
- id: "zstd"
209-
display_name: Zstd
210-
variables:
211-
COMPRESSOR: "zstd"
212-
213-
- id: retry-reads
214-
display_name: Retry Reads
215-
values:
216-
- id: no-retry-reads
217-
display_name: No Retry Reads
218-
variables:
219-
RETRY_READS: 'false'
220-
221-
- id: retry-writes
222-
display_name: Retry Writes
223-
values:
224-
- id: no-retry-writes
225-
display_name: No Retry Writes
226-
variables:
227-
RETRY_WRITES: 'false'
228-
229-
- id: lint
230-
display_name: Lint
231-
values:
232-
- id: on
233-
display_name: On
234-
variables:
235-
LINT: '1'
236-
237-
- id: stress
238-
display_name: Stress
239-
values:
240-
- id: on
241-
display_name: On
242-
variables:
243-
STRESS: '1'
244-
245-
- id: fork
246-
display_name: Fork
247-
values:
248-
- id: on
249-
display_name: On
250-
variables:
251-
FORK: '1'
252-
253-
- id: solo
254-
display_name: Solo
255-
values:
256-
- id: on
257-
display_name: On
258-
variables:
259-
SOLO: '1'
260-
261-
- id: "as"
262-
display_name: ActiveSupport
263-
values:
264-
- id: "as"
265-
display_name: AS
266-
variables:
267-
WITH_ACTIVE_SUPPORT: true
268-
269-
- id: bson
270-
display_name: BSON
271-
values:
272-
- id: master
273-
display_name: master
274-
variables:
275-
BSON: master
276-
- id: 4-stable
277-
display_name: 4-stable
278-
variables:
279-
BSON: 4-stable
280-
- id: min
281-
display_name: min
282-
variables:
283-
BSON: min
284-
285-
- id: storage-engine
286-
display_name: Storage Engine
287-
values:
288-
- id: mmapv1
289-
display_name: MMAPv1
290-
run_on: ubuntu1604-small
291-
variables:
292-
MMAPV1: 'true'
293-
294-
- id: "fle"
295-
display_name: FLE
296-
values:
297-
- id: "helper"
298-
display_name: via LMC helper
299-
variables:
300-
FLE: helper
301-
- id: "path"
302-
display_name: via LMC path
303-
variables:
304-
FLE: path
305-
306-
- id: ocsp-algorithm
307-
display_name: OCSP Algorithm
308-
values:
309-
- id: rsa
310-
display_name: RSA
311-
variables:
312-
OCSP_ALGORITHM: rsa
313-
- id: ecdsa
314-
display_name: ECDSA
315-
variables:
316-
OCSP_ALGORITHM: ecdsa
317-
318-
- id: ocsp-status
319-
display_name: OCSP Status
320-
values:
321-
- id: valid
322-
display_name: Valid
323-
- id: revoked
324-
display_name: Revoked
325-
variables:
326-
OCSP_STATUS: revoked
327-
- id: unknown
328-
display_name: Unknown
329-
variables:
330-
OCSP_STATUS: unknown
331-
332-
- id: ocsp-delegate
333-
display_name: OCSP Delegate
334-
values:
335-
- id: on
336-
display_name: on
337-
variables:
338-
OCSP_DELEGATE: 1
339-
340-
- id: ocsp-must-staple
341-
display_name: OCSP Must Staple
342-
values:
343-
- id: on
344-
display_name: on
345-
variables:
346-
OCSP_MUST_STAPLE: 1
347-
348-
- id: ocsp-verifier
349-
display_name: OCSP Verifier
350-
values:
351-
- id: true
352-
display_name: true
353-
variables:
354-
OCSP_VERIFIER: 1
355-
356-
- id: ocsp-connectivity
357-
display_name: OCSP Connectivity
358-
values:
359-
<% %w(pass fail).each do |value| %>
360-
- id: <%= value %>
361-
display_name: <%= value %>
362-
variables:
363-
OCSP_CONNECTIVITY: <%= value %>
364-
<% end %>
365-
366-
- id: extra-uri-options
367-
display_name: extra URI options
368-
values:
369-
- id: none
370-
display_name: None
371-
<% %w(tlsInsecure=true tlsAllowInvalidCertificates=true).each do |value| %>
372-
- id: "<%= value %>"
373-
variables:
374-
EXTRA_URI_OPTIONS: "<%= value %>"
375-
<% end %>
376-
377-
- id: api-version-required
378-
display_name: API version required
379-
values:
380-
- id: yes
381-
display_name: Yes
382-
variables:
383-
API_VERSION_REQUIRED: 1
384-
- id: no
385-
display_name: No

0 commit comments

Comments
 (0)