Commit Graph

95 Commits

Author SHA1 Message Date
Artem Bilan
6f5b58f2bc Upgrade Gradle & Develocity plugins
* Remove redundant GHA secrets for Develocity
2024-04-29 14:46:52 -04:00
Artem Bilan
1a99d1df8b Upgrade to the latest dependencies 2024-03-21 16:43:55 -04:00
Artem Bilan
a1a7c1e08a Upgrade to the latest reusable workflows
* Upgrade to `jfrog/setup-jfrog-cli@v4` in the `verify-staged-artifacts.yml`
2024-02-09 10:17:21 -05:00
Artem Bilan
75cb9ef5a2 Upgrade dependencies; prepare for release 2024-01-05 16:12:03 -05:00
Artem Bilan
958261baa7 Migrate GHAs to spring-io 2023-12-20 11:07:35 -05:00
Artem Bilan
87a88f3097 Add permissions into GHA for GH_TOKEN 2023-11-30 18:00:15 -05:00
Artem Bilan
c24c999063 Change to Gradle-specific reusable workflow 2023-11-30 17:29:07 -05:00
Artem Bilan
f1433ca921 Fix GH workflows for new repository 2023-11-19 11:51:00 -05:00
Artem Bilan
a5ca811a00 Fix path for file to verify 2023-11-16 17:17:14 -05:00
Artem Bilan
1961fcc95f Tweak verify-staged-artifacts.yml 2023-11-16 17:12:59 -05:00
Artem Bilan
a17225a087 Remove verify.yml used for testing 2023-11-16 16:32:26 -05:00
Artem Bilan
63636e847e Fix inputs JSON for workflow-dispatch action 2023-11-16 16:12:41 -05:00
Artem Bilan
b63696a8fb Test workflow-dispatch action 2023-11-16 16:10:02 -05:00
Artem Bilan
55b40f6d6b Fail verify-staged-artifacts.yml if no artifact 2023-11-16 14:53:57 -05:00
Artem Bilan
fc9a82b541 Turn verify-staged-artifacts into workflow_dispatch
We cannot reuse workflow in this repo from another one.
So, fix common workflow to use `gh workflow run` instead in the
context of this repository and branch.
And fix `verify-staged-artifacts.yml` workflow's `on` to the `workflow_dispatch`
to satisfy `gh workflow run` requirements
2023-11-16 14:24:55 -05:00
Artem Bilan
001388f5d1 Propagate secrets to reusable workflows 2023-11-16 13:45:20 -05:00
Artem Bilan
6039aab447 Move Gradle task directly to the ci-snapshot.yml 2023-11-16 13:39:58 -05:00
Artem Bilan
2cd7eacd84 Try to use just local workflow 2023-11-16 13:00:21 -05:00
Artem Bilan
553f258f97 Fix jobs: uses: syntax for workflow url 2023-11-16 12:45:44 -05:00
Artem Bilan
0ca38b0db9 Reusable workflows from a common repository
* Remove `release-files-spec.json` and `spring-project-init.gradle`
since they come from a common repository as well
2023-11-16 12:32:43 -05:00
Artem Bilan
4754d21d7f Cancel workflow if no Milestone 2023-11-16 11:05:40 -05:00
Artem Bilan
5e15f25cce Improve GHA notices 2023-11-16 10:36:50 -05:00
Artem Bilan
809f20da79 Bring back GITHUB_TOKEN ENV var for finalize 2023-11-16 10:10:33 -05:00
Artem Bilan
7bf5a08805 Fix promote jobs conditions 2023-11-16 10:00:21 -05:00
Artem Bilan
c2bd44f4f3 Bring back token against respective secret 2023-11-16 09:51:58 -05:00
Artem Bilan
8ce66ba7b9 Remove token from checkout step 2023-11-16 09:48:43 -05:00
Artem Bilan
85a1e1fb15 Add GITHUB_TOKEN ENV var for release workflow 2023-11-16 09:32:32 -05:00
Artem Bilan
62f94ac036 Remove releaseVersion input for release workflow 2023-11-16 09:28:30 -05:00
Artem Bilan
0df7d540f7 Refactor workflows to avoid > 3 nested levels 2023-11-16 09:23:02 -05:00
Artem Bilan
59c1400213 Perform release against version from branch 2023-11-15 18:19:04 -05:00
Artem Bilan
121b8b231c Bring back Slack notification step 2023-11-15 12:53:03 -05:00
Artem Bilan
8945cd2467 Remove temporary finalize.yml
* Disable Slack notification temporary
* Add conditional `--prerelease` to the `gh release create` step
2023-11-15 12:46:42 -05:00
Artem Bilan
7b41d75f9f Fix conditional jobs
* Add and propagate `buildToolArgs` to the release workflows
* Add temporary workflow to finalize release
2023-11-15 12:29:34 -05:00
Artem Bilan
09a875f84d Use literals for true/false instead 2023-11-15 09:51:03 -05:00
Artem Bilan
85daa2006c Add Maven staging support
* Make staging jobs conditional on project type: Maven or Gradle
2023-11-15 09:42:33 -05:00
Artem Bilan
8d19ddc6df Fix JFrog ENV vars 2023-11-14 17:29:44 -05:00
Artem Bilan
8222f176dd Fix JFrog build-publish command 2023-11-14 17:20:16 -05:00
Artem Bilan
5cbb08cff4 Use workflow outputs for build name & number 2023-11-14 17:10:31 -05:00
Artem Bilan
bfdf324c51 Fix build name & number vars
* Bring back SNAPSHOT version
2023-11-14 16:54:55 -05:00
Artem Bilan
0bcdfbcc8c Fix job ids for needs 2023-11-14 16:41:05 -05:00
Artem Bilan
c31c91c864 Fix some naming for GHA workflows 2023-11-14 16:38:29 -05:00
Artem Bilan
77b2d74ea2 Fix verify-staged-artifacts.yml
* Some other GHAs clean up
2023-11-14 16:08:28 -05:00
Artem Bilan
0c72b9d543 Fix workflow syntax for release script 2023-11-14 16:02:57 -05:00
Artem Bilan
73abda7d8e Bring back Slack notification 2023-11-14 15:54:06 -05:00
Artem Bilan
b606ed2d32 Extract stage-release.yml sub-flow 2023-11-14 15:49:22 -05:00
Artem Bilan
266407ea71 Add general release.yml workflow 2023-11-14 14:15:40 -05:00
Artem Bilan
cf3dc6365a Checkout repo before gh release create 2023-11-14 10:19:49 -05:00
Artem Bilan
1766e68f6b Change to a single finalize-release.yml GHA 2023-11-14 10:08:36 -05:00
Artem Bilan
21b5251d23 Try to fix REPO_TEAM env var 2023-11-13 19:05:51 -05:00
Artem Bilan
761e68d877 Fix path to changelog-application.yml 2023-11-13 18:59:59 -05:00