Compare commits

...

9 Commits

Author SHA1 Message Date
KatKatKateryna c4d5bda9f8 Merge pull request #78 from specklesystems/JR-Morgan-patch-1
Update config.yml
2024-03-14 19:31:11 +08:00
Jedd Morgan 44177eaac8 Update config.yml 2024-03-14 11:16:04 +00:00
Jedd Morgan 71045d4424 feat(ci): [CNX-9126] Update to digicert-keylocker (#77)
* feat(ci): Update to digicert-keylocker

* removed pem
2024-03-11 17:15:14 +01:00
KatKatKateryna 60ba2f3e90 Revert "add github token"
This reverts commit 50fa347d1c.
2024-03-06 08:31:09 +00:00
KatKatKateryna 50fa347d1c add github token 2024-03-05 09:10:19 +00:00
KatKatKateryna 5976a71405 Merge pull request #76 from specklesystems/certificates
naming
2024-02-29 00:33:14 +08:00
KatKatKateryna 0630556745 naming 2024-02-28 16:33:26 +00:00
KatKatKateryna b34609ed77 remove cmd shell 2024-02-26 22:01:56 +00:00
KatKatKateryna 2d9690514b Merge pull request #75 from specklesystems/certificates
remove cmd shell
2024-02-27 06:01:42 +08:00
2 changed files with 15 additions and 15 deletions
+4 -6
View File
@@ -61,7 +61,6 @@ jobs:
build-connector-win: # Reusable job for basic connectors
executor:
name: win/default # comes with python 3.7.3
shell: cmd.exe
parameters:
slug:
type: string
@@ -117,7 +116,6 @@ jobs:
cd C:\
echo $env:SM_CLIENT_CERT_FILE_B64 > certificate.txt
certutil -decode certificate.txt certificate.p12
echo $env:SM_OV_PEM_CERT > SpeckleOVCertificate-2024.pem
- run: # Syncs certificates from Digicert into local user store
name: Sync Certs
command: |
@@ -127,7 +125,7 @@ jobs:
shell: cmd.exe
command:
| # If no tag, use 0.0.0.1 and don't make any YML (for testing only!)
speckle-sharp-ci-tools\InnoSetup\ISCC.exe speckle-sharp-ci-tools\arcgis.iss /Sbyparam=$p /DSIGN_INSTALLER
speckle-sharp-ci-tools\InnoSetup\ISCC.exe speckle-sharp-ci-tools\arcgis.iss /Sbyparam=$p /DSIGN_INSTALLER /DCODE_SIGNING_CERT_FINGERPRINT=%SM_CODE_SIGNING_CERT_SHA1_HASH%
- when:
condition: << parameters.installer >>
steps:
@@ -189,7 +187,7 @@ workflows: #happens with every PR to main
requires:
- get-ui
- get-ci-tools
context: digicert-signing-connectors-test
context: digicert-keylocker
deploy: # build installers and deploy
jobs:
@@ -213,7 +211,7 @@ workflows: #happens with every PR to main
- get-ui
- get-ci-tools
filters: *deploy_filters
context: digicert-signing-connectors-test
context: digicert-keylocker
- publish-github-release:
requires:
- build-deploy-connector-win
@@ -226,4 +224,4 @@ workflows: #happens with every PR to main
requires:
- build-deploy-connector-win
filters: *deploy_filters
context: do-spaces-speckle-releases
context: do-spaces-speckle-releases
@@ -2199,15 +2199,17 @@ def addRasterMainThread(obj: Tuple):
print(e)
# report on receive:
try:
layerName = newName.split(shortName)[0] + shortName # + ("_" + geom_print)
except:
layerName = newName
layerName = removeSpecialCharacters(layer.name)
shortName = newName.split(SYMBOL)[len(newName.split(SYMBOL)) - 1][:50]
finalName = shortName # + ("_" + geom_print)
try:
layerName = newName.split(shortName)[0] + shortName + "_Speckle"
except:
layerName = newName + "_Speckle"
finalName = shortName + "_Speckle"
dataStorage.latestActionLayers.append(finalName)
layerName = removeSpecialCharacters(layer.name) + "_Speckle"
rasterHasSr = False
p: str = (
@@ -2328,7 +2330,7 @@ def addRasterMainThread(obj: Tuple):
rasterLayer = arcpy.management.MakeRasterLayer(
full_path, "x" + str(random.randint(100000, 500000))
).getOutput(0)
rasterLayer.name = newName
rasterLayer.name = finalName
active_map.addLayerToGroup(layerGroup, rasterLayer)
rl2 = None
@@ -2336,11 +2338,11 @@ def addRasterMainThread(obj: Tuple):
SYMBOL + SYMBOL, SYMBOL
)
for l in project.activeMap.listLayers():
if l.longName == newGroupName.replace(SYMBOL, "\\") + newName:
if l.longName == newGroupName.replace(SYMBOL, "\\") + finalName:
rl2 = l
break
rasterLayer = rasterRendererToNative(
project, active_map, layerGroup, layer, rl2, rasterPathsToMerge, newName
project, active_map, layerGroup, layer, rl2, rasterPathsToMerge, finalName
)
try: