Skip to content

Commit 69156ba

Browse files
committed
update snytax in example
1 parent 9473a23 commit 69156ba

File tree

6 files changed

+3221
-2523
lines changed

6 files changed

+3221
-2523
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
with:
14-
node-version: '14'
14+
node-version: '18'
1515
- run: yarn install
1616
- run: yarn build

.github/workflows/deploy.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
with:
14-
node-version: '14'
14+
node-version: '18'
1515
- run: yarn install
1616
- run: yarn build
1717
- uses: kheiakiyama/install-azcopy-action@v1
@@ -21,7 +21,3 @@ jobs:
2121
- run: azcopy_v10 copy './docs' '${{ secrets.HELP_CONTENT_URL }}/content/${{ github.repository }}?${{ secrets.HELP_CONTENT_TOKEN }}' --recursive
2222
- run: azcopy_v10 copy './static' '${{ secrets.HELP_CONTENT_URL }}/content/${{ github.repository }}?${{ secrets.HELP_CONTENT_TOKEN }}' --recursive
2323
- run: azcopy_v10 copy './sidebars.js' '${{ secrets.HELP_CONTENT_URL }}/content/${{ github.repository }}?${{ secrets.HELP_CONTENT_TOKEN }}'
24-
# publish compiled output to existing app
25-
- run: yarn install
26-
- run: yarn build
27-
- run: azcopy_v10 copy 'build/*' '${{ secrets.DOCS_STORAGE_URL }}/${{ secrets.DOCS_STORAGE_PATH }}?${{ secrets.DOCS_STORAGE_KEY }}' --recursive

docs/batch-devops-integration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,33 +111,33 @@ Devops.SMAOpConDeployClient.exe supports the following arguments:
111111
## Examples
112112

113113
```
114-
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "EXPORT" -t "SCHEDULE" - tn "SCH001" -o "OPCONDEV" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
114+
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "EXPORT" -t "SCHEDULE" -tn "SCH001" -o "OPCONDEV" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
115115
```
116116
In the above example, schedule SCH001 is extracted from OpCon system OPCONDEV, inserted into the Deploy repository and written into file c:\test\data\SCH001.json. For schedule definitions, the .json extension is added to the schedule name.
117117

118118
```
119-
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "EXPORT" -t "SCRIPT" - tn "scripta" -v 5 -o "OPCONDEV" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
119+
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "EXPORT" -t "SCRIPT" -tn "scripta" -v 5 -o "OPCONDEV" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
120120
```
121121
In the above example, version 5 of script scripta is extracted from OpCon system OPCONDEV, inserted into the Deploy repository (if script record not found, a script record is created) and written into file c:\test\data\scripta.
122122

123123
```
124-
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "DEPLOY" -t "SCHEDULE" - tn "SCH001" -f "c:\test\data\SCH001.json" -o "OPCONTST" -d "REL 22.0.1" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
124+
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "DEPLOY" -t "SCHEDULE" -tn "SCH001" -f "c:\test\data\SCH001.json" -o "OPCONTST" -d "REL 22.0.1" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
125125
```
126126
In the above example, the schedule definition in the file c:\test\data\SCH001.json is deployed to the OpCon System OPCONTST. Before deploying the schedule to the opCon system OPCONTST, the schedule definition is first saved in the Deploy repository and the description "REL 22.0.1" is inserted as a comment. When deploying the schedule definition, the comment "REL 22.0.1" is attached to the Deployment record as well as the Deployment Information of the schedule.
127127

128128
```
129-
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "DEPLOY" -t "SCRIPT" - tn "scripta" -f "c:\test\data\scripta" -o "OPCONTST" -d "REL 22.0.1" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
129+
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "DEPLOY" -t "SCRIPT" -tn "scripta" -f "c:\test\data\scripta" -o "OPCONTST" -d "REL 22.0.1" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
130130
```
131131
In the above example, the script definition in the file c:\test\data\scripta is deployed to the OpCon System OPCONTST as a new version of script scripta. This means that a script definition for scripta must exist in the Deploy environment.
132132
Before deploying the script version to the opCon system OPCONTST, the script version is first saved in the Deploy repository and the description "REL 22.0.1" is inserted as a comment.
133133

