Hello,
We are migrating from legacy dataform to GCP dataform. Our existing scheduling (in Legacy dataform) is based on call rest api app.dataform.co, so we want to use the same approach for GCP dataform.
we created a releaseConfig per environnement : releaseConfig dev will use dev git branch ,
releaseConfig int will use git int branch and releaseConfig prd will use prd git branch.
All these release config are not automatically scheduled
Then we developed a git CI that will launch Compilation of releaseConfig when new commit is added in dev, int and prd branch
The problem that we can't get the last compilation_result_id when we execute this
GET https://dataform.googleapis.com/v1beta1/projects/project_id/locations/region/repositories/repo-name/compilationResults
it returns all the compilationResults but without release time so we can't know witch compilation result we must use and witch one is the last ..
when we lanch this one:
GET https://dataform.googleapis.com/v1beta1/projects/project_id/locations/region/repositories/repo-name/releaseConfigs/releaseConfig-name
it returns the initial releaseCompilationResult or the releaseCompilationResult that we updated in the UI, but not the one that we updated with our Git CI
when we schedule the compilation it returns all recentScheduledReleaseRecords , how I can get that but without scheduling compilation because we don't want to schedule the compilation...