mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-11 09:53:32 +03:00
e41984d0a5
ref https://linear.app/tryghost/issue/ANAL-27/setup-tinybird-project-and-cicd - Tinybird has a system for managing it's configuration as code, with full ci/cd support - The tinybird CLI tool uses python, so we'll run that using docker, via `yarn tb` - Some of the files tinybird adds should not be in source control, so we've added those to git ignore - Everything in /ghost/tinybird is tinybird's init config
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
|
|
# VERSION format is major.minor.patch-post where major, minor, patch and post are integer numbers
|
|
# bump post to deploy to the current live Release, rollback to previous post version is not available
|
|
# bump patch or minor to deploy a new Release and auto-promote it to live. Add TB_AUTO_PROMOTE=0 to create the Release in preview status
|
|
# bump major to deploy a new Release in preview status
|
|
VERSION=0.0.0
|
|
|
|
|
|
|
|
##########
|
|
# OPTIONAL env vars
|
|
# Deploy a new Release in preview status (default is 1)
|
|
# TB_AUTO_PROMOTE=0
|
|
|
|
# Check if deploy requires backfilling on preview (default is 1)
|
|
# TB_CHECK_BACKFILL_REQUIRED=0
|
|
|
|
# Force old Releases deletion on promote (default is 0)
|
|
# Setting it to 1 will remove oldest rollback Releases even when some resource is still in use
|
|
# TB_FORCE_REMOVE_OLDEST_ROLLBACK=0
|
|
|
|
# Don't print CLI version warning message if there's a new available version
|
|
# TB_VERSION_WARNING=0
|
|
|
|
# Skip regression tests
|
|
# TB_SKIP_REGRESSION=0
|
|
|
|
# Use `OBFUSCATE_REGEX_PATTERN` and `OBFUSCATE_PATTERN_SEPARATOR` environment variables to define a regex pattern and a separator (in case of a single string with multiple regex) to obfuscate secrets in the CLI output.
|
|
# OBFUSCATE_REGEX_PATTERN="https://(www\.)?[^/]+||^Follow these instructions =>"
|
|
# OBFUSCATE_PATTERN_SEPARATOR=||
|
|
##########
|