commit
This commit is contained in:
@@ -211,7 +211,7 @@ data:
|
||||
curl -sS -u "shodan:${SHODAN_PW}" \
|
||||
-H 'Content-Type: application/json' \
|
||||
-X POST http://localhost:3000/api/v1/repos/Undercloud/k8s-apps/push_mirrors \
|
||||
-d '{"remote_address":"http://git.undercloud.local:3000/Undercloud/k8s-apps.git","remote_username":"shodan","remote_password":"'"$SHODAN_PW"'","interval":"1h0m0s","sync_on_commit":false}'
|
||||
-d '{"remote_address":"http://git.undercloud.local:3000/Undercloud/k8s-apps.git","remote_username":"shodan","remote_password":"'"$SHODAN_PW"'","interval":"1h0m0s","sync_on_commit":true}'
|
||||
|
||||
# optional: trigger immediate sync of all push mirrors for this repo
|
||||
# curl -sS -u "shodan:${SHODAN_PW}" -X POST http://localhost:3000/api/v1/repos/Undercloud/k8s-apps/push_mirrors-sync
|
||||
@@ -236,7 +236,7 @@ data:
|
||||
curl -sS -u "shodan:${SHODAN_PW}" \
|
||||
-H 'Content-Type: application/json' \
|
||||
-X POST http://localhost:3000/api/v1/repos/Undercloud/assets/push_mirrors \
|
||||
-d '{"remote_address":"http://git.undercloud.local:3000/Undercloud/assets.git","remote_username":"shodan","remote_password":"'"$SHODAN_PW"'","interval":"1h0m0s","sync_on_commit":false}'
|
||||
-d '{"remote_address":"http://git.undercloud.local:3000/Undercloud/assets.git","remote_username":"shodan","remote_password":"'"$SHODAN_PW"'","interval":"1h0m0s","sync_on_commit":true}'
|
||||
|
||||
|
||||
echo "create startup.ran file..."
|
||||
|
||||
Reference in New Issue
Block a user