forked from wavesplatform/Waves
-
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.
Bumped dependencies (wavesplatform#3967)
- Loading branch information
Showing
38 changed files
with
183 additions
and
1,014 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
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,34 @@ | ||
name: Publish Artifacts | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'version-1.*.*' | ||
|
||
jobs: | ||
update-graph: | ||
name: Update Dependency Graph | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: scalacenter/sbt-dependency-submission@v3 | ||
publish-snapshot: | ||
name: Publish Snapshots to Sonatype | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
cache: 'sbt' | ||
gpg-private-key: ${{ secrets.OSSRH_GPG_KEY }} | ||
gpg-passphrase: ${{ secrets.OSSRH_GPG_PASSPHRASE }} | ||
- name: Publish snapshots | ||
env: | ||
SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | ||
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
PGP_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSPHRASE }} | ||
run: | | ||
version=$(echo ${{ github.base_ref }} | awk -F '[-\.]' '{print $2"."$3}')-SNAPSHOT | ||
sbt -Dproject.version=$version --mem 4096 --batch publishSigned |
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
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 |
---|---|---|
@@ -1,29 +1,30 @@ | ||
#!/bin/bash | ||
shopt -s nullglob | ||
|
||
logEcho() { | ||
echo $1 | gosu waves tee -a /var/log/waves/waves.log | ||
} | ||
[ -n "${YOURKIT_OPTS}" ] && JAVA_OPTS="$JAVA_OPTS -agentpath:/usr/local/YourKit-JavaProfiler-$YOURKIT_VERSION/bin/linux-x86-64/libyjpagent.so=$YOURKIT_OPTS" | ||
JAVA_OPTS="${JAVA_OPTS} -Dwaves.defaults.blockchain.type=$WAVES_NETWORK -Dwaves.defaults.directory=$WVDATA" | ||
|
||
logEcho "Node is starting..." | ||
logEcho "WAVES_HEAP_SIZE='${WAVES_HEAP_SIZE}'" | ||
logEcho "WAVES_LOG_LEVEL='${WAVES_LOG_LEVEL}'" | ||
logEcho "JAVA_OPTS='${JAVA_OPTS}'" | ||
|
||
JAVA_OPTS="-Dlogback.stdout.level=${WAVES_LOG_LEVEL} | ||
-XX:+ExitOnOutOfMemoryError | ||
JAVA_OPTS="-XX:+ExitOnOutOfMemoryError | ||
-Xmx${WAVES_HEAP_SIZE} | ||
-Dlogback.file.directory=$WVLOG | ||
-Dconfig.override_with_env_vars=true | ||
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED | ||
-Dlogback.stdout.level=${WAVES_LOG_LEVEL} | ||
-Dlogback.file.directory=${WVLOG} | ||
-Dwaves.config.directory=/etc/waves | ||
-Dwaves.defaults.blockchain.type=${WAVES_NETWORK} | ||
-Dwaves.directory=${WVDATA} | ||
-Dwaves.rest-api.bind-address=0.0.0.0 | ||
${JAVA_OPTS}" | ||
|
||
if [ $# -eq 0 ] | ||
then | ||
ARGS="$WAVES_CONFIG" | ||
else | ||
ARGS=$@ | ||
echo "JAVA_OPTS=${JAVA_OPTS}" | tee -a ${WVLOG}/waves.log | ||
|
||
if [ -n "$WAVES_WALLET_SEED" ] ; then | ||
JAVA_OPTS="-Dwaves.wallet.seed=${WAVES_WALLET_SEED} ${JAVA_OPTS}" | ||
fi | ||
|
||
if [ -n "$WAVES_WALLET_PASSWORD" ] ; then | ||
JAVA_OPTS="-Dwaves.wallet.password=${WAVES_WALLET_PASSWORD} ${JAVA_OPTS}" | ||
fi | ||
|
||
if [ $# -eq 0 ] && [ -f /etc/waves/waves.conf ] ; then | ||
ARGS="/etc/waves/waves.conf" | ||
else | ||
ARGS=$@ | ||
fi | ||
|
||
exec java $JAVA_OPTS -cp "${WAVES_INSTALL_PATH}/lib/plugins/*:$WAVES_INSTALL_PATH/lib/*" com.wavesplatform.Application $ARGS | ||
exec java $JAVA_OPTS -cp "$WAVES_INSTALL_PATH/lib/plugins/*:$WAVES_INSTALL_PATH/lib/*" com.wavesplatform.Application $ARGS |
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.