32 Commits

Author SHA1 Message Date
Artem Bilan
7f4d69450e Fix repos auth for Dependabot CI only
Apparently regular PR come with `Secrets source: none` (for `on: pull_request` GHA event).
So, no any secrets are available to be propagated down to the repository configurations.
And that is indeed a good sign to not let any unexpected PR to be built.

On the other hand, the Dependabot updates are OK and its PRs come with `Secrets source: dependabot`.
So, we are good to auth repositories to build those PRs and merge.

* Mention secrets limitation in the `pr-build.yml`
* Fix `commercial-settings.gradle` to check if Dependabot is running our project build.
Change repositories respectively, and set provided credentials
2024-07-29 16:01:48 -04:00
Artem Bilan
7545f8295d Do not sign SNAPSHOT artifacts 2024-07-11 13:08:56 -04:00
Artem Bilan
801665e058 Test CI SNAPSHOT against latest Artifactory Gradle plugin 2024-07-11 12:41:10 -04:00
Artem Bilan
b1de043bf3 Bring back hard-coded Artifactory URL 2024-06-28 14:27:22 -04:00
Artem Bilan
7a5175e949 Use env for secrets.COMMERCIAL_ARTIFACTORY_URL 2024-06-28 14:21:40 -04:00
Artem Bilan
d993edd631 Change repository settings according to a new environment 2024-06-28 14:06:07 -04:00
Artem Bilan
a4fd625b99 Update other workflows to use USW1 Artifactory 2024-06-24 16:53:48 -04:00
Artem Bilan
57688c4d73 Change ci-snapshot.yml to USW1 repo and respective runner 2024-06-11 14:13:32 -04:00
Artem Bilan
9e4907bf61 Migrate 3.0.x to Commercial repository 2024-05-23 14:57:24 -04:00
Artem Bilan
506045a9b0 Remove redundant Develocity GHA secrets
(cherry picked from commit 5b07cf1e31)
2024-04-29 19:15:39 +00:00
Artem Bilan
33d489bca8 Use namoshek/rabbitmq-github-action
# Conflicts:
#	.github/workflows/verify-staged-artifacts.yml
2024-02-22 18:31:42 -05:00
Artem Bilan
c6e99565dd Add rabbitmq_stream plugin to verify-staged-artifacts
(cherry picked from commit 508f42678e)
2024-02-22 22:18:48 +00:00
Artem Bilan
3855482db7 Use spring-amqp.version prop for verify-staged-artifacts
(cherry picked from commit b6c2efc412)
2024-02-22 21:58:35 +00:00
Artem Bilan
ba73f32153 Add rabbitmq service into verify-staged-artifacts.yml 2024-02-16 14:14:10 -05:00
Artem Bilan
8bf4924f07 Add more permissions to GH_TOKEN in release.yml 2024-02-16 13:34:35 -05:00
dependabot[bot]
defec02e09 Bump the development-dependencies group with 3 updates (#2620)
Bumps the development-dependencies group with 3 updates: [actions/setup-java](https://github.com/actions/setup-java), [jfrog/setup-jfrog-cli](https://github.com/jfrog/setup-jfrog-cli) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/setup-java` from 3 to 4
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

Updates `jfrog/setup-jfrog-cli` from 3 to 4
- [Release notes](https://github.com/jfrog/setup-jfrog-cli/releases)
- [Commits](https://github.com/jfrog/setup-jfrog-cli/compare/v3...v4)

Updates `actions/upload-artifact` from 3 to 4
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: jfrog/setup-jfrog-cli
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 17:13:01 +00:00
Artem Bilan
89414c08fe Make PR & Dependabot WFs for support branches as well 2024-02-16 11:36:10 -05:00
Artem Bilan
2ec2f2967e Fix ci-snapshot.yml for the proper reusable WF version 2024-02-07 18:37:33 -05:00
Artem Bilan
946562b1fb Upgrade to the latest reusable workflows
# Conflicts:
#	.github/workflows/backport-issue.yml
#	.github/workflows/ci-snapshot.yml
#	.github/workflows/deploy-docs.yml
#	.github/workflows/merge-dependabot-pr.yml
#	.github/workflows/pr-build.yml
#	.github/workflows/release.yml
2024-02-07 18:36:04 -05:00
Artem Bilan
58d63bf85d Migrate GHAs for repo from Spring IO
(cherry picked from commit 8a5f83afc3)
2023-12-20 17:02:02 -05:00
Artem Bilan
af93931a6d Migrate CI/CD to GHA
* Upgrade to Gradle `8.4` and latest plugins for Develocity (formerly Gradle Enterprise)
* Add GHA workflows based on a common repository with reusable workflows
* Remove `release-files-spec.json` as it is supplied by common repo on respective CI/CD phase
* Remove obsolete GHA workflows
* Fix deprecation in the `AbstractTestContainerTests`
* Change developer roles and emails
2023-12-07 14:17:50 -05:00
Gary Russell
1a1b1f6c3c Main to 3.0; SF to 6.0; JDK 17
Initial Commit for Spring Framework 6.0/JDK 17

* Fix add-opens for java.util.zip; add distributionSha256Sum to gradle.properties.

Fix remaining errors of migration to SF-6.0

* Remove `lineSeparator` property for `NewlineAtEndOfFile` Checkstyle rule:
Windows checkouts files with a `crlf` line feed
* Add `-Dfile.encoding=UTF-8` jmvarg for Gradle: some source files use non-UTF symbols
* Upgrade to Kotlin `1.5.31`, JSON Path `2.6.0`, Junit `5.8.1`
* Use correct links for external JavaDocs
* Add `Xdoclint:syntax` to JavaDoc Gradle task to suppress JavaDoc warnings for classes
* Use `DuplicatesStrategy.EXCLUDE` for `prepareAsciidocBuild` task
* Align `api` task with SF style

Add `Xdoclint:syntax` to `api` Gradle task

Turns out `api` task generates fresh common JavaDocs,
so it emits the same warnings for missed docs in classes

Remove files restored by rebase

Fix test Java version

Fix build.gradle
2022-01-13 15:19:07 -05:00
Gary Russell
18d58b5ef3 Upgrade jfrog-cli for Central Action 2021-11-04 15:14:41 -04:00
Artem Bilan
cc0323a8c4 Try to escape build info values
Currently the action fails with a `line 1: syntax error near unexpected token `('` error.
Just because our build name is like this: `Spring AMQP - Main (2.3.x) - Default Job`

See more info in this SO: https://stackoverflow.com/questions/61795201/github-action-failed-syntax-error-near-unexpected-token

* Wrap `Build Name` value into double quote
in attempt to avoid unexpected token error
2021-05-17 13:11:38 -04:00
Gary Russell
1d56763bda Move Central Sync Workflows and Fix Secret Name 2021-05-04 13:56:15 -04:00
Artem Bilan
0757aac4f1 Use current main branch in docs instead of master (#1322) 2021-04-15 11:38:07 -04:00
Gary Russell
b507597f48 GH-1309: Don't Bind Resource When Sync Not Active
Resolves https://github.com/spring-projects/spring-amqp/issues/1309

If the `RabbitTemplate` was called from a `@TransactionalEventListener`,
with phase `AFTER_COMMIT`, a transaction is "active", but synchronizations
are already cleared. It is too late to synchronize this transaction.

We end up with an orphaned `ResourceHolder` with pending transaction commits.

Don't bind the resource holder if synchronization is not active.

However, the proper solution, if users want to synchronize the rabbit transaction
with the global transaction, is to use the `BEFORE_COMMIT` phase.

See the discussion on the Github issue for more information.

**cherry-pick to 2.2.x**

* Fix since version.

* Reset physical close required flag left over from another test.

* Capture test results for all modules.
2021-03-16 11:26:55 -04:00
Gary Russell
b623a9e147 Capture test results in PR workflow. 2021-03-15 18:13:36 -04:00
Gary Russell
d9ade78aab Revert "Capture Test Results in PR Workflow"
This reverts commit c29395e722.
2021-03-15 17:27:47 -04:00
Gary Russell
c29395e722 Capture Test Results in PR Workflow 2021-03-15 17:20:27 -04:00
Artem Bilan
6c7ac67588 Use management tag for RabbitMQ image on GH actions (#1283)
* Use management tag for RabbitMQ image on GH actions

* * Add RabbitMQ management ports mapping for service image in the GH actions
2020-12-08 17:21:27 -05:00
Artem Bilan
4b69594237 Add GH Actions integration
* Remove `.travis.yml` since we rely now on GH Actions for PR checks
* Remove all the Travis mentioning when we couldn't pass build because of memory
* Fix `Arnaud Cogoluègnes` name in the `@author` list
2020-12-07 15:52:54 -05:00