quality / commitlint (push) Skipped
quality / changes (push) Successful in 18s
quality / docker-check (push) Skipped
quality / openapi (push) Successful in 1m31s
quality / web (push) Successful in 1m7s
quality / api (push) Failing after 40s
CD / quality (push) Failing after 3m43s
CD / publish (push) Skipped
- Added .release-version, CHANGELOG.md, and deploy/docker/docker-bake.override.hcl to .gitignore. - Removed Dockerfile as part of the cleanup. - Updated AGENTS.md and README.md to include new documentation on CI/Docker processes and deployment instructions. - Enhanced package.json with new devDependencies for commit linting and semantic release. - Updated pnpm-lock.yaml to reflect new dependencies and versions. These changes streamline the project structure and improve documentation clarity.
25 lines
1.1 KiB
Bash
25 lines
1.1 KiB
Bash
#!/usr/bin/env sh
|
|
# Optional helper for local bake when env-based Bake variables are inconvenient.
|
|
# CI задаёт те же имена переменных в окружении и вызывает bake без этого файла.
|
|
set -eu
|
|
OUT="${1:-docker-bake.override.hcl}"
|
|
REGISTRY="${REGISTRY:?REGISTRY required}"
|
|
IMAGE_TAG="${IMAGE_TAG:-latest}"
|
|
SHORT_SHA="${SHORT_SHA:-dev}"
|
|
SHA_FULL="${SHA_FULL:-}"
|
|
VERSION="${VERSION:-dev}"
|
|
BUILD_TIME="${BUILD_TIME:-}"
|
|
CACHE_REF_NODE="${CACHE_REF_NODE:-}"
|
|
BASE_NODE="${BASE_NODE:-}"
|
|
cat >"$OUT" <<EOF
|
|
# Generated by deploy/docker/write-bake-override.sh — do not commit.
|
|
variable "REGISTRY" { default = "${REGISTRY}" }
|
|
variable "IMAGE_TAG" { default = "${IMAGE_TAG}" }
|
|
variable "SHORT_SHA" { default = "${SHORT_SHA}" }
|
|
variable "SHA_FULL" { default = "${SHA_FULL}" }
|
|
variable "VERSION" { default = "${VERSION}" }
|
|
variable "BUILD_TIME" { default = "${BUILD_TIME}" }
|
|
variable "CACHE_REF_NODE" { default = "${CACHE_REF_NODE}" }
|
|
EOF
|
|
if [ -n "$BASE_NODE" ]; then printf 'variable "BASE_NODE" { default = "%s" }\n' "$BASE_NODE" >>"$OUT"; fi
|