134134
```
135-
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "REPO" -t "SCHEDULE" - tn "SCHD001.json" -pj "TSG" -r "SCHEDULE_DEF" -b "develop" -ip "src/schedules" -o "OPCONTST" -d "DEVTEST 1.0" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
135+
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "REPO" -t "SCHEDULE" -tn "SCHD001.json" -pj "TSG" -r "SCHEDULE_DEF" -b "develop" -ip "src/schedules" -o "OPCONTST" -d "DEVTEST 1.0" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
136136
```
137137
In the above example, the schedule definition in the /src/schedules location of the develop branch of the SCHEDULE_DEF repository is deployed to the OpCon System OPCONTST. Before deploying the schedule to the opCon system OPCONTST,
138138
the schedule definition is first saved in the Deploy repository and the description "DEVTEST 1.0" is inserted as a comment. When deploying the schedule definition, the comment "DEVTEST 1.0" is attached to the Deployment record as well as the Deployment Information of the schedule. This function requires additional configuration information in the config.ini file.
139139

140140
```
141-
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "REPO" -t "SCRIPT" - tn "scripta" -pj "TSG" -r "SCHEDULE_DEF" -b "develop" -ip "src/scripts" -o "OPCONTST" -d "DEVTEST 1.0" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
141+
C:\test\Deploy\Client\Devops.SMAOpConDeployClient.exe -a "REPO" -t "SCRIPT" -tn "scripta" -pj "TSG" -r "SCHEDULE_DEF" -b "develop" -ip "src/scripts" -o "OPCONTST" -d "DEVTEST 1.0" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
142142
```
143143
In the above example, the script definition in the /src/scripts location of the develop branch of the SCHEDULE_DEF repository is deployed to the OpCon System OPCONTST as new script version for scripta. Before deploying the script version to the opCon system OPCONTST, the definition is first saved in the Deploy repository as a new script version for the script scripta. The description "DEVTEST 1.0" is inserted as a comment. This function requires additional configuration information in the config.ini file.

docs/batch-file-integration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,27 +63,27 @@ File.SMAOpConDeployClient supports the following arguments in the CLI:
6363
## Examples
6464

6565
```
66-
C:\test\deploy\File.SMAOpConDeployClient.exe -a "EXPORT" -t "SCHEDULE" - tn "SCH001" -v 5 -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
66+
C:\test\deploy\File.SMAOpConDeployClient.exe -a "EXPORT" -t "SCHEDULE" -tn "SCH001" -v 5 -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
6767
```
6868

6969
```
70-
C:\test\deploy\File.SMAOpConDeployClient.exe -a "OEXPORT" -t "SCHEDULE" - tn "SCH001" -o "OPCONDEV" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
70+
C:\test\deploy\File.SMAOpConDeployClient.exe -a "OEXPORT" -t "SCHEDULE" -tn "SCH001" -o "OPCONDEV" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
7171
```
7272

7373
```
74-
C:\test\deploy\File.SMAOpConDeployClient.exe -a "EXPORT" -t "SCRIPT" - tn "scripta" -v 5 -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
74+
C:\test\deploy\File.SMAOpConDeployClient.exe -a "EXPORT" -t "SCRIPT" -tn "scripta" -v 5 -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
7575
```
7676

7777
```
78-
C:\test\deploy\File.SMAOpConDeployClient.exe -a "OEXPORT" -t "SCRIPT" - tn "scripta" -v 5 -o "OPCONDEV" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
78+
C:\test\deploy\File.SMAOpConDeployClient.exe -a "OEXPORT" -t "SCRIPT" -tn "scripta" -v 5 -o "OPCONDEV" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
7979
```
8080

8181
```
82-
C:\test\deploy\File.SMAOpConDeployClient.exe -a "IMPORT" -t "SCHEDULE" - tn "SCHD001" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
82+
C:\test\deploy\File.SMAOpConDeployClient.exe -a "IMPORT" -t "SCHEDULE" -tn "SCHD001" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
8383
```
8484

8585
```
86-
C:\test\deploy\File.SMAOpConDeployClient.exe -a "IMPORT" -t "SCRIPT" - tn "scripta" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
86+
C:\test\deploy\File.SMAOpConDeployClient.exe -a "IMPORT" -t "SCRIPT" -tn "scripta" -di "c:\test\data" -u admin -p lBsC5ohnSf2P7/Ku81FiGw==
8787
```
8888

8989
The above examples show how the File.SMAOpConDeployClient program can be used to export / import definitions:

docusaurus.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ module.exports = {
4545
],
4646
],
4747
plugins: [
48-
[
49-
require.resolve('@cmfcmf/docusaurus-search-local'),
50-
{
51-
}
52-
],
48+
// [
49+
// require.resolve('@cmfcmf/docusaurus-search-local'),
50+
// {
51+
// }
52+
// ],
5353
],
5454
};

0 commit comments

Comments
 (0)