Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.54 KB

File metadata and controls

58 lines (40 loc) · 1.54 KB

Create a FreeTier

Java

Create local, remote, virtual maven repo create policies, rules , watches Allow anonymous to access the repo read and deploy Connect the project via Link

jabba use [email protected] remove the local maven repository mvn clean mvn verify

Install and config the JFrog CLI

install the CLI jfrog config add jfrog config show

jfrog rt mvn-config jfrog audit-mvn

jfrog mvn clean verify -f pom.xml --build-name=20220302-workshop --build-number=20220221-001 jfrog rt bp 20220302-workshop 20220221-001

jfrog s target/helidon-quickstart-se.jar

Docker

Create local, remote, virtual Docker repo add docker repos to policies, rules , watches

docker login svenr-docker.jfrog.io docker system prune -a
docker build -t helidon-quickstart-se . docker run -p 8080:8080 --rm helidon-quickstart-se:latest

docker save helidon-quickstart-se -o target/export.tar jfrog s target/export.tar

docker tag helidon-quickstart-se svenr-docker.jfrog.io/svenruppert/helidon-quickstart-se:20211208-001 docker push svenr-docker.jfrog.io/svenruppert/helidon-quickstart-se:20211208-001

-> create Access Token for AWS access -- for user anonymous as user -- activate the anonymous user - Security section

usage of the docker image

docker run -p 8080:8080 --rm helidon-quickstart-se:latest curl -X GET http://localhost:8080/greet/logs curl -X GET http://localhost:8080/greet/Joe curl -X GET http://localhost:8080/greet/logs

Add the docu pointing to Pipelines: https://www.jfrog.com/confluence/display/JFROG/QuickStart+Guide%3A+JFrog+Free+Cloud+Subscription