- Feedback improved when adding Pull Request labels in the
tb branch regression-tests
command if there is aregression.yaml
config file defined - Added
git_depth
on GitHubcd.yml
andci.yml
in order to parametrize git checkout depth MR - Added
use_last_partition
input variable. Set to false to create branches in CI with no data.
- Add new
check
job in GitHub Actions. It forces format Datafiles so there are no mismatches in the project when working from the UI and git. To activate it create set atb_format: true
inputtinybird_ci.yml
- Remove
rollback
andrm
jobs from GitHub Actions - Remove
release_rollback
andrelease_rm
from GitLab CI.
- Add
CI_FLAGS
andCD_FLAGS
env vars totb deploy
, they can be defined per Data Project and PR via.tinyenv
- Update rollback job to include the
--yes
flag totb release rollback
- Split CI jobs into:
- Deployment + test
- Make deployment idempotent in CI and CD.
- Remove
ci-deploy.sh
andcd-deploy.sh
in favour ofdeploy.sh
- Add
postdeploy.sh
as a custom script to be run before the test job. It can be used to run data operations (such as populates), promote release, etc. - Remove
tb deploy
- Add
dry_run_rm_oldest_rollback
andrm_oldest_rollback
jobs to delete the oldest rollback Release by creation date
Read this to migrate from v2.x to v3.0.0
- Support for
./tests/regression.yaml
inside the Data Project folder. More information here.
- Fix manual jobs for v3 releases on GitHub
- Fix: Do
tb auth
before a custom deployment in the CD templates. Custom deployments where not working in v2.3.0, users in this version of the CD template need to update to v2.4.0.
-
Support for a
requirements.txt
file inside the Data Project folder. That way you can control which version of thetinybird-cli
to install. -
Environments in CI are now created with a fixed name using the Pull Request number.
-
Environments are not cleaned up after CI finishes. This is a very convenient workflow to debug issues directly in the Environment with the changes of the branch deployed.
-
Users updating from previous versions need to do some actions:
- GitHub: Add the
closed
type like this. - GitLab: Change the rule to run the clean up job on merge:
- &cli_cleanup_rule if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH changes: - .gitlab-ci.yml - ./**/* when: always
- GitHub: Add the
-
If you have doubts when updating just drop the .github or .gitlab-ci.yml workflow and re-run
tb init --git
using the latest version oftinybird-cli
to re-generate the CI/CD templates. -
.tinyenv
now supportsexport OBFUSCATE_REGEX_PATTERN=<regex>
to have a list of regex separated by|
to obfuscate the output of regression tests. It requires version 1.0.1 of tinybird-cli. -
.tinyenv
variables written toGITHUB_ENV
to make them available in all GitHub Actions workflow