You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/24 09:43:27 UTC

[GitHub] [airflow] hazelrah-qr opened a new issue, #25928: GitSync does not seem to respect dags.gitSync.subPath

hazelrah-qr opened a new issue, #25928:
URL: https://github.com/apache/airflow/issues/25928

   ### Official Helm Chart version
   
   1.6.0 (latest released)
   
   ### Apache Airflow version
   
   2.3.2
   
   ### Kubernetes Version
   
   1.20.11
   
   ### Helm Chart configuration
   
   ```
   dags.gitSync.branch=develop
   dags.gitSync.subPath=dags
   ```
   
   ```
   dags:
     persistence:
       enabled: true
       size: 1Gi
       storageClassName: "file-dr-off-pdc1"
       accessMode: ReadWriteMany
     gitSync:
       enabled: true
       branch: master
       rev: HEAD
       depth: 1
       maxFailures: 3
       env:
         - name: GIT_SYNC_SUBMODULES
           value: 'off'
   ```
   
   ### Docker Image customisations
   
   _No response_
   
   ### What happened
   
   When applying the provided values.yml the whole repository is still synced, not just the dags folder in the repository.
   ```
   airflow@ci-airflow-scheduler-4k4gn:/opt/airflow/dags/repo$ ls
   README.md  dags  docker-compose.yaml  docker-compose.yml  pyproject.toml  tests
   ```
   
   ### What you think should happen instead
   
   Only the provided subPath would be synced in to `/opt/airflow/dags/repo`
   
   ### How to reproduce
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] boring-cyborg[bot] commented on issue #25928: GitSync does not seem to respect dags.gitSync.subPath

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #25928:
URL: https://github.com/apache/airflow/issues/25928#issuecomment-1225483566

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] hazelrah-qr commented on issue #25928: GitSync does not seem to respect dags.gitSync.subPath

Posted by GitBox <gi...@apache.org>.
hazelrah-qr commented on issue #25928:
URL: https://github.com/apache/airflow/issues/25928#issuecomment-1225483957

   @vezeli 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk closed issue #25928: GitSync does not seem to respect dags.gitSync.subPath

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #25928: GitSync does not seem to respect dags.gitSync.subPath
URL: https://github.com/apache/airflow/issues/25928


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org