tfy apply
command
A few things that you will need to think about in setting up your CI/CD pipeline are:
1. Do you want to build the docker image in your CI pipeline or inside Truefoundry?
Usually, we recommend to build the docker image in Truefoundry since its much faster and reduces cost in your CI pipeline. However, if you have any custom build requirements, you can build the image in your CI pipeline - you will just need to make a few changes in your CI configuration.
Click on Setup CI/CD Button and choose your CI/CD provider
Decide how you want to setup the CI/CD pipeline
Option | Where to build the docker image | Keep the YAML spec in Git |
---|---|---|
Update Code, Build and Deploy Using Truefoundry | Truefoundry | True |
Deploy Docker Image on Truefoundry with spec in Git repository | CI Pipeline | False |
Maintain Spec in Git and build and deploy via Truefoundry | Truefoundry | True |
Build and deploy latest commit without maintaining spec in Git | Truefoundry | False |
Deploy docker image on TrueFoundry without spec in Git repository | CI Pipeline | False |