File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ kubectl wait pod --all --for=condition=Ready --namespace=gitea --timeout=90s
6666# ##############################################################
6767
6868h1 Create git repos in gitea
69- curl -v -k -H " content-type: application/json" " http://nephio:secret@${gitea_ip} :3000/api/v1/user/repos" --data " {\" name\" :\" $git_repo_name \" }"
69+ curl -v -k -H " content-type: application/json" " http://nephio:secret@localhost :3000/api/v1/user/repos" --data " {\" name\" :\" $git_repo_name \" }"
7070TMP_DIR=$( mktemp -d)
7171cd " $TMP_DIR "
72- git clone " http://nephio:secret@${gitea_ip} :3000/nephio/$git_repo_name .git"
72+ git clone " http://nephio:secret@localhost :3000/nephio/$git_repo_name .git"
7373cd " $git_repo_name "
7474if ! git rev-parse -q --verify refs/remotes/origin/main > /dev/null; then
7575 echo " Add main branch to git repo:"
@@ -86,15 +86,15 @@ cd "${git_root}"
8686rm -fr " $TMP_DIR "
8787
8888test_git_repo_name=" test-blueprints"
89- curl -v -k -H " content-type: application/json" " http://nephio:secret@${gitea_ip} :3000/api/v1/user/repos" --data " {\" name\" :\" $test_git_repo_name \" }"
89+ curl -v -k -H " content-type: application/json" " http://nephio:secret@localhost :3000/api/v1/user/repos" --data " {\" name\" :\" $test_git_repo_name \" }"
9090TMP_DIR=$( mktemp -d)
9191cd " $TMP_DIR "
9292git clone " ${git_root} /test/pkgs/test-pkgs/test-blueprints.bundle" -b main
9393cd " $test_git_repo_name "
9494
9595git gc
9696git remote rename origin upstream
97- git remote add origin " http://nephio:secret@${gitea_ip} :3000/nephio/$test_git_repo_name "
97+ git remote add origin " http://nephio:secret@localhost :3000/nephio/$test_git_repo_name "
9898git push -u origin --all
9999git push -u origin --tags
100100
You can’t perform that action at this time.
0 commit comments