File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ helm_resource(
8787## also nri-bundle that is expected by some tests.
8888local_resource (
8989 'local-child-chart-upload' ,
90+ allow_parallel = True ,
9091 cmd = """
9192 rm -rf local/helm-charts-tmp &&
9293 git clone --depth=1 https://github.com/newrelic/helm-charts --branch """ + feature_branch + """ local/helm-charts-tmp &&
@@ -142,6 +143,21 @@ if license_key != '':
142143if cluster != '' :
143144 ac_flags .append ('--set=global.cluster=' + cluster )
144145
146+
147+ local_resource (
148+ 'wait-install-job' ,
149+ allow_parallel = True ,
150+ cmd = "kubectl wait --for=create --timeout=200s job/ac-agent-control-install-job" ,
151+ resource_deps = ['local-child-chart-upload' ],
152+ )
153+
154+ local_resource (
155+ 'log-install-job' ,
156+ allow_parallel = True ,
157+ serve_cmd = "while true ; do kubectl logs -f job/ac-agent-control-install-job || sleep 1; continue ; done" ,
158+ resource_deps = ['wait-install-job' ],
159+ )
160+
145161#### Installs charts
146162helm_resource (
147163 'agent-control' ,
You can’t perform that action at this time.
0 commit comments