Fixing development-pipeline regression
Change-Id: I2f9838a04f332e61cdbfabc3ad2cc18d7b0fc9a5
This commit is contained in:
parent
beefa8dd30
commit
d2692c2e70
@ -31,10 +31,11 @@ spec:
|
|||||||
else
|
else
|
||||||
echo "Namespace already exists, delete all resources for re-run."
|
echo "Namespace already exists, delete all resources for re-run."
|
||||||
kubectl delete pr -n jarvis-$(params.changeNumber)-$(params.patchSetNumber) --all
|
kubectl delete pr -n jarvis-$(params.changeNumber)-$(params.patchSetNumber) --all
|
||||||
helm delete development-pipeline -n jarvis-$(params.changeNumber)-$(params.patchSetNumber)
|
helm delete development-pipeline -n jarvis-$(params.changeNumber)-$(params.patchSetNumber) || true
|
||||||
kubectl delete role -n jarvis-$(params.changeNumber)-$(params.patchSetNumber)
|
kubectl delete role -n jarvis-$(params.changeNumber)-$(params.patchSetNumber) --all
|
||||||
kubectl delete sa -n jarvis-$(params.changeNumber)-$(params.patchSetNumber)
|
kubectl delete secret -n jarvis-$(params.changeNumber)-$(params.patchSetNumber) --all
|
||||||
kubectl delete rolebinding -n jarvis-$(params.changeNumber)-$(params.patchSetNumber)
|
kubectl delete sa -n jarvis-$(params.changeNumber)-$(params.patchSetNumber) --all
|
||||||
|
kubectl delete rolebinding -n jarvis-$(params.changeNumber)-$(params.patchSetNumber) --all
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
create_namespace
|
create_namespace
|
||||||
|
@ -72,7 +72,7 @@ data:
|
|||||||
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
||||||
"chart_repository": "jarvis-harbor",
|
"chart_repository": "jarvis-harbor",
|
||||||
"docker_registry": "harbor-core.jarvis.local",
|
"docker_registry": "harbor-core.jarvis.local",
|
||||||
"harbor_secret_mounted_path": "/workspace/helm-creds"
|
"harbor_secret_mounted_path": "/workspace/helm-creds",
|
||||||
"clone_async_batch_size": 20,
|
"clone_async_batch_size": 20,
|
||||||
"chart_async_batch_size": 20,
|
"chart_async_batch_size": 20,
|
||||||
"image_async_batch_size": 2
|
"image_async_batch_size": 2
|
||||||
|
@ -68,7 +68,7 @@ data:
|
|||||||
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
||||||
"chart_repository": "jarvis-harbor",
|
"chart_repository": "jarvis-harbor",
|
||||||
"docker_registry": "harbor-core.jarvis.local",
|
"docker_registry": "harbor-core.jarvis.local",
|
||||||
"harbor_secret_mounted_path": "/workspace/helm-creds"
|
"harbor_secret_mounted_path": "/workspace/helm-creds",
|
||||||
"clone_async_batch_size": 20,
|
"clone_async_batch_size": 20,
|
||||||
"chart_async_batch_size": 20,
|
"chart_async_batch_size": 20,
|
||||||
"image_async_batch_size": 2
|
"image_async_batch_size": 2
|
||||||
|
@ -72,7 +72,7 @@ data:
|
|||||||
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
||||||
"chart_repository": "jarvis-harbor",
|
"chart_repository": "jarvis-harbor",
|
||||||
"docker_registry": "harbor-core.jarvis.local",
|
"docker_registry": "harbor-core.jarvis.local",
|
||||||
"harbor_secret_mounted_path": "/workspace/helm-creds"
|
"harbor_secret_mounted_path": "/workspace/helm-creds",
|
||||||
"clone_async_batch_size": 20,
|
"clone_async_batch_size": 20,
|
||||||
"chart_async_batch_size": 20,
|
"chart_async_batch_size": 20,
|
||||||
"image_async_batch_size": 2
|
"image_async_batch_size": 2
|
||||||
|
@ -72,7 +72,7 @@ data:
|
|||||||
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
||||||
"chart_repository": "jarvis-harbor",
|
"chart_repository": "jarvis-harbor",
|
||||||
"docker_registry": "harbor-core.jarvis.local",
|
"docker_registry": "harbor-core.jarvis.local",
|
||||||
"harbor_secret_mounted_path": "/workspace/helm-creds"
|
"harbor_secret_mounted_path": "/workspace/helm-creds",
|
||||||
"clone_async_batch_size": 20,
|
"clone_async_batch_size": 20,
|
||||||
"chart_async_batch_size": 20,
|
"chart_async_batch_size": 20,
|
||||||
"image_async_batch_size": 2
|
"image_async_batch_size": 2
|
||||||
|
@ -72,7 +72,7 @@ data:
|
|||||||
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
||||||
"chart_repository": "jarvis-harbor",
|
"chart_repository": "jarvis-harbor",
|
||||||
"docker_registry": "harbor-core.jarvis.local",
|
"docker_registry": "harbor-core.jarvis.local",
|
||||||
"harbor_secret_mounted_path": "/workspace/helm-creds"
|
"harbor_secret_mounted_path": "/workspace/helm-creds",
|
||||||
"clone_async_batch_size": 20,
|
"clone_async_batch_size": 20,
|
||||||
"chart_async_batch_size": 20,
|
"chart_async_batch_size": 20,
|
||||||
"image_async_batch_size": 2
|
"image_async_batch_size": 2
|
||||||
|
@ -72,7 +72,7 @@ data:
|
|||||||
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
"chart_registry_url": "harbor-core.jarvis.local/chartrepo",
|
||||||
"chart_repository": "jarvis-harbor",
|
"chart_repository": "jarvis-harbor",
|
||||||
"docker_registry": "harbor-core.jarvis.local",
|
"docker_registry": "harbor-core.jarvis.local",
|
||||||
"harbor_secret_mounted_path": "/workspace/helm-creds"
|
"harbor_secret_mounted_path": "/workspace/helm-creds",
|
||||||
"clone_async_batch_size": 20,
|
"clone_async_batch_size": 20,
|
||||||
"chart_async_batch_size": 20,
|
"chart_async_batch_size": 20,
|
||||||
"image_async_batch_size": 2
|
"image_async_batch_size": 2
|
||||||
|
@ -77,7 +77,7 @@ for jarvis_project in `find ./tools/gate/jarvis/5G-SA-core -maxdepth 1 -mindepth
|
|||||||
end=$((end + timeout))
|
end=$((end + timeout))
|
||||||
while true; do
|
while true; do
|
||||||
result="$(curl -L https://gerrit.jarvis.local/changes/${CHANGE_ID_COUNTER}/revisions/1/checks | tail -1 | jq -r .[].state)"
|
result="$(curl -L https://gerrit.jarvis.local/changes/${CHANGE_ID_COUNTER}/revisions/1/checks | tail -1 | jq -r .[].state)"
|
||||||
[ $result == "SUCCESSFUL" ] && break || [ $result == "FAILED" ] && break || true
|
[ $result == "SUCCESSFUL" ] && break || true
|
||||||
sleep 25
|
sleep 25
|
||||||
now=$(date +%s)
|
now=$(date +%s)
|
||||||
if [ $now -gt $end ] ; then
|
if [ $now -gt $end ] ; then
|
||||||
|
0
tools/gate/jarvis/standard-container/assets/jarvis/build_docker_image.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/build_docker_image.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/cleanup.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/cleanup.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/deployment_manifests.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/deployment_manifests.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/functional_deploy.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/functional_deploy.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/functional_test.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/functional_test.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/get_image_scan_results.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/get_image_scan_results.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/get_kubeconfig.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/get_kubeconfig.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/git_clone_chart_repo.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/git_clone_chart_repo.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/git_clone_image_repo.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/git_clone_image_repo.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/lint_dryrun_chart.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/lint_dryrun_chart.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/package_chart.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/package_chart.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/promote_artifacts.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/promote_artifacts.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/publish_chart.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/publish_chart.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/push_docker_image.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/push_docker_image.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/setup_chart_config.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/setup_chart_config.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/setup_cleanup_config.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/setup_cleanup_config.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/setup_cluster_config.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/setup_cluster_config.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/setup_image_config.sh
Normal file → Executable file
0
tools/gate/jarvis/standard-container/assets/jarvis/setup_image_config.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user