Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit e0a0d5b

Browse files
chore: Adds a script to prepare repo for migration to main ArgoCD Repo (#766)
* Adds a script to prepare repo for migration to main ArgoCD Repo Signed-off-by: Patroklos Papapetrou <[email protected]> * remove also .gitignore Signed-off-by: Patroklos Papapetrou <[email protected]> * fix script Signed-off-by: Patroklos Papapetrou <[email protected]> * address pr comments Signed-off-by: Patroklos Papapetrou <[email protected]> --------- Signed-off-by: Patroklos Papapetrou <[email protected]>
1 parent dab4cc0 commit e0a0d5b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

prepare.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
mkdir dir1
4+
# Move all files and directories except dir1 and prepare.sh
5+
for item in *; do
6+
if [[ "$item" != "dir1" && "$item" != "prepare.sh" ]]; then
7+
mv "$item" dir1/
8+
fi
9+
done
10+
git rm -r pkg specs agent internal go.* Dockerfile LICENSE OWNERS README.md docs hack codecov.yml sonar-project.properties .github/ .golangci.yaml .gitignore
11+
rm dir1/sonar-project.properties dir1/codecov.yml
12+
mv dir1/ gitops-engine
13+
git checkout -b migrate
14+
git add gitops-engine
15+
git add prepare.sh
16+
git commit --signoff -m "prepare repo for migration to ArgoCD repo"

0 commit comments

Comments
 (0)