This file contains hidden or 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
JBake: | |
$ jbake -b -s . jbake-maven/target/output | |
JBake (docs) | |
$ jbake -b -s docs docs/jbake-maven/target/output | |
$ mvnd generate-resources -Dsass.skip -f jbake-maven | |
Sass: | |
$ sass herobiz-website-template/assets/scss:jbake-maven/target/output/css -w --embed-sources | |
$ mvnd generate-resources -Dsass.root=herobiz-website-template -Dsass.dir=scss -Djbake.skip -f jbake-maven |
This file contains hidden or 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
# Set up Database (Optional) | |
asadmin create-system-properties hope-db-pool=java:app/jdbc/Hope | |
asadmin create-system-properties hope-db-url=jdbc\\:postgresql\\://db.hope.nyc.ny.us\\:16851/hope | |
asadmin create-system-properties hope-db-username=lprimak | |
# Set up Class Loading | |
asadmin create-system-properties fish.payara.classloading.delegate=false | |
# Run in Docker | |
docker run -it --rm --cpus 1 -p 8080:8080 -p 9009:9009 -p 4848:4848 -p 9010:9010 -p 8686:8686 \ |
This file contains hidden or 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 hidden or 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 hidden or 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 -Ddrone.browser=chrome -Dfailsafe.runOrder.random.seed=249080698557158 -Dtest=none -Dsurefire.failIfNoSpecifiedTests=false |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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/ |