Skip to content

Commit

Permalink
Merge pull request #2515 from ozangunalp/github_actions_release_workflow
Browse files Browse the repository at this point in the history
GitHub Actions release workflow
  • Loading branch information
ozangunalp authored Mar 8, 2024
2 parents 2a98aad + 2b8d140 commit 282e776
Show file tree
Hide file tree
Showing 51 changed files with 818 additions and 328 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* - Config file (whether the property is settable from a configuration file
* - Default value
* <p>
* Run with `.github/PulsarConfigDoc.java -d documentation/src/main/docs/pulsar/config`
* Run with `.build/PulsarConfigDoc.java -d documentation/src/main/docs/pulsar/config`
* <p>
*/
@CommandLine.Command(name = "pulsar-config-doc", mixinStandardHelpOptions = true, version = "0.1",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
164 changes: 0 additions & 164 deletions .github/PostRelease.java

This file was deleted.

9 changes: 0 additions & 9 deletions .github/decrypt-secrets.sh

This file was deleted.

19 changes: 0 additions & 19 deletions .github/deploy-doc.sh

This file was deleted.

101 changes: 0 additions & 101 deletions .github/deploy.sh

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build-main-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
env:
MAVEN_OPTS: ${{ matrix.java.opts }}
run: |
mvn -s .github/ci-maven-settings.xml -Dmaven.resolver.transport=wagon -B \
mvn -s .build/ci-maven-settings.xml -Dmaven.resolver.transport=wagon -B \
clean install -Dtest-containers=true ${{ matrix.java.build_opts }}
quality:
Expand All @@ -76,7 +76,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_LOGIN }}
run: |
mvn -s .github/ci-maven-settings.xml -B \
mvn -s .build/ci-maven-settings.xml -B \
clean install sonar:sonar -Pcoverage \
-Dmaven.resolver.transport=wagon \
-Drevapi.skip=true \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ jobs:
env:
MAVEN_OPTS: ${{ matrix.java.opts }}
run: |
mvn -s .github/ci-maven-settings.xml -Dmaven.resolver.transport=wagon -B \
mvn -s .build/ci-maven-settings.xml -Dmaven.resolver.transport=wagon -B \
clean install -Dtest-containers=true ${{ matrix.java.build_opts }}
2 changes: 1 addition & 1 deletion .github/workflows/build-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
env:
MAVEN_OPTS: ${{ matrix.java.opts }}
run: |
mvn -s .github/ci-maven-settings.xml -Dmaven.resolver.transport=wagon \
mvn -s .build/ci-maven-settings.xml -Dmaven.resolver.transport=wagon \
-B clean install -Pcoverage -Dtest-containers=true ${{ matrix.java.build_opts }}
- name: Codecov
uses: codecov/codecov-action@v1.0.13
25 changes: 25 additions & 0 deletions .github/workflows/push-release-to-maven-central.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Push a release to Maven Central

on:
push:
tags:
- '4.*'

jobs:
deploy:
runs-on: ubuntu-latest
env:
SECRET_FILES_PASSPHRASE: ${{ secrets.SECRET_FILES_PASSPHRASE }}
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Java setup
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Install just
uses: taiki-e/install-action@just
- name: Deploy to Maven Central
run: just deploy-to-maven-central
Loading

0 comments on commit 282e776

Please sign in to comment.