* build(deps): bump org.springframework.boot:spring-boot-starter-parent Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.5.4 to 3.5.5. - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.5.4...v3.5.5) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-starter-parent dependency-version: 3.5.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.jsonwebtoken:jjwt-jackson in /server Bumps io.jsonwebtoken:jjwt-jackson from 0.12.7 to 0.13.0. --- updated-dependencies: - dependency-name: io.jsonwebtoken:jjwt-jackson dependency-version: 0.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.jsonwebtoken:jjwt-impl in /server Bumps [io.jsonwebtoken:jjwt-impl](https://github.com/jwtk/jjwt) from 0.12.7 to 0.13.0. - [Release notes](https://github.com/jwtk/jjwt/releases) - [Changelog](https://github.com/jwtk/jjwt/blob/master/CHANGELOG.md) - [Commits](https://github.com/jwtk/jjwt/compare/0.12.7...0.13.0) --- updated-dependencies: - dependency-name: io.jsonwebtoken:jjwt-impl dependency-version: 0.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.jsonwebtoken:jjwt-api in /server Bumps [io.jsonwebtoken:jjwt-api](https://github.com/jwtk/jjwt) from 0.12.7 to 0.13.0. - [Release notes](https://github.com/jwtk/jjwt/releases) - [Changelog](https://github.com/jwtk/jjwt/blob/master/CHANGELOG.md) - [Commits](https://github.com/jwtk/jjwt/compare/0.12.7...0.13.0) --- updated-dependencies: - dependency-name: io.jsonwebtoken:jjwt-api dependency-version: 0.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * feat: add Taskfile * feat: add files, tasks and more automations * feat: disable email sending if not configured * chore: rename client to tasknote-web * feat: add devtools for faster development * feat: Re-tag Docker image with 'latest' tag * feat: update wording and improve taskfile * Implement ApplicationRunner for startup logging * fix: add reachability json file * feat: drop old config for JJWT * Revert "feat: drop old config for JJWT" This reverts commit ed29cf4684454b0d5e3f1a284b479e2bb6872ad7. * chore: JJWT finally working now * test: fix test cases * ci: fix permissions * test: add more test cases --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
64 lines
2.5 KiB
YAML
64 lines
2.5 KiB
YAML
# https://taskfile.dev
|
|
|
|
version: '3'
|
|
|
|
vars:
|
|
GREETING: Hello, World!
|
|
|
|
tasks:
|
|
docker-build-web:
|
|
desc: Build the tasknote-web prod-ready docker image, tagging it as candidate
|
|
cmd: docker build --no-cache --build-arg VITE_BUILD="v999-$(date '+%Y-%m-%d-%H%M%S')" --build-arg SOURCE_PR="v999-123456789-$(date '+%Y-%m-%d-%H%M%S')" -t ghcr.io/ricardo-campos-org/react-typescript-todolist/tasknote-web:candidate ./client
|
|
|
|
docker-build-api:
|
|
desc: Build the tasknote-api prod-ready docker image, tagging it as candidate
|
|
cmd: docker build --no-cache --build-arg BUILD="v999-$(date '+%Y-%m-%d-%H%M%S')" --build-arg SOURCE_PR="v999-123456789-$(date '+%Y-%m-%d-%H%M%S')" -t ghcr.io/ricardo-campos-org/react-typescript-todolist/tasknote-api:candidate ./server
|
|
|
|
prod-up-web:
|
|
desc: Speed up the tasknote-web prod-like image, building it if required
|
|
cmd: docker compose -f docker-compose.prod.yml up -d tasknote-web
|
|
|
|
prod-up-api:
|
|
desc: Speed up the tasknote-api prod-like image, building it if required
|
|
cmd: docker compose -f docker-compose.prod.yml up -d tasknote-api
|
|
|
|
prod-up-db:
|
|
desc: Start the database container
|
|
cmd: docker compose -f docker-compose.prod.yml up -d tasknote-db
|
|
|
|
prod-up:
|
|
desc: Speed up the prod-like images for both tasknote-api and tasknote-web, building them if required
|
|
cmd: docker compose -f docker-compose.prod.yml up -d
|
|
|
|
prod-stop:
|
|
desc: Stop prod containers
|
|
cmd: docker compose -f docker-compose.prod.yml stop
|
|
|
|
prod-tier-down:
|
|
desc: Stop and remove prod containers
|
|
cmd: docker compose -f docker-compose.prod.yml down --remove-orphans
|
|
|
|
dev-run-web:
|
|
desc: Get the tasknote-web up and running locally inside docker ready for development
|
|
cmd: docker compose -f docker-compose.dev.yml up -d tasknote-web
|
|
|
|
dev-run-api:
|
|
desc: Get the tasknote-api up and running locally inside docker ready for development
|
|
cmd: docker compose -f docker-compose.dev.yml up -d tasknote-api
|
|
|
|
dev-run-db:
|
|
desc: Get the tasknote-db up and running locally inside docker ready for development
|
|
cmd: docker compose -f docker-compose.dev.yml up -d tasknote-db
|
|
|
|
dev-run:
|
|
desc: Get both tasknote-web and tasknote-api up and running locally inside docker ready for development
|
|
cmd: docker compose -f docker-compose.dev.yml up -d
|
|
|
|
dev-stop:
|
|
desc: Stop dev containers
|
|
cmd: docker compose -f docker-compose.dev.yml stop
|
|
|
|
dev-tier-down:
|
|
desc: Stop and remove dev containers
|
|
cmd: docker compose -f docker-compose.dev.yml down --remove-orphans
|