- Feedback improved when adding Pull Request labels in the
tb branch regression-testscommand if there is aregression.yamlconfig file defined - Added
git_depthon GitHubcd.ymlandci.ymlin order to parametrize git checkout depth MR - Added
use_last_partitioninput variable. Set to false to create branches in CI with no data.
- Add new
checkjob 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: trueinputtinybird_ci.yml - Remove
rollbackandrmjobs from GitHub Actions - Remove
release_rollbackandrelease_rmfrom GitLab CI.
- Add
CI_FLAGSandCD_FLAGSenv vars totb deploy, they can be defined per Data Project and PR via.tinyenv - Update rollback job to include the
--yesflag totb release rollback - Split CI jobs into:
- Deployment + test
- Make deployment idempotent in CI and CD.
- Remove
ci-deploy.shandcd-deploy.shin favour ofdeploy.sh - Add
postdeploy.shas 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_rollbackandrm_oldest_rollbackjobs to delete the oldest rollback Release by creation date
Read this to migrate from v2.x to v3.0.0
- Support for
./tests/regression.yamlinside the Data Project folder. More information here.
- Fix manual jobs for v3 releases on GitHub
- Fix: Do
tb authbefore 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.txtfile inside the Data Project folder. That way you can control which version of thetinybird-clito 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
closedtype 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 --gitusing the latest version oftinybird-clito re-generate the CI/CD templates. -
.tinyenvnow 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. -
.tinyenvvariables written toGITHUB_ENVto make them available in all GitHub Actions workflow