Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions release workflow #2515

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading