Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tinybirdco/ci
Collection of configuration files that enable CI flows for Tinybird projects
https://github.com/tinybirdco/ci
Last synced: about 2 months ago
JSON representation
Collection of configuration files that enable CI flows for Tinybird projects
- Host: GitHub
- URL: https://github.com/tinybirdco/ci
- Owner: tinybirdco
- License: mit
- Created: 2023-05-03T07:19:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-30T13:30:48.000Z (about 2 months ago)
- Last Synced: 2024-07-30T16:38:26.661Z (about 2 months ago)
- Language: Shell
- Size: 383 KB
- Stars: 2
- Watchers: 5
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: .gitlab/README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Iterating your Tinybird data projects with a GitLab repository
Follow the [`Working with version control`](https://www.tinybird.co/docs/production/working-with-version-control) guide, which explains how to set up your GitLab CI for iterating your Tinybird data project.
A new ENV variable `TB_ADMIN_TOKEN` will be needed in your repository.> Visit `Settings >> CI/CD >> Variables` section, and "Add variable"
If a tailored CI/CD solution is needed, take a look at our [ci_cd.yml](https://github.com/tinybirdco/ci/blob/main/.gitlab/ci_cd.yml) file.
## Snippets
These are some snippets to include in your GitLab CI configuration file for improving your developer experience:
### Pre-commit formatting
```yml
pre-commit:
stage: test
image: registry.gitlab.com/winny/pre-commit-docker:latest
variables:
PRE_COMMIT_HOME: .pre-commit-cache
cache:
- key:
files: [.pre-commit-config.yaml]
paths: [.pre-commit-cache]
script:
- tb fmt --yes --line-length 100
```