Various CI/CD improvements

* Add `concurrency` for `ci-snapshot.yml` to avoid unnecessary queued builds
* Add `schedule` for `ci-snapshot.yml` to run build fresh snapshots every night
* Fix job name for `verify-staged-artifacts.yml` since we are not verifying against samples
* Remove `maven` config for Dependabot.
Looks like it does not look into sub-directories, so its config is not very convenient for our different samples
This commit is contained in:
Artem Bilan
2024-01-02 14:32:00 -05:00
parent 304f280e33
commit c683f31a43
3 changed files with 12 additions and 13 deletions

View File

@@ -2,14 +2,24 @@ name: CI SNAPSHOT
on:
workflow_dispatch:
push:
branches:
- main
- '*.x'
schedule:
- cron: '0 5 * * *'
concurrency:
group: group-snapshot-for-${{ github.ref }}
cancel-in-progress: true
jobs:
build-snapshot:
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@v1
with:
gradleTasks: ${{ github.event_name == 'schedule' && '--rerun-tasks' || '' }}
secrets:
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}

View File

@@ -9,11 +9,11 @@ on:
type: string
jobs:
verify-staged-with-samples:
verify-staged-with-spring-integration:
runs-on: ubuntu-latest
steps:
- name: Checkout Samples Repo
- name: Checkout Spring Integration Repo
uses: actions/checkout@v4
with:
repository: spring-projects/spring-integration