Skip to content

Commit 8fb3bff

Browse files
committed
improve git interaction docs
1 parent d76d526 commit 8fb3bff

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

docs/modules/demos/pages/argo-cd-git-ops.adoc

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -269,15 +269,14 @@ Once this is pushed / merged, ArgoCD should sync the changes and you should see
269269

270270
=== Add new Airflow DAGs
271271

272-
Similar to ArgoCD, after adding a new DAG to the folder `demos/argo-cd-git-ops/dags`, Airflow should pick up the new DAG via gitsync and display it in the UI.
273-
274-
275-
276-
277-
278-
279-
280-
281-
272+
In the `demos/argo-cd-git-ops/manifests/airflow/airflow.yaml` manifest you have to adapt the gitsync configuration for DAGs to the forked repository:
282273

274+
[source,yaml]
275+
----
276+
dagsGitSync:
277+
- repo: <my-demo-fork-url>
278+
branch: <my-custom-branch-with-changes>
279+
[...]
280+
----
283281

282+
Similar to ArgoCD, after adding a new DAG to the folder `demos/argo-cd-git-ops/dags`, Airflow should pick up the new DAG via gitsync and display it in the UI.

0 commit comments

Comments
 (0)