Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbenhassine committed Dec 13, 2023
1 parent 4f0fe71 commit 8e48728
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 333 deletions.
28 changes: 0 additions & 28 deletions .github/release-files-spec.json

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/artifactory-milestone-release.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/artifactory-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
releaseVersion:
description: "Release version"
description: "Release version (5.1.x)"
required: true

jobs:
Expand All @@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
ref: '5.1.x'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/continuous-inspection.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: CI/CD build
name: CI/CD build for 5.1.x

on:
push:
branches: [ "main" ]
branches: [ "5.1.x" ]

jobs:
build:
name: Build branch
name: Build 5.1.x branch
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
ref: '5.1.x'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down Expand Up @@ -50,7 +52,8 @@ jobs:
DOCS_HOST: ${{ secrets.DOCS_HOST }}
DOCS_PATH: ${{ secrets.DOCS_PATH }}
DOCS_USERNAME: ${{ secrets.DOCS_USERNAME }}
working-directory: spring-batch-docs
working-directory: spring-batch-docs/target
run: |
cd target && unzip spring-batch-$PROJECT_VERSION-javadocs.zip
scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$PROJECT_VERSION
unzip spring-batch-$PROJECT_VERSION-javadocs.zip
ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST cd $DOCS_PATH && mkdir -p $PROJECT_VERSION/api
scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$PROJECT_VERSION/api
30 changes: 0 additions & 30 deletions .github/workflows/deploy-docs.yml

This file was deleted.

8 changes: 5 additions & 3 deletions .github/workflows/documentation-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
releaseVersion:
description: "Release version"
description: "Release version (5.1.x)"
required: true

jobs:
Expand All @@ -17,6 +17,8 @@ jobs:

- name: Checkout source code
uses: actions/checkout@v3
with:
ref: '5.1.x'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down Expand Up @@ -55,8 +57,8 @@ jobs:
working-directory: spring-batch-docs/target
run: |
unzip spring-batch-$RELEASE_VERSION-javadocs.zip
ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST cd $DOCS_PATH && mkdir -p $RELEASE_VERSION
scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION
ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST cd $DOCS_PATH && mkdir -p $RELEASE_VERSION/api
scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$RELEASE_VERSION/api
unzip spring-batch-$RELEASE_VERSION-schemas.zip
scp -i $HOME/.ssh/key batch/*.xsd $DOCS_USERNAME@$DOCS_HOST:$BATCH_SCHEMA_PATH
Expand Down
83 changes: 0 additions & 83 deletions .github/workflows/maven-central-release.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/maven-central-stage.yml

This file was deleted.

Loading

0 comments on commit 8e48728

Please sign in to comment.