Skip to content

Add a CI step that commits a version bump on airflow-dags.

Xcollazo requested to merge add-auto-commit into main

(This MR is similar to the work done on image-suggestions!9 (merged).)

(Additionally, we cannot fully test this job without merging repos/data-engineering/airflow-dags!136 (merged) first.)

In this MR we introduce a bump_on_airflow_dags CI step that will:

  1. Figure out what the latest tarball is.
  2. Make a commit against airflow-dags repo that bumps the artifact definition to that of (1) using sed.
  3. Open up a merge request against airflow-dags.

The following GitLab CI/CD variables were added as part of this work:

  • CI_AUTO_BUMP_PROJECT_ID: points to the project id of airflow-dags.
  • CI_AUTO_BUMP_PASSWORD: this is a Gitlab Project Access Token with api and write_repository access against airflow-dags. Over at airflow-dags config, it is defined with the name auto-push-from-structured-data.

Merge request reports