@@ -214,93 +214,6 @@ export const DeployConfigureForm = ({
214214 </ form >
215215 </ Form >
216216 </ AnyPermissionGuard >
217-
218- < ResourceGuard
219- resource = "deploy"
220- action = "read"
221- loadingFallback = { null }
222- >
223- < div className = "space-y-8" >
224- < div className = "grid sm:grid-cols-2 gap-4" >
225- { renderReadOnlyField (
226- t ( 'selfHost.configuration.fields.applicationName.label' ) ,
227- application_name ,
228- t ( 'selfHost.configuration.fields.applicationName.description' )
229- ) }
230- { renderReadOnlyField (
231- t ( 'selfHost.configuration.fields.port.label' ) ,
232- port ,
233- t ( 'selfHost.configuration.fields.port.description' )
234- ) }
235- { renderReadOnlyField (
236- t ( 'selfHost.configuration.fields.basePath.label' ) ,
237- base_path ,
238- t ( 'selfHost.configuration.fields.basePath.description' )
239- ) }
240- { renderReadOnlyField (
241- t ( 'selfHost.configuration.fields.dockerfilePath.label' ) ,
242- dockerFilePath ,
243- t ( 'selfHost.configuration.fields.dockerfilePath.description' )
244- ) }
245- </ div >
246-
247- < div className = "grid sm:grid-cols-2 gap-4" >
248- { renderReadOnlyField (
249- t ( 'selfHost.configuration.fields.environmentVariables.label' ) ,
250- Object . entries ( env_variables )
251- . map ( ( [ key , value ] ) => `${ key } =${ value } ` )
252- . join ( '\n' ) ,
253- t ( 'selfHost.configuration.fields.environmentVariables.description' )
254- ) }
255- { renderReadOnlyField (
256- t ( 'selfHost.configuration.fields.buildVariables.label' ) ,
257- Object . entries ( build_variables )
258- . map ( ( [ key , value ] ) => `${ key } =${ value } ` )
259- . join ( '\n' ) ,
260- t ( 'selfHost.configuration.fields.buildVariables.description' )
261- ) }
262- </ div >
263-
264- < div className = "grid sm:grid-cols-2 gap-4" >
265- { renderReadOnlyField (
266- t ( 'selfHost.configuration.fields.preRunCommands.label' ) ,
267- pre_run_commands ,
268- t ( 'selfHost.configuration.fields.preRunCommands.description' )
269- ) }
270- { renderReadOnlyField (
271- t ( 'selfHost.configuration.fields.postRunCommands.label' ) ,
272- post_run_commands ,
273- t ( 'selfHost.configuration.fields.postRunCommands.description' )
274- ) }
275- </ div >
276-
277- < div className = "grid sm:grid-cols-2 gap-4" >
278- { renderReadOnlyField (
279- t ( 'selfHost.configuration.fields.environment.label' ) ,
280- environment ,
281- t ( 'selfHost.configuration.fields.environment.description' )
282- ) }
283- { renderReadOnlyField (
284- t ( 'selfHost.configuration.fields.branch.label' ) ,
285- branch ,
286- t ( 'selfHost.configuration.fields.branch.description' )
287- ) }
288- </ div >
289-
290- < div className = "grid sm:grid-cols-2 gap-4" >
291- { renderReadOnlyField (
292- t ( 'selfHost.configuration.fields.domain.label' ) ,
293- domain ,
294- t ( 'selfHost.configuration.fields.domain.description' )
295- ) }
296- { renderReadOnlyField (
297- t ( 'selfHost.configuration.fields.buildPack.label' ) ,
298- build_pack ,
299- t ( 'selfHost.configuration.fields.buildPack.description' )
300- ) }
301- </ div >
302- </ div >
303- </ ResourceGuard >
304217 </ ResourceGuard >
305218 ) ;
306219} ;
0 commit comments