Skip to content

Commit cba07f3

Browse files
committed
Merge branch '526-platform-ui-fix-snippet' into 'master'
fix(ui): update docker snippet, replace button position (#526) Closes #526 See merge request postgres-ai/database-lab!783
2 parents 8685499 + 091d5d3 commit cba07f3

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

ui/packages/platform/src/components/DbLabInstanceForm/DbLabFormSteps/AnsibleInstance.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ export const AnsibleInstance = ({
243243
margin: '20px 0',
244244
}}
245245
>
246-
<Button variant="contained" color="primary" onClick={goBack}>
247-
See list of instances
248-
</Button>
249246
<Button variant="outlined" color="secondary" onClick={goBackToForm}>
250247
Back to form
251248
</Button>
249+
<Button variant="contained" color="primary" onClick={goBack}>
250+
See list of instances
251+
</Button>
252252
</Box>
253253
</>
254254
)}

ui/packages/platform/src/components/DbLabInstanceForm/DbLabFormSteps/DockerInstance.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ export const DockerInstance = ({
154154
margin: '20px 0',
155155
}}
156156
>
157-
<Button variant="contained" color="primary" onClick={goBack}>
158-
See list of instances
159-
</Button>
160157
<Button variant="outlined" color="secondary" onClick={goBackToForm}>
161158
Back to form
162159
</Button>
160+
<Button variant="contained" color="primary" onClick={goBack}>
161+
See list of instances
162+
</Button>
163163
</Box>
164164
</>
165165
)}

ui/packages/platform/src/components/DbLabInstanceInstallForm/DbLabFormSteps/AnsibleInstance.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,16 @@ export const AnsibleInstance = ({
143143
margin: '20px 0',
144144
}}
145145
>
146-
<Button variant="contained" color="primary" onClick={goBack}>
147-
See list of instances
148-
</Button>
149146
<Button
150147
variant="outlined"
151148
color="secondary"
152149
onClick={goBackToForm}
153150
>
154151
Back to form
155152
</Button>
153+
<Button variant="contained" color="primary" onClick={goBack}>
154+
See list of instances
155+
</Button>
156156
</Box>
157157
</>
158158
)}

ui/packages/platform/src/components/DbLabInstanceInstallForm/DbLabFormSteps/DockerInstance.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ export const DockerInstance = ({
113113
margin: '20px 0',
114114
}}
115115
>
116-
<Button variant="contained" color="primary" onClick={goBack}>
117-
See list of instances
118-
</Button>
119116
<Button
120117
variant="outlined"
121118
color="secondary"
122119
onClick={goBackToForm}
123120
>
124121
Back to form
125122
</Button>
123+
<Button variant="contained" color="primary" onClick={goBack}>
124+
See list of instances
125+
</Button>
126126
</Box>
127127
</>
128128
)}

ui/packages/platform/src/components/DbLabInstanceInstallForm/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const getPlaybookCommand = (
77
state: typeof initialState,
88
orgKey: string,
99
) =>
10-
`docker run --rm -it postgresai/dle-se-ansible:v1.0-rc.1 \\\r
10+
`docker run --rm -it -v $HOME/.ssh:/root/.ssh:ro -e ANSIBLE_SSH_ARGS="-F none" postgresai/dle-se-ansible:v1.0-rc.3 \\\r
1111
ansible-playbook deploy_dle.yml --extra-vars \\\r
1212
"dle_host='user@server-ip-address' \\\r
1313
dle_platform_project_name='${state.name}' \\\r

0 commit comments

Comments
 (0)