File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ jobs:
210
210
run : |
211
211
echo waiting for containers to start
212
212
sleep 30
213
- curl http://localhost:8002/preview/ansible/automation-hub/ | tee /dev/stderr | grep '/preview /apps/chrome/js/'
213
+ curl http://localhost:8002/preview/ansible/automation-hub/ | tee /dev/stderr | grep '/beta /apps/chrome/js/'
214
214
sleep 30
215
215
216
216
- name : " Ensure galaxykit can connect to API (standalone)"
Original file line number Diff line number Diff line change @@ -122,8 +122,13 @@ module.exports = (inputConfigs) => {
122
122
// insights dev
123
123
...( ! isStandalone &&
124
124
! isBuild && {
125
- appUrl : customConfigs . UI_BASE_PATH ,
126
- deployment : cloudBeta !== 'false' ? 'preview/apps' : 'apps' ,
125
+ appUrl : customConfigs . UI_BASE_PATH . includes ( '/preview/' )
126
+ ? [
127
+ customConfigs . UI_BASE_PATH ,
128
+ customConfigs . UI_BASE_PATH . replace ( '/preview/' , '/beta/' ) ,
129
+ ]
130
+ : customConfigs . UI_BASE_PATH ,
131
+ deployment : cloudBeta !== 'false' ? 'beta/apps' : 'apps' ,
127
132
standalone : {
128
133
api : {
129
134
context : [ customConfigs . API_BASE_PATH ] ,
@@ -138,7 +143,7 @@ module.exports = (inputConfigs) => {
138
143
// insights deployments from master
139
144
...( ! isStandalone &&
140
145
cloudBeta && {
141
- deployment : cloudBeta === 'true' ? 'preview /apps' : 'apps' ,
146
+ deployment : cloudBeta === 'true' ? 'beta /apps' : 'apps' ,
142
147
} ) ,
143
148
} ) ;
144
149
You can’t perform that action at this time.
0 commit comments