Skip to content

Commit

Permalink
Merge pull request #87 from WindhoverLabs/param_export
Browse files Browse the repository at this point in the history
Param export
  • Loading branch information
lorenzo-gomez-windhover authored Sep 3, 2023
2 parents e98c348 + 1c46cf1 commit b610be9
Show file tree
Hide file tree
Showing 61 changed files with 2,131 additions and 162 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,18 @@ jobs:
sudo apt install -y protobuf-compiler
- name: Build
run: mvn -Dgpg.skip=true --batch-mode install
run: mvn -Dgpg.skip=true -Dmaven.javadoc.skip=true --batch-mode install
- name: Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -Dgpg.skip=true --batch-mode -DskipTests deploy
run: mvn -Dgpg.skip=true -Dmaven.javadoc.skip=true --batch-mode -DskipTests deploy
if: ${{ github.repository == 'ControlSystemStudio/phoebus' && (github.ref == 'refs/heads/master' || github.ref == 'refs/tags/*') }}

- name: Coveralls report
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: |
mvn install jacoco:report coveralls:report -DrepoToken=$COVERALLS_TOKEN
mvn install -Dmaven.javadoc.skip=true jacoco:report coveralls:report -DrepoToken=$COVERALLS_TOKEN
- name: Download Coverity Build Tool
env:
Expand All @@ -120,7 +120,7 @@ jobs:
TOKEN: ${{ secrets.COVERITY_TOKEN }}
run: |
export PATH=`pwd`/cov-analysis-linux64/bin:$PATH
cov-build --dir cov-int mvn -Dgpg.skip=true -DskipTests install
cov-build --dir cov-int mvn -Dgpg.skip=true -Dmaven.javadoc.skip=true -DskipTests install
- name: Submit static analysis results
env:
TOKEN: ${{ secrets.COVERITY_TOKEN }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/nightly_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
java-version: 11

- name: Build
run: mvn -Djavafx.platform=linux -DskipTests -T6 verify
run: mvn -Djavafx.platform=linux -Dmaven.javadoc.skip=true -DskipTests -T6 verify

- name: Tag Repo
uses: richardsimko/update-tag@v1
Expand All @@ -32,18 +32,19 @@ jobs:
uses: mknejp/delete-release-assets@v1
with:
token: ${{ github.token }}
tag: Commander-nightly-build # This may also be of the form 'refs/tags/staging'
tag: Commander-nightly-build-* # This may also be of the form 'refs/tags/staging'
assets: '*nightly-linux-x86_64.zip'
fail-if-no-release: false
fail-if-no-assets: false

- name: Upload binaries to release
uses: svenstaro/upload-release-action@2.2.1
uses: svenstaro/upload-release-action@2.7.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: phoebus-product/target/product-4.6.10-SNAPSHOT.zip
asset_name: Commander_${{github.sha}}-SNAPSHOT-nightly-linux-x86_64.zip
tag: Commander-nightly-build
tag: Commander-nightly-build-${{github.sha}}
target_commit: ${{github.sha}}
overwrite: true
body: "Latest and greatest nightly build. This is NOT a stable version."

9 changes: 5 additions & 4 deletions .github/workflows/nightly_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,25 @@ jobs:
java-version: 11

- name: Build
run: mvn -Djavafx.platform=mac -DskipTests -T6 verify
run: mvn -Djavafx.platform=mac -Dmaven.javadoc.skip=true -DskipTests -T6 verify

- name: Delete old release assets
uses: mknejp/delete-release-assets@v1
with:
token: ${{ github.token }}
tag: Commander-nightly-build # This may also be of the form 'refs/tags/staging'
tag: Commander-nightly-build-* # This may also be of the form 'refs/tags/staging'
assets: '*nightly-mac-x86_64.zip'
fail-if-no-release: false
fail-if-no-assets: false

- name: Upload binaries to release
uses: svenstaro/upload-release-action@2.2.1
uses: svenstaro/upload-release-action@2.7.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: phoebus-product/target/product-4.6.10-SNAPSHOT.zip
asset_name: Commander_${{github.sha}}-SNAPSHOT-nightly-mac-x86_64.zip
tag: Commander-nightly-build
tag: Commander-nightly-build-${{github.sha}}
target_commit: ${{github.sha}}
overwrite: true
body: "Latest and greatest nightly build. This is NOT a stable version."

9 changes: 5 additions & 4 deletions .github/workflows/nightly_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,25 @@ jobs:
java-version: 11

- name: Build
run: mvn -Djavafx.platform=win -DskipTests -T6 verify
run: mvn -Djavafx.platform=win -Dmaven.javadoc.skip=true -DskipTests -T6 verify

- name: Delete old release assets
uses: mknejp/delete-release-assets@v1
with:
token: ${{ github.token }}
tag: Commander-nightly-build # This may also be of the form 'refs/tags/staging'
tag: Commander-nightly-build-* # This may also be of the form 'refs/tags/staging'
assets: '*nightly-windows-x86_64.zip'
fail-if-no-release: false
fail-if-no-assets: false

- name: Upload binaries to release
uses: svenstaro/upload-release-action@2.2.1
uses: svenstaro/upload-release-action@2.7.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: phoebus-product/target/product-4.6.10-SNAPSHOT.zip
asset_name: Commander_${{github.sha}}-SNAPSHOT-nightly-windows-x86_64.zip
tag: Commander-nightly-build
tag: Commander-nightly-build-${{github.sha}}
target_commit: ${{github.sha}}
overwrite: true
body: "Latest and greatest nightly build. This is NOT a stable version."

2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build:
mvn -DskipTests install -T6
8 changes: 8 additions & 0 deletions app/commander/app-commander-command-options/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
Expand All @@ -28,5 +29,12 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
4 changes: 2 additions & 2 deletions app/commander/app-commander-command-options/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.windhoverlabs</groupId>
<artifactId>app-commander</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</parent>
<artifactId>app-commander-command-options</artifactId>
<profiles>
Expand Down Expand Up @@ -50,7 +50,7 @@
<dependency>
<groupId>com.windhoverlabs</groupId>
<artifactId>commander-core</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
8 changes: 8 additions & 0 deletions app/commander/app-commander-connections/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
Expand All @@ -28,5 +29,12 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
6 changes: 3 additions & 3 deletions app/commander/app-commander-connections/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.windhoverlabs</groupId>
<artifactId>app-commander</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</parent>
<artifactId>app-commander-connections</artifactId>
<profiles>
Expand Down Expand Up @@ -48,13 +48,13 @@
<dependency>
<groupId>com.windhoverlabs</groupId>
<artifactId>commander-core</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>com.windhoverlabs</groupId>
<artifactId>commander-core</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand Down
8 changes: 8 additions & 0 deletions app/commander/app-commander-display-model/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
Expand All @@ -28,5 +29,12 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
2 changes: 1 addition & 1 deletion app/commander/app-commander-display-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.windhoverlabs</groupId>
<artifactId>app-commander</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</parent>
<artifactId>app-commander-display-model</artifactId>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
Expand All @@ -28,5 +29,12 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<parent>
<groupId>com.windhoverlabs</groupId>
<artifactId>app-commander</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>com.windhoverlabs</groupId>
<artifactId>app-commander-display-model</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</dependency>
</dependencies>
<artifactId>app-commander-display-representation-javafx</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions app/commander/app-commander-display-runtime/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
Expand All @@ -28,5 +29,12 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
4 changes: 2 additions & 2 deletions app/commander/app-commander-display-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<parent>
<groupId>com.windhoverlabs</groupId>
<artifactId>app-commander</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>com.windhoverlabs</groupId>
<artifactId>app-commander-display-model</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</dependency>
</dependencies>
<artifactId>app-commander-display-runtime</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions app/commander/app-commander-events/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
Expand All @@ -28,5 +29,12 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
4 changes: 2 additions & 2 deletions app/commander/app-commander-events/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.windhoverlabs</groupId>
<artifactId>app-commander</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</parent>
<artifactId>app-commander-events</artifactId>
<profiles>
Expand Down Expand Up @@ -50,7 +50,7 @@
<dependency>
<groupId>com.windhoverlabs</groupId>
<artifactId>commander-core</artifactId>
<version>0.2.4-SNAPSHOT</version>
<version>0.2.6-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 2 additions & 0 deletions app/commander/app-commander-links/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
format:
mvn com.coveo:fmt-maven-plugin:format
Loading

0 comments on commit b610be9

Please sign in to comment.