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
asadmin deploy ~/dev/infra/scripts/cloud/k8s/payara-deploy/ClassloaderDataAPI.war | |
curl http://localhost:8080/ClassloaderDataAPI/api/instance-count/webapp/ |
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
https://gist.github.com/cstamas/6d2a96abf16fc7e25608479089e285f6 | |
https://gist.github.com/cstamas/93ed8a49a609c0e035c1319990c78606 | |
https://gist.github.com/cstamas/0ac04cad0b1b30d1be710e826ef4712f | |
mvn eu.maveniverse.maven.plugins:toolbox:0.2.4:help -Ddetail | |
jbang toolbox@maveniverse | |
> dm-tree org.springframework.boot:spring-boot-dependencies:3.3.3 | |
-- Repo spec |
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
git config --global --add lfs.url https://nexus.hope.nyc.ny.us/repository/flowlogix-assets/info/lfs | |
git config --global --add core.eol lf | |
git config --global --add core.autocrlf false | |
git config --global --add credential.helper osxkeychain | |
The credential helper can be store on non-interactive nodes, provided the ~/.git-credentials is present |
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
- Create 10.maint branch from master | |
- git revert 3d8aa9ef97055b789edcf51b596fe30e4d08e33d - Add Jakarta Annotations M1 (#142) |
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
lftp -u \$ftpcreds_USR --env-password -e \ | |
'mirror -R -P7 -x .git --overwrite --delete --delete-excluded \ | |
target/output hope_website/resume; exit top' ftp://${websiteHost()} |
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
mvnd verify -Pui-test -Dwebdriver.chrome.driver=/usr/local/bin/chromedriver -Dwebdriver.browser=chrome -Dfailsafe.runOrder.random.seed=249080698557158 -Dtest=none -Dsurefire.failIfNoSpecifiedTests=false |
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
# How to do a local release | |
MAVEN_OPTS=-Dsettings.security=$HOME/.m2/settings-security.xml mvn -B -C release:prepare release:perform \ | |
-Dmaven.install.skip=true -DreleaseVersion=xxx | |
git push origin Version-xxx | |
# Plain release | |
MAVEN_OPTS=-Dsettings.security=$HOME/.m2/settings-security.xml mvn -B -C release:prepare release:perform \ | |
-DpushChanges=false -DlocalCheckout=true -DreleaseVersion=1 -DtagNameFormat=Version-1 \ | |
-Dgoals="org.simplify4u.plugins:sign-maven-plugin:1.0.1:sign deploy" \ | |
-Darguments="-Dsign.serverId=\"Flow Logix, Inc.\" -Dmaven.install.skip=true \ |
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
mvnd verify -P-payara-server-remote -Dmaven.compiler.release=21 -DimageName=payara/server-full:6.2023.12-jdk21 | |
# start docker with host-wide networking and access to socket | |
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock --net=host runner | |
# Test with k8s Payara: | |
mvnd verify -Ppayara-k8s -DadminHost=10.0.62.3 |
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
# run CacheTester | |
mvn -Prun test -Dhz.port=5710 -Dhz.raft=true -Dhz.discovery.spi=false | |
# run Hazelcast single-jvm-tests only | |
mvn -PparallelTest initialize surefire:test@singlejvm | |
# How to make multi-homed host | |
$ sudo ifconfig en0 alias 172.16.123.1 |
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
# run Payara instance w/no connection to DAS | |
asadmin start-local-instance --nodedir $PAYARA_DOMAINDIR/payara/nodes —sync none inst1 | |
# Build Payara w/Alpha Hazelcast | |
mvn -PskipTests,QuickBuild,deploy-internals -T6 -Dhazelcast.version=4.2-PALPHA-2 clean install | |
# What to put into glassfish/config/asenv.conf | |
export JAVA_TOOL_OPTIONS="-Djdk.util.zip.disableZip64ExtraFieldValidation=true --add-opens=java.base/java.io=ALL-UNNAMED" | |
AS_DEF_DOMAINS_PATH="${HOME}/var/payara-domains" | |
AS_DEF_NODES_PATH="${HOME}/var/payara-nodes" |
NewerOlder