Commit Graph
12 Commits
Author SHA1 Message Date
darroyo 2c727244df Pasa el nombre de la imagen a minúsculas para que Docker acepte la carpeta del servicio.
Un directorio como SALE-HITES-BFF deja de fallar el build por el formato del repositorio.
2026-10-06 19:35:39 -03:00
darroyo b65730c45f El nombre de la imagen sale de la carpeta del servicio y el Dockerfile depende de si es java o web.
Así se puede desplegar sin pom.xml y ubicar el Dockerfile en la raíz cuando el servicio es web.
2026-09-25 12:55:43 -03:00
darroyo 782a130bb9 build: deploy several Quarkus services from one project list
Add deploy-services.sh so a single command runs build-and-push.sh for every path in a project file, keeps going after a failure, and reports which services failed.
2026-09-24 22:54:45 -03:00
darroyo f7bcad0b38 cambios 2026-09-24 18:50:08 -03:00
darroyo 803f05a60b tag con fecha y hora 2026-09-24 18:21:35 -03:00
darroyo faabf0b82b cambios cleanup del registry remoto y tags 2026-09-24 17:18:05 -03:00
darroyo 5b4bbce5c8 cambios en script y version 2026-09-24 16:41:36 -03:00
darroyo 38b22648f1 build: resolve --remote as SSH config alias when it has no @
scripts/build-and-push.sh now parses ~/.ssh/config (or --ssh-config)
when --remote is a bare alias like 'prod'. It extracts HostName,
User, Port and IdentityFile from the matching Host block, falls back
to the current user / port 22, and uses the config IdentityFile when
--ssh-key is not given. --ssh-key always wins. The resolved target
is shown in the logs before any docker/pussh call, and is the form
passed to docker pussh and the verification ssh.

Wildcards, Include and Match directives are intentionally not handled:
ssh itself resolves them when the alias is passed through, but the
script logs the expanded target first for visibility.
2026-09-08 18:35:23 -03:00
darroyo 3b0e6b4a3f build: make build-and-push.sh runnable from any directory
- Resolve PROJECT_DIR from the script's own location by default
  (works with absolute, relative and symlinked invocations)
- Allow override via --project-dir flag or PROJECT_DIR env var
- Improve error message for invalid --project-dir paths
- Update usage and README accordingly
2026-09-08 18:20:49 -03:00
darroyo ceebfb33f8 build: add native build and unregistry push script
scripts/build-and-push.sh builds the native image with the Mandrel
Dockerfile and pushes it to a remote Docker host via docker-pussh
(unregistry), transferring only missing layers over SSH.

- Name and tag default to pom.xml artifactId/version (overridable)
- Builds for linux/amd64; --skip-build to pussh only
- Verifies image presence on the remote after push and prints
  a ready-to-use docker run hint

README updated with a 'Building and deploying natively' section.
2026-09-07 18:02:37 -03:00
darroyo e5c382fe0a feat: bootstrap Quarkus app with status endpoint and MicroProfile Health
- Scaffold Quarkus 3.39.2 (Java 21, Maven) with rest-jackson and smallrye-health
- Add GET /status returning application uptime, version and JVM metrics
- Add ApplicationHealthCheck (@Readiness) exposing /q/health/ready
- Configure application name, version and health root path
- Cover endpoints with StatusResourceTest (@QuarkusTest + rest-assured)
2026-09-07 16:45:01 -03:00
darroyo 558063cf3e Initial commit 2026-09-07 19:30:23 +00:00