Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 3.21 KB

CHANGELOG.md

File metadata and controls

64 lines (48 loc) · 3.21 KB

v3.1.1 (Next release)

  • Feedback improved when adding Pull Request labels in the tb branch regression-tests command if there is a regression.yaml config file defined
  • Added git_depth on GitHub cd.yml and ci.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.

v3.1.0

  • 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 a tb_format: true input tinybird_ci.yml
  • Remove rollback and rm jobs from GitHub Actions
  • Remove release_rollback and release_rm from GitLab CI.

v3.0.0

  • Add CI_FLAGS and CD_FLAGS env vars to tb deploy, they can be defined per Data Project and PR via .tinyenv
  • Update rollback job to include the --yes flag to tb release rollback
  • Split CI jobs into:
    • Deployment + test
  • Make deployment idempotent in CI and CD.
  • Remove ci-deploy.sh and cd-deploy.sh in favour of deploy.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 and rm_oldest_rollback jobs to delete the oldest rollback Release by creation date

Read this to migrate from v2.x to v3.0.0

v2.5.0

  • Support for ./tests/regression.yaml inside the Data Project folder. More information here.

v2.4.0

  • 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.

v2.3.0

  • Support for a requirements.txt file inside the Data Project folder. That way you can control which version of the tinybird-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
  • 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 of tinybird-cli to re-generate the CI/CD templates.

  • .tinyenv now supports export 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 to GITHUB_ENV to make them available in all GitHub Actions workflow