File tree Expand file tree Collapse file tree 6 files changed +69
-2
lines changed Expand file tree Collapse file tree 6 files changed +69
-2
lines changed Original file line number Diff line number Diff line change 75
75
-D includeExamples="y" \
76
76
-D includeFormsenrollment="y"
77
77
# Set global git configuration
78
+ - name : Test SDK update
79
+ run : |
80
+ archetype/src/main/archetype/dispatcher.cloud/test/test_dispatcher_sdk_update.sh sitesdemo archetype/src/main/archetype/dispatcher.cloud/test/dummy_sdk
78
81
- name : Set git config
79
82
run : |
80
83
git config --global credential.helper cache
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ local.properties
20
20
# External tool builders
21
21
.externalToolBuilders /
22
22
23
+ # Escape dummy_sdk bin folder
24
+ ! dispatcher.cloud /test /dummy_sdk /bin
25
+
23
26
# Locally stored "Eclipse launch configurations"
24
27
* .launch
25
28
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # Copyright 2022 Adobe Systems Incorporated
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ version=2.0.110
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copyright 2022 Adobe Systems Incorporated
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+
18
+ if [ -n " $1 " ]; then
19
+ echo " Updated SDK!"
20
+ else
21
+ echo " Failed to update SDK!"
22
+ exit 1
23
+ fi
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copyright 2022 Adobe Systems Incorporated
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ siteDir=" $1 "
18
+ sdkDir=" $2 "
19
+ dispatcherDir=" $siteDir /dispatcher"
20
+
21
+ " $dispatcherDir /update_sdk.sh" " $sdkDir "
Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ if [[ ! -e "${sdkPath}/bin/docker_run.sh" ]]; then
34
34
exit -1
35
35
fi
36
36
37
- sdkVersion =$( cat ${sdkPath} /bin/docker_run.sh | grep version= | cut -f2 -d ' =' )
37
+ dispatcherVersion =$( cat ${sdkPath} /bin/docker_run.sh | grep version= | cut -f2 -d ' =' )
38
38
39
39
if [[ -z " $sdkPath " ]]; then
40
40
echo " Cannot evaluate SDK. Is it a valid path to a dispatcher SDK?"
41
41
usage
42
42
exit -1
43
43
fi
44
44
45
- echo " Attempting to upgrade to dispatcher SDK version $sdkVersion ..."
45
+ echo " Attempting to upgrade to dispatcher SDK version $dispatcherVersion ..."
46
46
47
47
if [[ ! -e " ${sdkPath} /bin/update_maven.sh" ]]; then
48
48
echo " The dispatcher SDK version that you have chosen does not yet support updates."
You can’t perform that action at this time.
0 commit comments