Squashed '.gitlab/' changes from ba12c92..da69418
da69418Switch to url-based subtree with `make-update` git-subtree-dir: .gitlab git-subtree-split:da69418b0d
This commit is contained in:
6
Makefile
6
Makefile
@@ -8,3 +8,9 @@ include .gitlab/make/docker.makefile
|
||||
include .gitlab/make/helm.makefile
|
||||
include .gitlab/make/kaniko.makefile
|
||||
include .gitlab/make/truenas.makefile
|
||||
|
||||
.PHONY: make-update
|
||||
make-update:
|
||||
@git stash
|
||||
@git subtree pull --prefix .gitlab git@gitlab.ducoterra.net:services/common.git main --squash
|
||||
@git stash pop
|
||||
|
||||
@@ -2,9 +2,8 @@
|
||||
|
||||
```bash
|
||||
# Add the subtree as a remote
|
||||
git remote add common git@gitlab.ducoterra.net:services/common.git
|
||||
git subtree add --prefix .gitlab common main
|
||||
git subtree add --prefix .gitlab git@gitlab.ducoterra.net:services/common.git main --squash
|
||||
|
||||
# Now you can run the following to update
|
||||
git subtree pull --prefix .gitlab common main
|
||||
make make-update
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user