Skip to content
Draft

Hetzner #3030

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
c188091
PKG-413 psmdb-60: adjust supplementary functions to work with Hetzner
vorsel Jan 21, 2025
571151d
PKG-429 psmdb.cd: fix s3 upload to Hetzner
vorsel Jan 22, 2025
529c0e8
PKG-434 psmdb-60: fix_dbd_pkgs_issue
vorsel Jan 27, 2025
3072cc3
PKG-444 psmdb.cd: add workers from all EU data centers: nbg1, hel1, fsn1
vorsel Jan 28, 2025
4a04436
PKG-413 psmdb-60: fix test folder creation / add debug ls output
vorsel Jan 28, 2025
a378c65
PKG-412 psmdb-70: adjust PSMDB-70 build job to work with Hetzner
vorsel Jan 31, 2025
0470bf0
PKG-434 psmdb.cd: adjust cli connect/read timeouts
vorsel Feb 3, 2025
8657a92
PKG-412 psmdb-70: pipeline fixups
vorsel Feb 4, 2025
f7e0f9f
PKG-412 psmdb-70: re-add stage for deb bullseye
vorsel Feb 4, 2025
b40a8ac
PKG-412 psmdb-70: stage labels fixup
vorsel Feb 4, 2025
655cec9
PKG-469 rel.cd: add Hetzner cloud configuration
vorsel Feb 6, 2025
d2f37a8
PKG-352 psmdb-80: adjust pipeline code.
vorsel Feb 7, 2025
2539e49
Update jobs to use hetzner (#3141)
EvgeniyPatlan Feb 10, 2025
fa4553e
PKG-476 rel.cd: fix ppg/ydiff.groovy to work with Hetzner
vorsel Feb 10, 2025
4b5f30c
PKG-476 rel.cd: fix uploadRPMfromAWS func
vorsel Feb 10, 2025
602ffcd
Adds PG ARM groovy and yml files to hetzner branch. (#3155)
Feb 11, 2025
fe9fce1
Adds missing params.CLOUD parameter to popArtifactFolder function. (#…
Feb 12, 2025
9a4d83c
Adds missing params.CLOUD parameter to popArtifactFolder function. (#…
Feb 13, 2025
fe5a885
Adds missing params.CLOUD parameter to sync2ProdAutoBuild and signing…
Feb 13, 2025
a998c5c
CLOUD-888 Fix failing EKS pipelines because of a change how latest ve…
ptankov Feb 10, 2025
54bb6ff
PKG-223 packaging for release-8.0.41-32 (#3152)
adivinho Feb 11, 2025
ed972da
CLOUD-889 Fix the detection of newest GKE version in pipelines (#3154)
ptankov Feb 11, 2025
8bfcf0e
PMM-13733: PMM V3 Migration pipeline (#3135) (#3136)
peterSirotnak Feb 11, 2025
73d4423
PKG-475 Update PS/PXC/PXB release pipeline to add support for private…
surbhat1595 Feb 12, 2025
4b1c1fb
PKG-333 pbm: update get-branches job
vorsel Feb 13, 2025
adfacad
PKG-486 psmdb.cd: migrate mongosh pipeline to Hetzner
vorsel Feb 14, 2025
3a31078
PKG-492 psmdb.cd: add "*-min" htz workers
vorsel Feb 17, 2025
0afc31e
PKG-493 add JNKPercona user to psmdb.cd, pxc.cd and ps80.cd
vorsel Feb 17, 2025
be277b1
Add hetzner changes for pg_percona_telemetry jobs
surbhat1595 Feb 17, 2025
eb66f1b
Fix issue with pg_percona_telemetry pipeline
surbhat1595 Feb 17, 2025
8c1adde
Fix issue with pg_percona_telemetry pipeline - buildStage
surbhat1595 Feb 17, 2025
dfa6789
PKG-486 mongosh: fix worker labes for Hetzner/AWS for src stage
vorsel Feb 17, 2025
e3369e3
Updates pgpool groovy to start using docker for builds. (#3171)
Feb 19, 2025
199913c
Updates pg_stat_monitor groovy to start using docker for builds. (#3174)
Feb 20, 2025
2fbf51c
PKG-303 mongosh: add info about used CLOUD to description
vorsel Feb 20, 2025
7a316af
Updates ppg-docker jobs for Hetzner (#3176)
Feb 21, 2025
321b8ba
PKG-303 mongosh: add "retry" loop for Hetzner S3 access
vorsel Feb 21, 2025
d5d0a13
[PKG-483]: Updates nightly jobs for hetzner (#3178)
Feb 24, 2025
36c115e
PKG-483 ppg: add missing param to uploadPGTarballfromAWS func
vorsel Feb 24, 2025
72f3924
Hetzner (#3194)
Mar 3, 2025
c9e6762
ProxySQL job was not properly migrated to Hetzner. (#3195)
Mar 3, 2025
c054712
[PKG-373]: Fixes qemu installation issue. (#3196)
Mar 4, 2025
5570222
update percona-telemetry-agent script
surbhat1595 Mar 6, 2025
5d9f757
Update percona-telemetry-agent groovy script
surbhat1595 Mar 10, 2025
9baa76b
[PG-1424]: Temporarily updates default branch to release-17.4 for nig…
Mar 10, 2025
6032e69
[PG-1424]: Updates default branch of packaging. (#3207)
Mar 10, 2025
85a3568
PKG-484 PS jobs Hetzner migration fixing and validation (#3209)
adivinho Mar 10, 2025
be2db8b
[PKG-373]: Fixes docker build issue with apparmor. (#3212)
Mar 12, 2025
2bad586
[PKG-373]: Builds proxysql docker image only for AMD64. (#3213)
Mar 12, 2025
61ee4d5
[PKG-373]: Fixes proxysql docker image tags (#3214)
Mar 12, 2025
27099c9
Hetzner (#3215)
adivinho Mar 12, 2025
83138fa
[PKG-373]: Adds one more tag to proxysql docker image. (#3216)
Mar 12, 2025
d667efc
Hetzner (#3222)
adivinho Mar 14, 2025
cf47781
Hetzner (#3225)
adivinho Mar 17, 2025
814dd9e
Migrate qpress pipeline to Hetzner and add AL 2023 arm64 build
surbhat1595 Mar 18, 2025
6dbe19a
PKG-534 pxc.cd: configure Hetzner cloud
vorsel Mar 21, 2025
43c0edc
PKG-541 ps80.cd: configure Hetzner cloud
vorsel Mar 21, 2025
e8fee8d
PKG-542 ps57.cd: configure Hetzner cloud
vorsel Mar 21, 2025
a4b1b81
PKG-540 Adjust PSMDB build pipelines to use mongodb build scripts fro…
surbhat1595 Mar 21, 2025
0d5b73e
PKG-543 pxb.cd: configure Hetzner cloud
vorsel Mar 25, 2025
2ddec28
[PG-1384]: Updates PG 17.4 tag (#3237)
Mar 26, 2025
4f9e486
PSMDB-1637. Push images to private dockerhub, add ARM build and migra…
sandraromanchenko Mar 28, 2025
9ab3522
Hetzner (#3249)
adivinho Apr 7, 2025
7acdb0b
[PKG-561]: Updates jobs for hetzner plus adjusts tags. (#3250)
Apr 7, 2025
abc56f3
[PKG-549]: Makes docker build conditional + Fixes tags + Adds missing…
Apr 11, 2025
b35acfd
PBM-1529 add PBM tests on hetzner (#3256)
olexandr-havryliak Apr 11, 2025
b588bed
[PKG-549]: Adds missing docker manifest annotate statements (#3261)
Apr 14, 2025
492d8c8
[PKG-549]: Adds missing closing quotes (#3262)
Apr 14, 2025
23aa5e5
PKG-196 Misleading URL pattern for some downloads (#3263)
adivinho Apr 14, 2025
ead69fb
PSMDB. Add missing RHEL8 arm stage (#3267)
sandraromanchenko Apr 16, 2025
c20070f
[PKG-549]: Fixes case sensitive value to FULL_FEATURED parameter + in…
Apr 18, 2025
545f5cc
PBM. Move e2e tests job to Hetzner (#3279)
sandraromanchenko Apr 23, 2025
ccdaa16
PML. Move functional tests job to Hetzner (#3280)
sandraromanchenko Apr 23, 2025
a9706b2
PKG-643 Add an additional tag for ps, pxc multi docker images (#3281)
adivinho Apr 23, 2025
82ef485
[PKG-485]: Merges AMD and ARM jobs into one job. (#3283)
Apr 24, 2025
aacf940
etcd native package build process is different than other components …
Apr 25, 2025
847c9d6
PSMDB. PBM. Move jobs to hetzner (#3288)
sandraromanchenko Apr 25, 2025
796c3b1
PSMDB. PBM. Switch missing automation to hetzner, add missing changes…
sandraromanchenko Apr 28, 2025
a9ed281
PSMDB. Fix PBM test start (#3293)
sandraromanchenko Apr 29, 2025
da3262f
[PKG-639]: Jenkins job to generate PG SBOM json files. (#3295)
Apr 30, 2025
b91d671
PSMDB. Change integration run parameters (#3296)
sandraromanchenko Apr 30, 2025
5175e31
[PKG-639]: Fixes variable name issue. (#3297)
Apr 30, 2025
f45977c
[PKG-639]: Adds missing parameter to build function. (#3299)
Apr 30, 2025
ffac064
[PKG-639]: Fixes the issue with upload command (#3300)
Apr 30, 2025
a96e4ad
[PKG-639]: Fixes the path issue with upload command (#3301)
Apr 30, 2025
6ea8c91
PBM update default golang image (#3310)
olexandr-havryliak May 8, 2025
a207480
PSMDB regression tests to Hetzner (#3289)
olexandr-havryliak May 8, 2025
1dcff39
PBM update golang (#3317)
olexandr-havryliak May 13, 2025
0b78c73
PKG-683 htz.cloud: add launcher-x64 to nbg1, hel1, fsn1 EU regions
vorsel May 12, 2025
9b9ee42
PKG-551 Packaging tasks for release - PS 8.0.42-33 (#3326)
adivinho May 16, 2025
acffbca
Fix PG build (#3336)
EvgeniyPatlan May 19, 2025
fd9b2d2
Update pg_tarballs.groovy (#3339)
EvgeniyPatlan May 20, 2025
1438acd
PML. Download code from github on docker build stage (#3343)
sandraromanchenko May 22, 2025
b4f2015
Update version
EvgeniyPatlan May 22, 2025
6a187b1
PKG-733 Add autobuild and release jenkins jobs for Percona Mongolink
surbhat1595 May 22, 2025
3cb3b10
PML. Fix build pipeline (#3348)
sandraromanchenko May 22, 2025
52fe711
make build on OL8
EvgeniyPatlan May 23, 2025
99cda4e
fix build
EvgeniyPatlan May 24, 2025
80c449b
Test
sandraromanchenko May 27, 2025
44901f3
Hetzner (#3363)
adivinho Jun 1, 2025
db4df2c
PLM rename (#3372)
sandraromanchenko Jun 5, 2025
3cf8c0f
PKG-776 pmm.cd: add hetzner cloud config
vorsel Jun 4, 2025
e22927d
PKG-777 PLM: rename pml to plm
vorsel Jun 5, 2025
46c2374
PKG-775 psmdb60: build focal olny for PRO
vorsel Jun 9, 2025
88f411d
Hetzner (#3380)
adivinho Jun 10, 2025
d8d3b39
Fix builds (#3382)
EvgeniyPatlan Jun 11, 2025
395ae6a
Fix typo
EvgeniyPatlan Jun 11, 2025
3b29779
Add pg nightly (#3383)
EvgeniyPatlan Jun 11, 2025
570f411
Fix
EvgeniyPatlan Jun 11, 2025
ceee9ba
fix ver
EvgeniyPatlan Jun 11, 2025
53c6c72
Hetzner (#3386)
adivinho Jun 16, 2025
504925d
Update nightly jobs
EvgeniyPatlan Jun 16, 2025
56a92d5
PG17 builds on commit (#3388)
EvgeniyPatlan Jun 17, 2025
c2b94f6
PKG-775 psmdb.cd: remove focal from psmdb/pbm/plm/mongosh
vorsel Jun 24, 2025
87f625b
Hetzner (#3394)
adivinho Jun 25, 2025
f5fa6fc
Update sysbench pipeline with hetzner changes
surbhat1595 Jun 25, 2025
25a50b0
fix branch detection for pgsm build
EvgeniyPatlan Jun 26, 2025
58b59d7
hardcode version
EvgeniyPatlan Jun 26, 2025
77edcbd
Update hetzner percona-release job
surbhat1595 Jul 3, 2025
0c78732
PKG-890 pg.cd: add hetzner cloud
vorsel Jul 4, 2025
607f82c
gdal build
EvgeniyPatlan Jul 6, 2025
13fce1d
fix matrix
EvgeniyPatlan Jul 6, 2025
6aa9852
fix failfast
EvgeniyPatlan Jul 6, 2025
ee248f0
fix
EvgeniyPatlan Jul 6, 2025
d5d0338
fix pipeline
EvgeniyPatlan Jul 7, 2025
ad96314
Hetzner (#3406)
adivinho Jul 7, 2025
5cc8ff8
update gdal
EvgeniyPatlan Jul 7, 2025
4ee3eda
proj95 pipeline
EvgeniyPatlan Jul 7, 2025
bf30dbb
fix
EvgeniyPatlan Jul 7, 2025
926a35e
gdal385
EvgeniyPatlan Jul 7, 2025
eb6105a
fix nodes types
EvgeniyPatlan Jul 7, 2025
75bf73c
Add sbom verification (#3409)
EvgeniyPatlan Jul 11, 2025
25cd84b
fix
EvgeniyPatlan Jul 11, 2025
c98bbea
PKG-731 psmdb.cd: pbm add ol10 support
vorsel Jul 13, 2025
9268bf6
PKG-901 psmdb.cd: mongosh add ol10 support
vorsel Jul 13, 2025
9b92f05
ydiff on rhel10 (#3412)
EvgeniyPatlan Jul 14, 2025
be1c578
pysyncobj rhel 10 (#3413)
EvgeniyPatlan Jul 14, 2025
39e346d
rhel10 support (#3414)
EvgeniyPatlan Jul 14, 2025
42c7e77
PKG-905 cloud.cd: add hetzner cloud config
vorsel Jul 14, 2025
de8c50e
Remove focal build stage (#3416)
EvgeniyPatlan Jul 14, 2025
5791427
Use jammy for PG jobs instead of focal (#3417)
EvgeniyPatlan Jul 14, 2025
e6cadfc
Add Oracle Linux 10 to percona-telemetry-agent pipeline
surbhat1595 Jul 15, 2025
a647e1d
Add support for RHEL 10 to PLM
surbhat1595 Jul 15, 2025
e4a720e
Update PLM build script
surbhat1595 Jul 15, 2025
b6b7e4b
Hetzner (#3424)
adivinho Jul 16, 2025
43501f9
PKG-877 Create new param job to trigger tests for ProxySQL admin scri…
adivinho Jul 18, 2025
f002a4e
Add rhel10 support for PG packages (#3431)
Manika-Percona Jul 21, 2025
03bedea
PGSM on RHEL10 (#3432)
EvgeniyPatlan Jul 21, 2025
6261153
Patroni on rhel10 (#3434)
EvgeniyPatlan Jul 21, 2025
3a00505
Add rhel10 support for pg components (#3436)
EvgeniyPatlan Jul 21, 2025
6351474
Make uploadPGSBOMfromAWS and uploadPGSBOMToDownloadsTesting common to…
surbhat1595 Jul 22, 2025
b04804d
PKG-877 Create new param job to trigger tests for ProxySQL admin scri…
adivinho Jul 22, 2025
52b909c
rhel10 support for PG packages
Manika-Percona Jul 23, 2025
4d7eb8d
CUSTOM-199 pipeline for psmdb70 ol7 binary tarballs
vorsel Jul 29, 2025
69122cd
PPG build automation (#3456)
EvgeniyPatlan Jul 30, 2025
9cdbbee
Hetzner (#3460)
adivinho Jul 31, 2025
4e13acf
fix trigger job
EvgeniyPatlan Aug 2, 2025
1d59cc9
fix
EvgeniyPatlan Aug 2, 2025
361a9bb
remove 3rdparty lib
EvgeniyPatlan Aug 2, 2025
b2f664c
remove stage
EvgeniyPatlan Aug 2, 2025
1137534
fix
EvgeniyPatlan Aug 2, 2025
bc051bb
rework
EvgeniyPatlan Aug 2, 2025
d243f08
fix
EvgeniyPatlan Aug 2, 2025
2928165
rework trigger
EvgeniyPatlan Aug 2, 2025
b7d080d
trigger fix
EvgeniyPatlan Aug 2, 2025
74b1d35
fix trigger
EvgeniyPatlan Aug 2, 2025
be95991
improve trigger
EvgeniyPatlan Aug 2, 2025
aed2ee7
fix
EvgeniyPatlan Aug 2, 2025
79ab778
add yq
EvgeniyPatlan Aug 2, 2025
1363739
fix
EvgeniyPatlan Aug 2, 2025
32775ab
fix
EvgeniyPatlan Aug 2, 2025
3fa1740
fix yq
EvgeniyPatlan Aug 2, 2025
576f2db
fix yq
EvgeniyPatlan Aug 2, 2025
2a2b4cb
fix
EvgeniyPatlan Aug 2, 2025
2727a0b
use jq
EvgeniyPatlan Aug 2, 2025
9b82b96
fix jq call
EvgeniyPatlan Aug 2, 2025
ddcc2cd
improve ppg-ha build
EvgeniyPatlan Aug 3, 2025
a9bfb32
PKG-778 cloud.cd: htz cloud change baseOS deb12 -> f42
vorsel Aug 1, 2025
4756d5e
Add Jenkins pipelins for PSMDB, PBM and PLM SBOM generation
surbhat1595 Aug 1, 2025
57c8d78
PKG-1032 Packaging tasks for release - PXB 8.0.35-34 (#3473)
adivinho Aug 6, 2025
c678773
PKG-1045 hetzner: start worker after cloud-init completion
vorsel Aug 6, 2025
7ef86b0
upddate nightly pipeline
EvgeniyPatlan Aug 11, 2025
da2ef31
Update PSMDB, PLM, PBM SBOM jenkins pipelines
surbhat1595 Aug 8, 2025
8eedd16
Skip generating sbom files for PSMDB 8.0 bullseye
surbhat1595 Aug 12, 2025
79593eb
Update SBOM pipelines
surbhat1595 Aug 14, 2025
537226b
fix trigger job
EvgeniyPatlan Aug 18, 2025
1507d72
fix trigger
EvgeniyPatlan Aug 18, 2025
a554c29
fix
EvgeniyPatlan Aug 18, 2025
618aed8
fix
EvgeniyPatlan Aug 18, 2025
e7bddcb
fix
EvgeniyPatlan Aug 18, 2025
5009cc6
fix trigger
EvgeniyPatlan Aug 18, 2025
aee92da
trigger fix
EvgeniyPatlan Aug 18, 2025
3a57821
PKG-1047 Add Debian 13 to percona-telemetry-agent release pipeline
surbhat1595 Aug 18, 2025
da52b11
Fix TA script
surbhat1595 Aug 18, 2025
dd71403
PKG-778 cloud.cd: hetzner cloud adjustments
vorsel Aug 18, 2025
1372a8d
update tarball branch for pg
EvgeniyPatlan Aug 19, 2025
6dfe86b
tarball build pg
EvgeniyPatlan Aug 19, 2025
f136898
fix pg tar
EvgeniyPatlan Aug 19, 2025
99acdf2
tag is set for pg
EvgeniyPatlan Aug 19, 2025
aba1210
update ver
EvgeniyPatlan Aug 19, 2025
a886b98
fix ver
EvgeniyPatlan Aug 19, 2025
d03c872
PKG-592 fix the build of unittests, fix jstests issues with memlock (…
olexandr-havryliak Aug 21, 2025
8d3cd21
Hetzner (#3506)
adivinho Aug 27, 2025
6bf1810
PSQLADM-567 Port PSQLADM-555 PXC fix to Hetzner branch
VarunNagaraju Apr 15, 2025
3b62955
PKG-878 Packaging tasks for release - PS 9.4.0-1 (#3511)
adivinho Aug 28, 2025
f30307f
Hetzner (#3515)
adivinho Sep 1, 2025
98088e8
PKG-1083 psmdb.cd: comment out el10 build stages
vorsel Sep 1, 2025
b8841d5
PBM. Add test for different storage providers and encryption types (#…
sandraromanchenko Sep 2, 2025
f7192d2
PLM. Add job to site check (#3527)
sandraromanchenko Sep 4, 2025
73f56ec
Bump PG version to 17.6.1 and temporarily disable tarball builds for …
Manika-Percona Sep 4, 2025
58b1966
enable the tarball builds for all PG versions again
Manika-Percona Sep 5, 2025
865c795
Bump PG 17.6.1 version and temporarily disable PG16-13 build
Manika-Percona Sep 5, 2025
5eeb752
enable all PG versions build again
Manika-Percona Sep 5, 2025
56f27ac
Add Oracle Linux 10 to sysbench pipeline
surbhat1595 Sep 9, 2025
a539b97
PLM. Add option to include jenkins marked tests (#3538)
sandraromanchenko Sep 9, 2025
28b46dd
Hetzner (#3542)
adivinho Sep 10, 2025
b8cbc63
PBM. Update docker version (#3548)
sandraromanchenko Sep 17, 2025
4790be4
add trixie support
Manika-Percona Sep 18, 2025
4d41230
disable rpms temporarily to try trixie build
Manika-Percona Sep 18, 2025
8db3b0e
add debian13 support and temporarily disable all other platforms
Manika-Percona Sep 19, 2025
232d04d
add debian13 support for telemetry
Manika-Percona Sep 19, 2025
afbe8f9
try trixie build
Manika-Percona Sep 19, 2025
413c436
PBM bump golang version (#3552)
olexandr-havryliak Sep 19, 2025
5b33af8
PBM hetzner bump golang version (#3553)
olexandr-havryliak Sep 19, 2025
d327617
update the pipeline to enable PG-17.6 nightly builds again
Manika-Percona Sep 22, 2025
fc36f84
PBM. Change filter (#3555)
sandraromanchenko Sep 22, 2025
db0ee2a
typo
Manika-Percona Sep 24, 2025
ba4aa32
trixie support for pgsm and haproxy
Manika-Percona Sep 25, 2025
bbea3a0
fix
Manika-Percona Sep 25, 2025
cc2ccd3
enable builds for all platforms again
Manika-Percona Sep 29, 2025
504b12c
Hetzner (#3575)
adivinho Oct 2, 2025
be084a8
Add ssl3.5 tarballs stage and temporarily disable other ssl versions …
Manika-Percona Oct 3, 2025
ba18396
build tarballs for PG17 and PG14 only
Manika-Percona Oct 3, 2025
171e1c9
enable tarballs for all PG versions again
Manika-Percona Oct 6, 2025
12ddb88
PBM. Remove PSMDB 6.0 due to EOL, remove GCS HMAC and add MinIO stora…
sandraromanchenko Oct 6, 2025
d9ca420
update arm-tarballs for ssl3.5 and temporarily disable all other tarb…
Manika-Percona Oct 7, 2025
edc6021
PKG-1091 Extend PLM build pipeline to build tarball
surbhat1595 Oct 7, 2025
9c72e50
enable all builds again
Manika-Percona Oct 7, 2025
85c2625
Upload tarballs to TESTING downloads area for PBM
surbhat1595 Oct 7, 2025
133cdad
PBM_e2e_tests. Return HMAC for tests (#3610)
sandraromanchenko Oct 9, 2025
dcb5547
Add Debian 13 to sysbench and qpress pipeline
surbhat1595 Oct 10, 2025
f19c2af
Add debian 13 to PS build pipeline
surbhat1595 Oct 13, 2025
ca26344
PKG-1134 Add debian 13 support to jemalloc
surbhat1595 Oct 13, 2025
fd48f90
PG-1951 fix pgbackrest docker pipelines
vorsel Oct 15, 2025
cef9511
Update the jobs to accommodate the packaging improvements made under …
Manika-Percona Oct 16, 2025
33d5f7c
PG-1951 fix pgbouncer docker build pipelines
vorsel Oct 16, 2025
6f341b1
PG-1961 Dockerfiles for all ppg versions contain old versions
surbhat1595 Oct 21, 2025
dbde6e3
Revert PG-1961 changes
surbhat1595 Oct 21, 2025
47b4d62
PKG-1143 PKG-1144 Add Debian 13 to orchestrator and percona-replicati…
surbhat1595 Oct 21, 2025
cddeb54
Update percona-replication-manager pipeline
surbhat1595 Oct 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Percona-Lab/build-engineers

/cloud/gcp-functions/ @egegunes @inelpandzic
/cloud/ @hors @tplavcic @nmarukovich @ptankov @jvpasinatto @eleo007
/cloud/ @hors @tplavcic @nmarukovich @jvpasinatto @eleo007
/pmm/ @talhabinrizwan @ademidoff @puneet0191
/IaC/pmm.cd/ @talhabinrizwan @ademidoff
/pxb/ @mchawla16 @eleo007 @mohitj1988 @kaushikpuneet07 @panchal-yash @Percona-Lab/build-engineers
Expand All @@ -14,3 +14,4 @@
/pdmdb/ @olexandr-havryliak @sandraromanchenko @Percona-Lab/build-engineers
/pdps/ @eleo007 @kaushikpuneet07 @Percona-Lab/build-engineers
/pdpxc/ @eleo007 @kaushikpuneet07 @Percona-Lab/build-engineers
/pml/ @olexandr-havryliak @sandraromanchenko @keithquinnpercona @Percona-Lab/build-engineers
185 changes: 185 additions & 0 deletions IaC/cloud.cd/init.groovy.d/htz.cloud.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
import cloud.dnation.jenkins.plugins.hetzner.*
import cloud.dnation.jenkins.plugins.hetzner.launcher.*
import hudson.model.*
import jenkins.model.Jenkins
import java.util.logging.Logger

def cloudName = "cloud-htz"

imageMap = [:] // ID TYPE NAME DESCRIPTION ARCHITECTURE IMAGE SIZE DISK SIZE CREATED DEPRECATED
imageMap['fedora42-x64'] = '232895138' // 232895138 system fedora-42 Fedora 42 x86 - 5 GB Thu Apr 24 10:00:32 EEST 2025 -
imageMap['fedora42-aarch64'] = '232895264' // 232895264 system fedora-42 Fedora 42 arm - 5 GB Thu Apr 24 10:01:01 EEST 2025 -
imageMap['launcher-x64'] = imageMap['fedora42-x64']

execMap = [:]
execMap['fedora'] = 1
execMap['fedora42-x64-nbg1'] = execMap['fedora']
execMap['fedora42-x64-hel1'] = execMap['fedora']
execMap['fedora42-x64-fsn1'] = execMap['fedora']
execMap['fedora42-aarch64-nbg1'] = execMap['fedora']
execMap['fedora42-aarch64-hel1'] = execMap['fedora']
execMap['fedora42-aarch64-fsn1'] = execMap['fedora']
execMap['fedora42-x64-nbg1-min'] = execMap['fedora']
execMap['fedora42-x64-hel1-min'] = execMap['fedora']
execMap['fedora42-x64-fsn1-min'] = execMap['fedora']
execMap['fedora42-aarch64-nbg1-min'] = execMap['fedora']
execMap['fedora42-aarch64-hel1-min'] = execMap['fedora']
execMap['fedora42-aarch64-fsn1-min'] = execMap['fedora']
execMap['launcher-x64-nbg1'] = 30
execMap['launcher-x64-hel1'] = 30
execMap['launcher-x64-fsn1'] = 30

bootDeadlineMap =[:]
bootDeadlineMap['default'] = 7
bootDeadlineMap['fedora42-x64-nbg1'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-x64-hel1'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-x64-fsn1'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-aarch64-nbg1'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-aarch64-hel1'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-aarch64-fsn1'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-x64-nbg1-min'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-x64-hel1-min'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-x64-fsn1-min'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-aarch64-nbg1-min'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-aarch64-hel1-min'] = bootDeadlineMap['default']
bootDeadlineMap['fedora42-aarch64-fsn1-min'] = bootDeadlineMap['default']
bootDeadlineMap['launcher-x64-nbg1'] = bootDeadlineMap['default']
bootDeadlineMap['launcher-x64-hel1'] = bootDeadlineMap['default']
bootDeadlineMap['launcher-x64-fsn1'] = bootDeadlineMap['default']

jvmOptsMap = [:]
jvmOptsMap['fedora42'] = '-Xmx512m -Xms512m --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED'
jvmOptsMap['fedora42-x64-nbg1'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-x64-hel1'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-x64-fsn1'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-aarch64-nbg1'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-aarch64-hel1'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-aarch64-fsn1'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-x64-nbg1-min'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-x64-hel1-min'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-x64-fsn1-min'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-aarch64-nbg1-min'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-aarch64-hel1-min'] = jvmOptsMap['fedora42']
jvmOptsMap['fedora42-aarch64-fsn1-min'] = jvmOptsMap['fedora42']
jvmOptsMap['launcher-x64-nbg1'] = jvmOptsMap['fedora42']
jvmOptsMap['launcher-x64-hel1'] = jvmOptsMap['fedora42']
jvmOptsMap['launcher-x64-fsn1'] = jvmOptsMap['fedora42']

labelMap = [:]
labelMap['fedora42-x64-min'] = 'docker-x64-min docker-fedora42-x64-min fedora42-x64-min'
labelMap['fedora42-aarch64-min'] = 'docker-aarch64-min docker-fedora42-aarch64-min fedora42-aarch64-min'
labelMap['fedora42-x64'] = 'docker-x64 docker-fedora42-x64 fedora42-x64'
labelMap['fedora42-aarch64'] = 'docker-aarch64 docker-fedora42-aarch64 fedora42-aarch64'
labelMap['launcher-x64'] = 'launcher-x64'

networkMap = [:]
networkMap['cloud.cd.percona.com'] = '11334955' // cloud.cd.percona.com

initMap = [:]
initMap['fedora-docker'] = '''#!/bin/bash -x
set -o xtrace
( sudo systemctl stop sshd; sleep 300; sudo systemctl start sshd ) &
sudo fallocate -l 32G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
until sudo dnf update -y; do
sleep 1
echo "try again"
done
until sudo dnf install -y java-21-openjdk-headless ca-certificates curl gnupg unzip git dnf-plugins-core cronie bc npm make; do
sleep 1
echo "try again"
done
sudo dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo
until sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin; do
sleep 1
echo "try again"
done
if ! $(aws --version | grep -q 'aws-cli/2'); then
find /tmp -maxdepth 1 -name "*aws*" | xargs sudo rm -rf
until curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "/tmp/awscliv2.zip"; do
sleep 1
echo try again
done
unzip -o /tmp/awscliv2.zip -d /tmp
cd /tmp/aws && sudo ./install
fi
sudo install -o $(id -u -n) -g $(id -g -n) -d /mnt/jenkins
sudo sysctl net.ipv4.tcp_fin_timeout=15
sudo sysctl net.ipv4.tcp_tw_reuse=1
sudo sysctl net.ipv6.conf.all.disable_ipv6=1
sudo sysctl net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w fs.inotify.max_user_watches=10000000 || true
sudo sysctl -w fs.aio-max-nr=1048576 || true
sudo sysctl -w fs.file-max=6815744 || true
echo "* soft core unlimited" | sudo tee -a /etc/security/limits.conf
sudo sed -i.bak -e 's/nofile=1024:4096/nofile=900000:900000/; s/DAEMON_MAXFILES=.*/DAEMON_MAXFILES=990000/' /etc/sysconfig/docker
echo 'DOCKER_STORAGE_OPTIONS="--data-root=/mnt/docker"' | sudo tee -a /etc/sysconfig/docker-storage
sudo sed -i.bak -e 's|^ExecStart=.*|ExecStart=/usr/bin/dockerd --data-root=/mnt/docker --default-ulimit nofile=900000:900000|' /usr/lib/systemd/system/docker.service
sudo systemctl daemon-reload
sudo install -o root -g root -d /mnt/docker
sudo usermod -aG docker $(id -u -n)
sudo mkdir -p /etc/docker
echo '{"experimental": true, "ipv6": true, "fixed-cidr-v6": "fd3c:a8b0:18eb:5c06::/64"}' | sudo tee /etc/docker/daemon.json
sudo systemctl status docker || sudo systemctl start docker
echo "* * * * * root /usr/sbin/route add default gw 10.30.236.1 eth0" | sudo tee /etc/cron.d/fix-default-route
sudo systemctl start sshd
'''
initMap['fedora42-x64-nbg1'] = initMap['fedora-docker']
initMap['fedora42-x64-hel1'] = initMap['fedora-docker']
initMap['fedora42-x64-fsn1'] = initMap['fedora-docker']
initMap['fedora42-aarch64-nbg1'] = initMap['fedora-docker']
initMap['fedora42-aarch64-hel1'] = initMap['fedora-docker']
initMap['fedora42-aarch64-fsn1'] = initMap['fedora-docker']
initMap['fedora42-x64-nbg1-min'] = initMap['fedora-docker']
initMap['fedora42-x64-hel1-min'] = initMap['fedora-docker']
initMap['fedora42-x64-fsn1-min'] = initMap['fedora-docker']
initMap['fedora42-aarch64-nbg1-min'] = initMap['fedora-docker']
initMap['fedora42-aarch64-hel1-min'] = initMap['fedora-docker']
initMap['fedora42-aarch64-fsn1-min'] = initMap['fedora-docker']
initMap['launcher-x64-nbg1'] = initMap['fedora-docker']
initMap['launcher-x64-hel1'] = initMap['fedora-docker']
initMap['launcher-x64-fsn1'] = initMap['fedora-docker']

def templates = [
/* new HetznerServerTemplate("ubuntu20-cx21", "java", "name=ubuntu20-docker", "fsn1", "cx21"), */
// tmplName tmplLabels tmplImage region server type
new HetznerServerTemplate("fedora42-x64-nbg1-min", labelMap['fedora42-x64-min'], imageMap['fedora42-x64'], "nbg1", "cpx41"),
new HetznerServerTemplate("fedora42-aarch64-nbg1-min", labelMap['fedora42-aarch64-min'], imageMap['fedora42-aarch64'], "nbg1", "cax31"),
new HetznerServerTemplate("fedora42-x64-hel1-min", labelMap['fedora42-x64-min'], imageMap['fedora42-x64'], "hel1", "cpx41"),
new HetznerServerTemplate("fedora42-aarch64-hel1-min", labelMap['fedora42-aarch64-min'], imageMap['fedora42-aarch64'], "hel1", "cax31"),
new HetznerServerTemplate("fedora42-x64-fsn1-min", labelMap['fedora42-x64-min'], imageMap['fedora42-x64'], "fsn1", "cpx41"),
new HetznerServerTemplate("fedora42-aarch64-fsn1-min", labelMap['fedora42-aarch64-min'], imageMap['fedora42-aarch64'], "fsn1", "cax31"),
new HetznerServerTemplate("fedora42-x64-nbg1", labelMap['fedora42-x64'], imageMap['fedora42-x64'], "nbg1", "cpx51"),
new HetznerServerTemplate("fedora42-aarch64-nbg1", labelMap['fedora42-aarch64'], imageMap['fedora42-aarch64'], "nbg1", "cax41"),
new HetznerServerTemplate("fedora42-x64-hel1", labelMap['fedora42-x64'], imageMap['fedora42-x64'], "hel1", "cpx51"),
new HetznerServerTemplate("fedora42-aarch64-hel1", labelMap['fedora42-aarch64'], imageMap['fedora42-aarch64'], "hel1", "cax41"),
new HetznerServerTemplate("fedora42-x64-fsn1", labelMap['fedora42-x64'], imageMap['fedora42-x64'], "fsn1", "cpx51"),
new HetznerServerTemplate("fedora42-aarch64-fsn1", labelMap['fedora42-aarch64'], imageMap['fedora42-aarch64'], "fsn1", "cax41"),
new HetznerServerTemplate("launcher-x64-nbg1", labelMap['launcher-x64'], imageMap['launcher-x64'], "nbg1", "cpx21"),
new HetznerServerTemplate("launcher-x64-hel1", labelMap['launcher-x64'], imageMap['launcher-x64'], "hel1", "cpx21"),
new HetznerServerTemplate("launcher-x64-fsn1", labelMap['launcher-x64'], imageMap['launcher-x64'], "fsn1", "cpx21")
]

templates.each { it ->
def sshConnector = new SshConnectorAsRoot("htz.cd.key")
sshConnector.setConnectionMethod(new PublicAddressOnly()) // Replace with the desired method
it.setConnector(sshConnector)
def tmplName = it.name
it.setNumExecutors(execMap[tmplName])
it.bootDeadline = bootDeadlineMap[tmplName]
it.remoteFs = "/mnt/jenkins/"
it.jvmOpts = jvmOptsMap[tmplName]
it.network = networkMap['cloud.cd.percona.com']
it.userData = initMap[tmplName]
}

// public HetznerCloud(String name, String credentialsId, String instanceCapStr, List<HetznerServerTemplate> serverTemplates)
def cloud = new HetznerCloud(cloudName, "htz.cd.token", "100", templates)

def jenkins = Jenkins.get()

jenkins.clouds.remove(jenkins.clouds.getByName(cloudName))
jenkins.clouds.add(cloud)
jenkins.save()
Loading