[CI] Update Github workflows for 1.0.x
This commit is contained in:
25
.github/workflows/ci-dispatcher.yml
vendored
25
.github/workflows/ci-dispatcher.yml
vendored
@@ -1,25 +0,0 @@
|
||||
name: CI Dispatcher (0.2.x)
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 11 * * *' # Once per day at 11am UTC
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
dispatch_ci_workflow:
|
||||
name: Dispatch CI workflow
|
||||
if: github.repository == 'spring-projects/spring-pulsar'
|
||||
strategy:
|
||||
matrix:
|
||||
# List of active maintenance branches.
|
||||
branch: [ 0.2.x ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Dispatch
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
|
||||
run: gh workflow run ci.yml -r ${{ matrix.branch }}
|
||||
5
.github/workflows/ci-pr.yml
vendored
5
.github/workflows/ci-pr.yml
vendored
@@ -3,8 +3,7 @@ name: CI PRs
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- '0.2.x'
|
||||
- '1.0.x'
|
||||
paths-ignore:
|
||||
- '.github/**'
|
||||
|
||||
@@ -30,7 +29,7 @@ jobs:
|
||||
bootVersion=$(cat gradle/libs.versions.toml | grep "spring-boot = \"" | cut -d '"' -f2)
|
||||
echo "boot_version=$bootVersion" >>$GITHUB_OUTPUT
|
||||
build_and_verify:
|
||||
name: Build and Verify
|
||||
name: Build and Verify (1.0.x)
|
||||
needs: [prerequisites]
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.prerequisites.outputs.runjobs
|
||||
|
||||
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -3,12 +3,9 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- '0.2.x'
|
||||
- '1.0.x'
|
||||
paths-ignore:
|
||||
- '.github/**'
|
||||
schedule:
|
||||
- cron: '0 10 * * *' # Once per day at 10am UTC
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
@@ -43,7 +40,7 @@ jobs:
|
||||
bootVersion=$(cat gradle/libs.versions.toml | grep "spring-boot = \"" | cut -d '"' -f2)
|
||||
echo "boot_version=$bootVersion" >>$GITHUB_OUTPUT
|
||||
build_jdk_17:
|
||||
name: Build (JDK 17)
|
||||
name: Build (1.0.x w/ JDK 17)
|
||||
needs: [prerequisites]
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.prerequisites.outputs.runjobs
|
||||
@@ -99,7 +96,7 @@ jobs:
|
||||
config-path: .github/trivy-to-sarif.yaml
|
||||
upload-results: true
|
||||
deploy_artifacts:
|
||||
name: Deploy Artifacts
|
||||
name: Deploy Artifacts (1.0.x)
|
||||
needs: [build_jdk_17, check_samples, scan]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
name: Deploy Docs Dispatcher (Antora)
|
||||
on:
|
||||
# push:
|
||||
# branches-ignore: [ gh-pages ]
|
||||
# tags: '**'
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
13
.github/workflows/sandbox-area.yml
vendored
13
.github/workflows/sandbox-area.yml
vendored
@@ -1,13 +0,0 @@
|
||||
name: Sandbox Github Actions Testing Area
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- name: Show environment v1
|
||||
run: env | grep ^GITHUB
|
||||
- name: Show ref v1
|
||||
run: echo "===============> Version from $GITHUB_REF"
|
||||
Reference in New Issue
Block a user