You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
With this approach demorepo will need to git clone the projects on each job, ssh access (via deployment keys) must be granted to the machine.
In order to track individual branches we could use a default/per project mapping. Notice that if just allow a direct 1/1 (by default) mapping this feature is directly implemented.
demorepo:
branches:
# Here you could map a demorepo branch to each project branch, by default it could just bedevelop: developstaging: stagingmaster: masterprojects:
project1:
path: 'https://github.com/user/project1'branches:
develop: developstaging: stagingmaster: master
I propose that this functionaly may be implemented in multiple commands.
demorepo fetch: will clone/pull the repositories from the origins
demorepo run/stage must be git aware of the current repo branch. It could also fetch the projects by default.
Questions:
Is there a way to retrieve the content of the repository without really cloning a project?? I would be annoying to manually ignore tracking of the fetched code and its subrepos.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Submodules pose some operative problems, I propose switching to explicitly declared repositories.
Currently submodules allow us to perform:
How to implement it:
demorepo.yml
will track repo url, as in any dependency manager.With this approach demorepo will need to
git clone
the projects on each job, ssh access (via deployment keys) must be granted to the machine.In order to track individual branches we could use a default/per project mapping. Notice that if just allow a direct 1/1 (by default) mapping this feature is directly implemented.
I propose that this functionaly may be implemented in multiple commands.
demorepo fetch
: will clone/pull the repositories from the originsdemorepo run/stage
must be git aware of the current repo branch. It could alsofetch
the projects by default.Questions:
Is there a way to retrieve the content of the repository without really cloning a project?? I would be annoying to manually ignore tracking of the fetched code and its subrepos.
The text was updated successfully, but these errors were encountered: