Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from gocd:master #3583

Open
wants to merge 1,969 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1969 commits
Select commit Hold shift + click to select a range
7e0e0c8
Merge pull request #13407 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 14, 2025
745b884
Merge pull request #13406 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 14, 2025
32f96e3
Remove need for ruby to test process forking
chadlwilson Jan 15, 2025
f10f99f
Merge pull request #13410 from chadlwilson/remove-need-for-ruby-durin…
chadlwilson Jan 15, 2025
af0aa0d
Speed up slowish test
chadlwilson Jan 15, 2025
7d28d5c
Merge pull request #13411 from chadlwilson/speed-up-test
chadlwilson Jan 15, 2025
eec63c9
Fix likely issue with waiting for p4d to start
chadlwilson Jan 15, 2025
85a0b2b
Merge pull request #13412 from chadlwilson/fix-p4-tests
chadlwilson Jan 15, 2025
775d011
ui-dev: bump concurrent-ruby in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Jan 16, 2025
290d27b
Bump org.postgresql:postgresql from 42.7.4 to 42.7.5
dependabot[bot] Jan 16, 2025
4ed9d63
Bump org.bouncycastle:bcprov-jdk18on from 1.79 to 1.80
dependabot[bot] Jan 16, 2025
fb0ed8a
ui-dev: bump @types/node
dependabot[bot] Jan 16, 2025
48fa4bc
Merge pull request #13415 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 16, 2025
16c3553
ui-dev: bump fs-extra in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Jan 16, 2025
b357d8c
Merge pull request #13417 from gocd/dependabot/gradle/org.bouncycastl…
chadlwilson Jan 16, 2025
22540a8
Merge pull request #13416 from gocd/dependabot/gradle/org.postgresql-…
chadlwilson Jan 16, 2025
38d49ad
Merge pull request #13418 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Jan 16, 2025
a56dbb8
Merge pull request #13419 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Jan 16, 2025
acba0cf
Revert "ui-dev: bump concurrent-ruby from 1.3.4 to 1.3.5 in /server/s…
chadlwilson Jan 16, 2025
750a5d8
Merge pull request #13420 from gocd/revert-13415-dependabot/bundler/s…
chadlwilson Jan 16, 2025
031bbce
ui-dev: bump concurrent-ruby in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Jan 17, 2025
f695873
ui-dev: bump tzinfo-data in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Jan 17, 2025
411a8b7
Merge pull request #13422 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 17, 2025
8af5743
Revert "ui-dev: bump tzinfo-data from 1.2024.2 to 1.2025.1 in /server…
chadlwilson Jan 17, 2025
b8ee052
Merge pull request #13424 from gocd/revert-13422-dependabot/bundler/s…
chadlwilson Jan 17, 2025
59fbc1c
Workaround missing `logger` require on Rails 6.1
chadlwilson Jan 17, 2025
cc7a298
Merge pull request #13421 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 17, 2025
4a19dcd
Bump org.assertj:assertj-core from 3.27.2 to 3.27.3
dependabot[bot] Jan 18, 2025
6954f13
ui-dev: bump tzinfo-data in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Jan 18, 2025
e3d90f7
Merge pull request #13426 from gocd/dependabot/gradle/org.assertj-ass…
chadlwilson Jan 18, 2025
b6cade7
Merge pull request #13427 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 18, 2025
a628d5b
Bump io.github.kostaskougios:cloning from 1.10.3 to 1.12.0
dependabot[bot] Jan 19, 2025
2aa7292
Remove unnecessary custom cloners
chadlwilson Jan 19, 2025
4347fa9
Bump org.owasp.dependencycheck from 12.0.0 to 12.0.1
dependabot[bot] Jan 19, 2025
fc1d7da
Enable failBuildOnUnusedSuppressionRule for dependency check
chadlwilson Jan 19, 2025
95c67d7
Merge pull request #13429 from gocd/dependabot/gradle/org.owasp.depen…
chadlwilson Jan 19, 2025
3b657e6
Merge pull request #13428 from gocd/dependabot/gradle/io.github.kosta…
chadlwilson Jan 19, 2025
1295418
ui-dev: bump nokogiri in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Jan 20, 2025
affb330
ui-dev: bump i18n in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Jan 20, 2025
79a2841
Merge pull request #13430 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 20, 2025
833436e
Merge pull request #13431 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 20, 2025
9e1394c
ui-dev: bump sassc-embedded
dependabot[bot] Jan 21, 2025
4c05399
Bump packaged JDK to 21.0.6+7
chadlwilson Jan 21, 2025
f8d1fb9
Merge pull request #13432 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Jan 21, 2025
5643759
Bump org.jruby:jruby-complete from 9.4.9.0 to 9.4.10.0
dependabot[bot] Jan 22, 2025
a8e9355
Bump com.mysql:mysql-connector-j from 9.1.0 to 9.2.0
dependabot[bot] Jan 22, 2025
527599f
Merge pull request #13434 from gocd/dependabot/gradle/org.jruby-jruby…
chadlwilson Jan 22, 2025
0b928cd
Merge pull request #13435 from gocd/dependabot/gradle/com.mysql-mysql…
chadlwilson Jan 22, 2025
c95e12b
Bump local JRuby dev version
chadlwilson Jan 22, 2025
158fd26
Bump NodeJS to 20.13.1
chadlwilson Jan 22, 2025
56cbd6a
Bump org.jetbrains:annotations from 26.0.1 to 26.0.2
dependabot[bot] Jan 22, 2025
04b771d
Merge pull request #13436 from gocd/dependabot/gradle/org.jetbrains-a…
chadlwilson Jan 22, 2025
c32cdb1
Remove unused StagesController action
chadlwilson Jan 23, 2025
fd3475e
Remove dead comment
chadlwilson Jan 23, 2025
24ea9e9
ui-dev: bump @types/node
dependabot[bot] Jan 23, 2025
256f587
Merge pull request #13437 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Jan 23, 2025
1da2fe2
ui-dev: bump @types/node
dependabot[bot] Jan 24, 2025
c2e47ca
Merge pull request #13438 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Jan 24, 2025
92ab9c9
Increase UI responsiveness by decreasing default refresh interval to …
chadlwilson Jan 24, 2025
b5adc76
Merge pull request #13439 from chadlwilson/decrease-refresh-interval
chadlwilson Jan 24, 2025
87a2b49
Merge pull request #13433 from chadlwilson/jdk-21-0-6
chadlwilson Jan 24, 2025
dda70ca
Bump build JDK version
chadlwilson Jan 24, 2025
c94ddf5
ui-dev: bump the babel group
dependabot[bot] Jan 24, 2025
47876ab
Merge pull request #13440 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Jan 24, 2025
d2a1f48
Update Gradle Wrapper from 8.12 to 8.12.1
gradle-update-robot Jan 25, 2025
2fa735d
Merge pull request #13441 from gocd/gradlew-update-8.12.1
chadlwilson Jan 25, 2025
f885e91
Clean-up/tidying of generics, raw types and unchecked cast warnings
chadlwilson Dec 30, 2024
61d3e22
Bump org.dbunit:dbunit from 2.8.0 to 3.0.0
dependabot[bot] Jan 26, 2025
52c5a97
Bump com.github.oshi:oshi-core-java11 from 6.6.5 to 6.6.6
dependabot[bot] Jan 26, 2025
850ee6e
ui: bump mithril in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Jan 26, 2025
e6de473
Merge pull request #13372 from chadlwilson/unchecked-cleanup
chadlwilson Jan 26, 2025
3073044
Merge pull request #13444 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Jan 26, 2025
968747a
Merge pull request #13443 from gocd/dependabot/gradle/com.github.oshi…
chadlwilson Jan 26, 2025
2c09c8f
Merge pull request #13442 from gocd/dependabot/gradle/org.dbunit-dbun…
chadlwilson Jan 26, 2025
96ad0e6
Bump expected JNA version
chadlwilson Jan 26, 2025
2e05b63
Fix all warnings, sufficiently to compile with warnings-as-errors
chadlwilson Jan 26, 2025
3579fc4
Merge pull request #13446 from chadlwilson/compile-with-no-warnings
chadlwilson Jan 26, 2025
2d8c2a6
Remove unnecessary throws
chadlwilson Jan 26, 2025
69bdc3d
Merge pull request #13447 from chadlwilson/compile-with-no-warnings
chadlwilson Jan 26, 2025
5045f74
Ignore java 8 options warning for jar class loader
chadlwilson Jan 26, 2025
676a8b4
Fix typo
chadlwilson Jan 26, 2025
02fd7e1
Fix mock type
chadlwilson Jan 26, 2025
72502c7
Change back to ArrayList
chadlwilson Jan 26, 2025
1a3ea4c
Merge pull request #13448 from gocd/chadlwilson-patch-1
chadlwilson Jan 26, 2025
be9396c
Fix test properly
chadlwilson Jan 26, 2025
36bf815
Merge pull request #13449 from chadlwilson/fix-properly
chadlwilson Jan 26, 2025
d45698a
Add back plugin api exception
chadlwilson Jan 26, 2025
e18ee59
Correct plugin usages for accidentally removed exception
chadlwilson Jan 26, 2025
9119c30
Remove unnecessary imports
chadlwilson Jan 26, 2025
5ca0c3d
Merge pull request #13450 from chadlwilson/add-back-api-exceptions
chadlwilson Jan 26, 2025
d09e237
Remove misleading comments
chadlwilson Jan 26, 2025
7979b61
Bump up GoCD Version to 25.2.0
Jan 26, 2025
e841de6
Merge pull request #13451 from gocd/bump-gocd-version-to-25.2.0
chadlwilson Jan 26, 2025
5350c72
Merge pull request #13452 from chadlwilson/minor-cleanups
chadlwilson Jan 28, 2025
8a8897f
Bump org.apache.commons:commons-pool2 from 2.12.0 to 2.12.1
dependabot[bot] Jan 29, 2025
e551b39
Bump commons-codec:commons-codec from 1.17.2 to 1.18.0
dependabot[bot] Jan 29, 2025
e8421ce
ui-dev: bump the types group
dependabot[bot] Jan 29, 2025
9703592
Merge pull request #13453 from gocd/dependabot/gradle/org.apache.comm…
chadlwilson Jan 29, 2025
ffaf689
Merge pull request #13454 from gocd/dependabot/gradle/commons-codec-c…
chadlwilson Jan 29, 2025
143f0ab
Merge pull request #13455 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Jan 29, 2025
8638b39
Bump com.google.code.gson:gson from 2.11.0 to 2.12.0
dependabot[bot] Jan 29, 2025
92e5948
Bump org.jruby:jruby-complete from 9.4.10.0 to 9.4.11.0
dependabot[bot] Jan 29, 2025
36d7d19
Merge pull request #13457 from gocd/dependabot/gradle/org.jruby-jruby…
chadlwilson Jan 29, 2025
4ae83f5
Merge pull request #13456 from gocd/dependabot/gradle/com.google.code…
chadlwilson Jan 29, 2025
d1aca94
Bump bundled plugins to latest releases
chadlwilson Jan 30, 2025
3a40ad7
Bump bundled plugins to latest releases
chadlwilson Jan 31, 2025
4caddf8
Bump org.owasp.dependencycheck from 12.0.1 to 12.0.2
dependabot[bot] Jan 31, 2025
7dde046
Bump com.google.code.gson:gson from 2.12.0 to 2.12.1
dependabot[bot] Jan 31, 2025
081d79a
Merge pull request #13460 from gocd/dependabot/gradle/com.google.code…
chadlwilson Jan 31, 2025
62fbf86
Merge pull request #13459 from gocd/dependabot/gradle/org.owasp.depen…
chadlwilson Jan 31, 2025
69992c2
Bump local jruby version
chadlwilson Jan 31, 2025
bc7c327
ui-dev: bump @types/node
dependabot[bot] Feb 1, 2025
8ef109a
Merge pull request #13461 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 1, 2025
d907dfb
De-duplicate transitive dependencies
chadlwilson Feb 1, 2025
b419b55
Merge pull request #13462 from chadlwilson/bump-deps
chadlwilson Feb 1, 2025
00c83a9
Correct EOL dates for Ubuntu/Debian LTS
chadlwilson Feb 1, 2025
5aa445c
Add Gradle prop to allow easier bootstrap of dependency check cache
chadlwilson Feb 1, 2025
8afed46
Merge pull request #13463 from chadlwilson/allow-bootstrapping-cache
chadlwilson Feb 1, 2025
429e722
Bump bundler to match jruby-included version
chadlwilson Feb 1, 2025
5285f47
Merge pull request #13464 from chadlwilson/bump-bundler
chadlwilson Feb 1, 2025
b453fff
Bump joda-time:joda-time from 2.13.0 to 2.13.1
dependabot[bot] Feb 4, 2025
bd894c7
Merge pull request #13465 from gocd/dependabot/gradle/joda-time-joda-…
chadlwilson Feb 4, 2025
49e7c6f
ui-dev: bump @types/node
dependabot[bot] Feb 4, 2025
ea9f56e
Merge pull request #13466 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 4, 2025
c614055
ui-dev: bump net-smtp
dependabot[bot] Feb 5, 2025
e91749d
Merge pull request #13468 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 5, 2025
930d131
ui-dev: bump rspec-core
dependabot[bot] Feb 6, 2025
234f223
Merge pull request #13469 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 6, 2025
ff2c7bb
Ignore ODC noise from test deps
chadlwilson Feb 8, 2025
fb451d9
ui-dev: bump net-imap
dependabot[bot] Feb 8, 2025
c7b396c
Merge pull request #13470 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 8, 2025
c3bffe5
ui-dev: bump the babel group
dependabot[bot] Feb 8, 2025
0002a4b
Merge pull request #13472 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 8, 2025
fd104a4
Bump/de-duplicate dependencies
chadlwilson Feb 8, 2025
3bdce6c
Fix remaining mixed-decl SCSS deprecation warnings
chadlwilson Feb 8, 2025
b04a3e0
Fix Foundation Sites setting SCSS deprecations in overrides
chadlwilson Feb 8, 2025
5d1172e
Fix SCSS global map deprecations
chadlwilson Feb 8, 2025
d5b264d
Suppress Dart SASS errors we cannot do anything about
chadlwilson Feb 8, 2025
3a9f72c
Remove dead code
chadlwilson Feb 8, 2025
4e21a15
Fix minor warnings
chadlwilson Feb 8, 2025
7a6b344
Fix typo
chadlwilson Feb 8, 2025
8dd0996
Merge pull request #13474 from chadlwilson/bump-trans
chadlwilson Feb 8, 2025
a9d9a72
Remove another global built-in usage
chadlwilson Feb 8, 2025
1b16f03
Fix @use ordering
chadlwilson Feb 8, 2025
0279045
Only configure sass during compile time
chadlwilson Feb 9, 2025
2209908
Only configure sass during compile time
chadlwilson Feb 9, 2025
62cee49
Only configure sass during compile time
chadlwilson Feb 9, 2025
90e4ad4
ui-dev: bump the jasmine group
dependabot[bot] Feb 9, 2025
66bfc08
ui: bump mithril in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Feb 9, 2025
90545ba
Merge pull request #13475 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 9, 2025
8f1111b
Merge pull request #13476 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 9, 2025
2986f0d
Bump NodeJS to 22.14.0
chadlwilson Feb 11, 2025
5887257
Bump org.jruby:jruby-complete from 9.4.11.0 to 9.4.12.0
dependabot[bot] Feb 12, 2025
258d7ab
Merge pull request #13477 from gocd/dependabot/gradle/org.jruby-jruby…
chadlwilson Feb 12, 2025
91280c7
ui-dev: bump rack in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Feb 12, 2025
2aec85f
Merge pull request #13478 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 12, 2025
f56bd9b
Try getting Tanuki wrapper without proxy
chadlwilson Feb 13, 2025
c936aff
Allow pre-caching of JREs independently of building packages
chadlwilson Feb 13, 2025
959f690
Bump local JRuby version
chadlwilson Feb 13, 2025
4e406db
ui-dev: bump @types/jasmine
dependabot[bot] Feb 14, 2025
4e4fa62
ui-dev: bump diff-lcs in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Feb 14, 2025
8dd7486
ui-dev: bump @types/node
dependabot[bot] Feb 14, 2025
69cb081
ui-dev: bump sass-embedded in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Feb 14, 2025
9528cb8
Merge pull request #13480 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 14, 2025
d0b13c0
Merge pull request #13481 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 14, 2025
d15dadf
Merge pull request #13482 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 14, 2025
b1bb4e0
Merge pull request #13483 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 14, 2025
ae75882
ui-dev: bump sass-embedded
dependabot[bot] Feb 14, 2025
ff9c1b1
Merge pull request #13484 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 14, 2025
19bccc7
Configure authenticated docker registry mirror correctly
chadlwilson Feb 14, 2025
63b29c5
Merge pull request #13485 from chadlwilson/confiure-registry-mirror
chadlwilson Feb 14, 2025
c38ffd1
Ensure correct docker config dir is created
chadlwilson Feb 14, 2025
e1e0f25
Use pre-canned buildkit config
chadlwilson Feb 15, 2025
6b9bc37
Merge pull request #13486 from chadlwilson/correct-buildkit-config
chadlwilson Feb 15, 2025
4318144
Avoid using codenames for docker image tags
chadlwilson Feb 15, 2025
0965dc8
ui-dev: bump the babel group
dependabot[bot] Feb 15, 2025
165b1c7
Merge pull request #13487 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 15, 2025
979ce48
Bump transitive dependencies
chadlwilson Feb 15, 2025
566d8d3
Force-upgrade vulnerable transitive dependency
chadlwilson Feb 15, 2025
d214600
Merge pull request #13488 from chadlwilson/bump-deps
chadlwilson Feb 15, 2025
20aef57
Bump org.owasp.dependencycheck from 12.0.2 to 12.1.0
dependabot[bot] Feb 17, 2025
b1cfbd3
Merge pull request #13489 from gocd/dependabot/gradle/org.owasp.depen…
chadlwilson Feb 17, 2025
a5e37b0
ui-dev: bump jasmine-browser-runner
dependabot[bot] Feb 18, 2025
43c69c0
Merge pull request #13492 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 18, 2025
ec5fa5d
ui-dev: bump nokogiri in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Feb 19, 2025
5084836
Merge pull request #13493 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 19, 2025
aa41610
Bump org.testcontainers:testcontainers-bom from 1.20.4 to 1.20.5
dependabot[bot] Feb 20, 2025
c367e91
Merge pull request #13495 from gocd/dependabot/gradle/org.testcontain…
chadlwilson Feb 20, 2025
657c51d
Upgrade Rails from v6.1 to v7.0
chadlwilson Oct 2, 2023
6664e0c
Merge pull request #12077 from chadlwilson/rails-7
chadlwilson Feb 20, 2025
9ae6a5f
ui-dev: bump sassc-embedded
dependabot[bot] Feb 21, 2025
44f9dd5
Merge pull request #13497 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 21, 2025
19a82a5
ui-dev: bump sassc-embedded
dependabot[bot] Feb 21, 2025
55921a4
Bump org.awaitility:awaitility from 4.2.2 to 4.3.0
dependabot[bot] Feb 21, 2025
a99fc90
Bump org.junit:junit-bom from 5.11.4 to 5.12.0
dependabot[bot] Feb 21, 2025
d55037f
Merge pull request #13498 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Feb 21, 2025
5c9619c
Merge pull request #13500 from gocd/dependabot/gradle/org.junit-junit…
chadlwilson Feb 21, 2025
7cdfc4b
Merge pull request #13499 from gocd/dependabot/gradle/org.awaitility-…
chadlwilson Feb 21, 2025
3df0e94
Ensure correct junit-platform-launcher version is running
chadlwilson Feb 21, 2025
0eaa67d
Correct plugin-config-repo test dependencies
chadlwilson Feb 21, 2025
d54e20c
Rollback buildkit to fix Debian 11 libc seg fault
chadlwilson Feb 22, 2025
7a51119
Remove remaining .go.cd links
chadlwilson Feb 23, 2025
aecd648
Merge pull request #13501 from chadlwilson/update-doc-domains
chadlwilson Feb 23, 2025
9f63781
ui-dev: bump @types/jasmine
dependabot[bot] Feb 23, 2025
8b6a0b3
ui-dev: bump @types/node
dependabot[bot] Feb 23, 2025
82a3c34
Merge pull request #13503 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 23, 2025
6d1e605
Merge pull request #13502 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Feb 23, 2025
50fe432
Bump/de-duplicate transitive javascript dependencies
chadlwilson Feb 25, 2025
c9fe940
Bump minor ruby dependency versions
chadlwilson Feb 25, 2025
072d783
Merge pull request #13504 from chadlwilson/bump-deps
chadlwilson Feb 25, 2025
6d4a5f9
Bump geckodriver to latest release
chadlwilson Feb 25, 2025
288b888
Bump chromedriver to latest release
chadlwilson Feb 25, 2025
2a31537
Update Gradle Wrapper from 8.12.1 to 8.13
gradle-update-robot Feb 26, 2025
0e6457c
Merge pull request #13505 from gocd/gradlew-update-8.13
chadlwilson Feb 26, 2025
6cdcd65
Bump com.github.oshi:oshi-core-java11 from 6.6.6 to 6.7.0
dependabot[bot] Feb 27, 2025
58f2f75
Bump org.slf4j:slf4j-bom from 2.0.16 to 2.0.17
dependabot[bot] Feb 27, 2025
2614865
Bump ch.qos.logback:logback-classic from 1.5.16 to 1.5.17
dependabot[bot] Feb 27, 2025
a7e9eea
Merge pull request #13507 from gocd/dependabot/gradle/com.github.oshi…
chadlwilson Feb 27, 2025
90389ab
Merge pull request #13508 from gocd/dependabot/gradle/org.slf4j-slf4j…
chadlwilson Feb 27, 2025
f9299f9
Merge pull request #13509 from gocd/dependabot/gradle/ch.qos.logback-…
chadlwilson Feb 27, 2025
c39469c
Upgrade testing perforce to 24.2
chadlwilson Mar 1, 2025
8394c4f
Merge pull request #13512 from chadlwilson/upgrade-perforce
chadlwilson Mar 1, 2025
d90e972
Bump typescript to 4.8.2
chadlwilson Mar 1, 2025
3195877
Bump/de-duplicate transitive dependencies
chadlwilson Mar 1, 2025
3052408
Merge pull request #13513 from chadlwilson/bump-deps
chadlwilson Mar 1, 2025
2df2f49
Correct typescript validation error
chadlwilson Mar 1, 2025
88e4b42
Bump yarn to 4.7.0
chadlwilson Mar 1, 2025
3e2d11b
Merge pull request #13514 from chadlwilson/bump-yarn
chadlwilson Mar 1, 2025
df62504
Bump com.fasterxml.jackson:jackson-bom from 2.18.2 to 2.18.3
dependabot[bot] Mar 2, 2025
07a3301
ui: bump core-js in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Mar 2, 2025
b1c8ff9
Target CoreJS 3.41
chadlwilson Mar 2, 2025
38d5518
Merge pull request #13516 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Mar 2, 2025
ed07287
Merge pull request #13515 from gocd/dependabot/gradle/com.fasterxml.j…
chadlwilson Mar 2, 2025
7cdc7a4
Bump org.mockito:mockito-bom from 5.15.2 to 5.16.0
dependabot[bot] Mar 3, 2025
661e5f6
Merge pull request #13517 from gocd/dependabot/gradle/org.mockito-moc…
chadlwilson Mar 3, 2025
cd1a492
Bump org.jsoup:jsoup from 1.18.3 to 1.19.1
dependabot[bot] Mar 4, 2025
7cd0bd0
ui-dev: bump rack in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Mar 4, 2025
c3a00d0
ui-dev: bump @types/node
dependabot[bot] Mar 4, 2025
08e988f
Merge pull request #13520 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Mar 4, 2025
9983097
Merge pull request #13519 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Mar 4, 2025
39100a8
Merge pull request #13518 from gocd/dependabot/gradle/org.jsoup-jsoup…
chadlwilson Mar 4, 2025
616766e
Bump org.testcontainers:testcontainers-bom from 1.20.5 to 1.20.6
dependabot[bot] Mar 5, 2025
55316df
ui-dev: bump google-protobuf in /server/src/main/webapp/WEB-INF/rails
dependabot[bot] Mar 5, 2025
5655718
Merge pull request #13522 from gocd/dependabot/bundler/server/src/mai…
chadlwilson Mar 5, 2025
36cda38
Merge pull request #13521 from gocd/dependabot/gradle/org.testcontain…
chadlwilson Mar 5, 2025
055b1f3
Bump jruby-rack to latest forked gocd-contrib version
chadlwilson Mar 5, 2025
63e8e6e
Bump transitive dependencies
chadlwilson Mar 7, 2025
e897d99
Merge pull request #13523 from chadlwilson/bump-deps
chadlwilson Mar 7, 2025
b6c9003
ui-dev: bump @types/node
dependabot[bot] Mar 8, 2025
df2be13
Merge pull request #13524 from gocd/dependabot/npm_and_yarn/server/sr…
chadlwilson Mar 8, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: friday
- package-ecosystem: gradle
directory: "/"
schedule:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/update-gradle-wrapper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Update Gradle Wrapper

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin

- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v2
with:
labels: dependencies, build-script
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##########################################################################
# Copyright 2024 Thoughtworks, Inc.
# Copyright Thoughtworks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions .idea/copyright/Apache_2_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Configuration for https://github.com/asdf-vm/asdf as an alternative to jabba, rvm, nvm etc
java temurin-17.0.10+7
nodejs 20.11.0
# Configuration for https://mise.jdx.dev/ or https://github.com/asdf-vm/asdf as an alternative to jabba, sdkman, rvm, nvm etc
java temurin-21.0.6+7.0.LTS
nodejs 22.14.0
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2024 Thoughtworks, Inc.
Copyright Thoughtworks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
# GoCD

[![Join the chat at https://gitter.im/gocd/gocd](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gocd/gocd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Google Groups](https://img.shields.io/badge/Google_Groups-user_help-purple)](https://groups.google.com/g/go-cd)
[![GitHub Discussions](https://img.shields.io/badge/GitHub_discussions-user_&_dev_chat-green)](https://github.com/gocd/gocd/discussions)
[![GitHub License](https://img.shields.io/github/license/gocd/gocd?color=yellow)](LICENSE)
[![Server Docker Pulls](https://img.shields.io/docker/pulls/gocd/gocd-server?label=Server%20Docker%20pulls)](https://hub.docker.com/r/gocd/gocd-server/)


This is the main repository for [GoCD](https://gocd.org) - a continuous delivery server. GoCD helps you automate and streamline the build-test-release cycle for worry-free, continuous delivery of your product.

To quickly build your first pipeline while learning key GoCD concepts, visit our [Test Drive GoCD](https://www.gocd.org/test-drive-gocd.html).
- To quickly build your first pipeline while learning key GoCD concepts, visit our [Test Drive GoCD](https://www.gocd.org/test-drive-gocd.html).
- To download GoCD, visit the [downloads page](https://www.gocd.org/download/).

## Security

Please see [the security policy](SECURITY.md) for details on GoCD's security status, and how to responsibly disclose issues.

## Development

## Development Setup
GoCD is predominantly a Java & TypeScript project utilising [Spring Framework](https://spring.io/projects/spring-framework/), [SparkJava](https://sparkjava.com/) & [MithrilJS](https://mithril.js.org/) as key frameworks, built using [Gradle](https://gradle.org/) & [Webpack](https://webpack.js.org/) and running within [Eclipse Jetty](https://eclipse.dev/jetty/).

GoCD is predominantly a Java & TypeScript project utilising [Spring Framework](https://spring.io/projects/spring-framework/), [SparkJava](https://sparkjava.com/) & [MithrilJS](https://mithril.js.org/) as key frameworks, built using [Gradle](https://gradle.org/) & [Webpack](https://webpack.js.org/). There are still a small number of pages rendered server-side within [JRuby](https://www.jruby.org/) on [Rails](https://rubyonrails.org/) which utilise some legacy plain JavaScript. GoCD itself is used to [build GoCD](https://build.gocd.org).
There are a small number of older parts of GoCD rendered server-side within [JRuby](https://www.jruby.org/) on [Rails](https://rubyonrails.org/) which utilise some legacy plain JavaScript with [JQuery](https://jquery.com/). GoCD itself is used to [build GoCD](https://build.gocd.org).

Here is the guide to setup your [development environment](https://developer.gocd.org/current/).
Here is the guide to [setup your development environment](https://developer.gocd.org/current/).

## Contributing

Expand Down
39 changes: 25 additions & 14 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,35 @@ Since breaking changes are rare, and generally sign-posted well in advance, we e

Having said this, wherever possible we will try and provide suggested mitigations or workarounds for older versions.

## Reporting a Vulnerability

Please report any issues to https://hackerone.com/gocd according to the listed policy.

## Baseline

This represents the oldest version which has **no known exploitable vulnerabilities**. Users are strongly recommended to be on at least this version; and preferably the latest version.
This represents the oldest versions which have **no known exploitable vulnerabilities** of a given severity, as assessed by GoCD maintainers and/or NIST NVD via CVSS 4.0 or 3.1. Users are strongly recommended to be on at least these versions; and preferably the latest version.

| Baseline Version |
| ---------------- |
| `23.1.0` |
| Without known vulns | Version |
| ------------------------------- | -------------------------------------------------- |
| No >= **high** severity vulns | [`24.5.0`](https://www.gocd.org/releases/#24-5-0)+ |
| No >= **medium** severity vulns | [`24.5.0`](https://www.gocd.org/releases/#24-5-0)+ |
| No known vulns of any severity | [`24.5.0`](https://www.gocd.org/releases/#24-5-0)+ |

Please note that this does *not* mean that there are zero potential vulnerabilities known from GoCD's dependencies
in this or subsequent versions. However where such vulnerabilities exist, none have been confirmed to be exploitable via GoCD
itself (without a prior non-GoCD breach).

## Reporting a Vulnerability

Please report any issues to https://hackerone.com/gocd according to the listed policy.

## Disclosure policy

GoCD does not have a formal disclosure policy for vulnerability details, however generally our practice has been

| Severity | During fix/patch development | Upon fix/patched release | Detailed disclosure / published CVE |
| ---------------------------- | -------------------------------- | ------------------------------------ | ------------------------------------------- |
| >= **high** severity vulns | Limited _(*)_ or zero disclosure | Limited disclosure with mitigations. | 2-4 weeks after patched version's release. |
| <= **medium** severity vulns | Limited _(*)_ disclosure | More detailed disclosure | Immediately upon patched version's release. |

_(*)_ - As an open-source project for ease of collaboration fixes _may_ be developed in the open (with somewhat obfuscated PR or commit comments) rather than entirely developed in private.

## How do I know if I am using a release with known vulnerabilities?

In more recent years, an effort has been made to publish and request CVEs for responsibly disclosed & fixed issues to increase transparency and help users assess risk of running older versions.
Expand All @@ -38,11 +51,9 @@ The GoCD team make a concerted effort to keep dependencies up-to-date wherever p
still have some EOL dependencies with known vulnerabilities that GoCD is not vulnerable to, but which may create noise in scanner reports.

While this is a moving target the GoCD team maintain documented suppressions with commentary via:
- [OWASP Dependency Check](https://owasp.org/www-project-dependency-check/) - Java & JavaScript dependencies
- [current suppressions](https://github.com/gocd/gocd/blob/master/buildSrc/dependency-check-suppress.xml)
- [build.gocd.org report off master](https://build.gocd.org/go/files/Security-Checks/latest/test/latest/dependency-check/dependency-check-report.html) (use _Guest_ login)
- [Bundler Audit](https://github.com/rubysec/bundler-audit) - Ruby/JRuby dependencies
- [build.gocd.org report off master](https://build.gocd.org/go/files/Security-Checks/latest/test/latest/bundler-audit/cruise-output/console.log)
- [OWASP Dependency Check](https://owasp.org/www-project-dependency-check/) - Java, JavaScript & Ruby/JRuby dependencies
- [current suppressions](https://github.com/gocd/gocd/blob/master/build-platform/dependency-check-suppress.xml)
- [build.gocd.org report off master](https://build.gocd.org/go/files/Security-Checks/latest/Security-Checks/latest/dependency-check/dependency-check-report.html) (use _Guest_ login)
- [Trivy](https://trivy.dev/) - built container images (OS and packaged dependencies), especially server
- [current suppressions](https://github.com/gocd/gocd/blob/master/buildSrc/.trivyignore)
- [current suppressions](https://github.com/gocd/gocd/blob/master/build-platform/.trivyignore.yaml)
- [build.gocd.org Security-Checks-Containers pipeline](https://build.gocd.org/) (use _Guest_ login)
3 changes: 2 additions & 1 deletion agent-bootstrapper/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Thoughtworks, Inc.
* Copyright Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -28,6 +28,7 @@ dependencies {
extractedAtTopLevel project(path: ':jar-class-loader')
testImplementation project.deps.junit5Api
testRuntimeOnly project.deps.junit5Engine
testRuntimeOnly project.deps.junit5PlatformLauncher
}

jar {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Thoughtworks, Inc.
* Copyright Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Thoughtworks, Inc.
* Copyright Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Thoughtworks, Inc.
* Copyright Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Thoughtworks, Inc.
* Copyright Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Thoughtworks, Inc.
* Copyright Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2024 Thoughtworks, Inc.
~ Copyright Thoughtworks, Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Thoughtworks, Inc.
* Copyright Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,9 +37,7 @@
import static com.thoughtworks.go.agent.common.util.Downloader.*;
import static com.thoughtworks.go.agent.testhelper.FakeGoServer.TestResource.TEST_AGENT_LAUNCHER;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.not;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

Expand Down Expand Up @@ -91,7 +89,7 @@ void jvmExit(int returnValue) {
}
}.go(false, new AgentBootstrapperArgs().setServerUrl(new URL("http://" + "localhost" + ":" + server.getPort() + "/go")).setRootCertFile(null).setSslVerificationMode(AgentBootstrapperArgs.SslMode.NONE));
agentJar.delete();
assertThat(os.toString(), containsString("Hello World Fellas!"));
assertThat(os.toString()).contains("Hello World Fellas!");
} finally {
System.setErr(err);
}
Expand Down Expand Up @@ -123,11 +121,11 @@ public void shouldDownloadJarIfTheCurrentOneIsWrong() throws Exception {
void jvmExit(int returnValue) {
}
}.go(false, new AgentBootstrapperArgs().setServerUrl(new URL("http://" + "localhost" + ":" + server.getPort() + "/go")).setRootCertFile(null).setSslVerificationMode(AgentBootstrapperArgs.SslMode.NONE));
assertThat(agentJar.length(), not(original));
assertThat(agentJar.length()).isNotEqualTo(original);
agentJar.delete();
}

private void createRandomFile(File agentJar) throws IOException {
FileUtils.writeStringToFile(agentJar, RandomStringUtils.random((int) (Math.random() * 100)), UTF_8);
FileUtils.writeStringToFile(agentJar, RandomStringUtils.insecure().next((int) (Math.random() * 100)), UTF_8);
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Thoughtworks, Inc.
* Copyright Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -31,9 +31,9 @@
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Semaphore;
import java.util.concurrent.TimeUnit;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.fail;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.doNothing;
Expand All @@ -53,14 +53,15 @@ public void tearDown() {
}

@Test
@Timeout(value = 10, unit = TimeUnit.SECONDS)
public void shouldNotDieWhenCreationOfLauncherRaisesException() throws InterruptedException {
final Semaphore waitForLauncherCreation = new Semaphore(1);
waitForLauncherCreation.acquire();
final boolean[] reLaunchWaitIsCalled = new boolean[1];
final AgentBootstrapper bootstrapper = new AgentBootstrapper() {
@Override
void waitForRelaunchTime() {
assertThat(waitTimeBeforeRelaunch, is(0));
assertThat(waitTimeBeforeRelaunch).isEqualTo(0);
reLaunchWaitIsCalled[0] = true;
super.waitForRelaunchTime();
}
Expand Down Expand Up @@ -103,12 +104,12 @@ public void close() {
} catch (Exception e) {
fail("should not have propagated exception thrown while creating launcher");
}
assertThat(reLaunchWaitIsCalled[0], is(true));
assertThat(reLaunchWaitIsCalled[0]).isTrue();
}


@Test
@Timeout(10)
@Timeout(value = 10, unit = TimeUnit.SECONDS)
public void shouldNotRelaunchAgentLauncherWhenItReturnsAnIrrecoverableCode() {
final boolean[] destroyCalled = new boolean[1];
final AgentBootstrapper bootstrapper = new AgentBootstrapper(){
Expand Down Expand Up @@ -136,10 +137,11 @@ public void close() {
} catch (Exception e) {
fail("should not have propagated exception thrown while invoking the launcher");
}
assertThat(destroyCalled[0], is(true));
assertThat(destroyCalled[0]).isTrue();
}

@Test
@Timeout(value = 10, unit = TimeUnit.SECONDS)
public void shouldNotDieWhenInvocationOfLauncherRaisesException_butCreationOfLauncherWentThrough() throws InterruptedException {
final Semaphore waitForLauncherInvocation = new Semaphore(1);
waitForLauncherInvocation.acquire();
Expand Down Expand Up @@ -187,9 +189,10 @@ public void close() {
}

@Test
@Timeout(value = 1, unit = TimeUnit.SECONDS)
public void shouldRetainStateAcrossLauncherInvocations() throws Exception {

final Map expectedContext = new HashMap();
final Map<String, String> expectedContext = new HashMap<>();
AgentBootstrapper agentBootstrapper = new AgentBootstrapper() {
@Override
AgentLauncherCreator getLauncherCreator() {
Expand All @@ -202,22 +205,19 @@ public AgentLauncher createLauncher() {
@Override
public int launch(AgentLaunchDescriptor descriptor) {

Map descriptorContext = descriptor.context();
Map<String, String> descriptorContext = descriptor.context();
incrementCount(descriptorContext);
incrementCount(expectedContext);
Integer expectedCount = (Integer) expectedContext.get(COUNT);
assertThat(descriptorContext.get(COUNT), is(expectedCount));
int expectedCount = incrementCount(expectedContext);
assertThat(descriptorContext.get(COUNT)).asInt().isEqualTo(expectedCount);
if (expectedCount > 3) {
((AgentBootstrapper) descriptor.getBootstrapper()).stopLooping();
}
return 0;
}

private void incrementCount(Map map) {
Integer currentInvocationCount = map.containsKey(COUNT) ? (Integer) map.get(COUNT) : 0;
map.put(COUNT, currentInvocationCount + 1);
private int incrementCount(Map<String, String> map) {
return Integer.parseInt(map.compute(COUNT, (k, v) -> v == null ? "1" : Integer.toString(Integer.parseInt(v) + 1)));
}

};
}

Expand Down
Loading