On Gitlab:
I have a project, called “First-Main-Project”, I have a subproject called “Sub-Project”. Within the subproject, I have a folder called “Files_All”. Within that folder, I have another folder called “Listings”, with various files.
(i.e, First-Main-Project/Sub-Project/Files_All/Listings)
I have a project, called “Master-Project”, I have a subproject called “Sub-Project-2”. Within the subproject, I have a folder called “Main-Listings”. Within that folder, I have another folder called “All-Listings”. Within that folder, I have another folder called “Listings-1”.
(i.e, Master-Project/Sub-Project-2/Main-Listings/All-Listings/Listings-1)
I am trying to export the contents of the folder “Listings” within the project “First-Main-Project” into “Listings-1” within the project “Master-Project” using the Gitlab UI. I was thinking of using the .gitlab-ci.yml YAML File to do so that every time the pipeline runs, it will do that.
I am open to other suggestions. I have been reading the Gitlab documentation:
https://docs.gitlab.com/ee/user/project/settings/import_export.html
But, it refers to exporting the whole gitlab project as a whole, not specific segments of the project. Furthermore, I’m trying to automate the process, and I can’t find any other resources that are helping me figure this out, if it’s possible.
I’ve also been looking at the potential to using Python scripts within the Gitlab environment.
Is it possible to do this? If so, how can I achieve this?