forked from piranhacloud/piranha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'current' into issue-3851
- Loading branch information
Showing
10 changed files
with
312 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,3 +177,4 @@ jobs: | |
git add . | ||
git commit -a -m "Publishing Maven plugin documentation" || true | ||
git push | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: docs-release | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Release version' | ||
required: true | ||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Piranha | ||
uses: actions/checkout@v3 | ||
- name: Checkout Piranha Website | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: piranhacloud/piranha-website | ||
token: ${{ secrets.GIT_PASSWORD }} | ||
path: piranha-website | ||
ref: 'gh-pages' | ||
- name: Set up Java 21 | ||
uses: actions/setup-java@v3 | ||
with: | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
java-version: 21 | ||
- name: Build with Maven | ||
run: | | ||
git checkout v${{ github.event.inputs.version }} | ||
cd docs | ||
mvn -B -DskipTests -DskipITs -ntp site | ||
cd ../ | ||
rm -rf piranha-website/release || true | ||
mkdir -p piranha-website/release || true | ||
cp -R docs/target/site/* piranha-website/release/ | ||
cd piranha-website | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Automated publish" | ||
git add . | ||
git commit -a -m "Publishing documentation" || true | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: docs-snapshot | ||
on: | ||
push: | ||
paths: | ||
- 'docs/**' | ||
branches: | ||
- 'current' | ||
tags-ignore: | ||
- 'v*' | ||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Piranha | ||
uses: actions/checkout@v3 | ||
- name: Checkout Piranha Website | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: piranhacloud/piranha-website | ||
token: ${{ secrets.GIT_PASSWORD }} | ||
path: piranha-website | ||
ref: 'gh-pages' | ||
- name: Set up Java 21 | ||
uses: actions/setup-java@v3 | ||
with: | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
java-version: 21 | ||
- name: Build with Maven | ||
run: | | ||
cd docs | ||
mvn -B -DskipTests -DskipITs -ntp site | ||
cd ../ | ||
rm -rf piranha-website/snapshot || true | ||
mkdir -p piranha-website/snapshot || true | ||
cp -R docs/target/site/* piranha-website/snapshot/ | ||
cd piranha-website | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Automated publish" | ||
git add . | ||
git commit -a -m "Publishing documentation" || true | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
name: tck-core-profile | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
jobs: | ||
annotations: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
java: [ '21' ] | ||
os: [ubuntu-latest] | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v3 | ||
- name: Set up Java ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
- name: Setup for TCK | ||
run: mvn -B -DskipTests=true -ntp install | ||
- name: Run TCK | ||
run: | | ||
cd external/tck/coreprofile/annotations | ||
mvn -B -ntp verify | ||
atinject: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
java: [ '21' ] | ||
os: [ubuntu-latest] | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v3 | ||
- name: Set up Java ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
- name: Setup for TCK | ||
run: mvn -B -DskipTests=true -ntp install | ||
- name: Run TCK | ||
run: | | ||
cd external/tck/coreprofile/atinject | ||
mvn -B -ntp verify | ||
jsonb: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
java: [ '21' ] | ||
os: [ubuntu-latest] | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v3 | ||
- name: Set up Java ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
- name: Setup for TCK | ||
run: mvn -B -DskipTests=true -ntp install | ||
- name: Run TCK | ||
run: | | ||
cd external/tck/coreprofile/jsonb | ||
mvn -B -ntp verify | ||
jsonp: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
java: [ '21' ] | ||
os: [ubuntu-latest] | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v3 | ||
- name: Set up Java ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
cache: 'maven' | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
- name: Setup for TCK | ||
run: mvn -B -DskipTests=true -ntp install | ||
- name: Run TCK | ||
run: | | ||
cd external/tck/coreprofile/jsonp | ||
mvn -B -ntp verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>cloud.piranha.docs</groupId> | ||
<version>24.9.0-SNAPSHOT</version> | ||
<artifactId>project</artifactId> | ||
<packaging>pom</packaging> | ||
<name>Piranha</name> | ||
<url>https://github.com/piranhacloud/piranha</url> | ||
<organization> | ||
<name>Piranha Cloud</name> | ||
<url>https://piranha.cloud</url> | ||
</organization> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-site-plugin</artifactId> | ||
<version>3.20.0</version> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<reporting> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-project-info-reports-plugin</artifactId> | ||
<version>3.6.2</version> | ||
<reportSets> | ||
<reportSet/> | ||
</reportSets> | ||
</plugin> | ||
</plugins> | ||
</reporting> | ||
</project> |
Oops, something went wrong.