Skip to content

Commit 75a9ebc

Browse files
committed
CI: remove Azure Trusted Signing action
The Azure Trusted Signing certificate is expiring soon, and renewal is no longer available for individuals or organizations outside of Canada and USA. Due to this limitation, we are removing the Trusted Signing step from our CI pipeline. Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
1 parent 7f03dc0 commit 75a9ebc

File tree

2 files changed

+0
-113
lines changed

2 files changed

+0
-113
lines changed

.github/workflows/development.yml

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -169,39 +169,6 @@ jobs:
169169
Remove-Item Env:\GOOS
170170
Remove-Item Env:\GOARCH
171171
172-
- name: Azure login
173-
if: ${{ github.event_name != 'pull_request' }}
174-
uses: azure/login@v2
175-
with:
176-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
177-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
178-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
179-
180-
- name: Sign binaries
181-
if: ${{ github.event_name != 'pull_request' }}
182-
uses: azure/trusted-signing-action@v0.5.9
183-
with:
184-
endpoint: https://eus.codesigning.azure.net/
185-
trusted-signing-account-name: nicola
186-
certificate-profile-name: SFTPGo
187-
files: |
188-
${{ github.workspace }}\sftpgo.exe
189-
${{ github.workspace }}\arm64\sftpgo.exe
190-
${{ github.workspace }}\x86\sftpgo.exe
191-
file-digest: SHA256
192-
timestamp-rfc3161: http://timestamp.acs.microsoft.com
193-
timestamp-digest: SHA256
194-
exclude-environment-credential: true
195-
exclude-workload-identity-credential: true
196-
exclude-managed-identity-credential: true
197-
exclude-shared-token-cache-credential: true
198-
exclude-visual-studio-credential: true
199-
exclude-visual-studio-code-credential: true
200-
exclude-azure-cli-credential: false
201-
exclude-azure-powershell-credential: true
202-
exclude-azure-developer-cli-credential: true
203-
exclude-interactive-browser-credential: true
204-
205172
- name: Initialize data provider
206173
run: |
207174
rm sftpgo.db
@@ -247,31 +214,6 @@ jobs:
247214
$Env:SFTPGO_ISS_ARCH='x86'
248215
iscc .\windows-installer\sftpgo.iss
249216
250-
- name: Sign installers
251-
if: ${{ github.event_name != 'pull_request' }}
252-
uses: azure/trusted-signing-action@v0.5.9
253-
with:
254-
endpoint: https://eus.codesigning.azure.net/
255-
trusted-signing-account-name: nicola
256-
certificate-profile-name: SFTPGo
257-
files: |
258-
${{ github.workspace }}\sftpgo_windows_x86_64.exe
259-
${{ github.workspace }}\sftpgo_windows_arm64.exe
260-
${{ github.workspace }}\sftpgo_windows_x86.exe
261-
file-digest: SHA256
262-
timestamp-rfc3161: http://timestamp.acs.microsoft.com
263-
timestamp-digest: SHA256
264-
exclude-environment-credential: true
265-
exclude-workload-identity-credential: true
266-
exclude-managed-identity-credential: true
267-
exclude-shared-token-cache-credential: true
268-
exclude-visual-studio-credential: true
269-
exclude-visual-studio-code-credential: true
270-
exclude-azure-cli-credential: false
271-
exclude-azure-powershell-credential: true
272-
exclude-azure-developer-cli-credential: true
273-
exclude-interactive-browser-credential: true
274-
275217
- name: Upload Windows installer x86_64 artifact
276218
if: ${{ github.event_name != 'pull_request' }}
277219
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -83,37 +83,6 @@ jobs:
8383
env:
8484
SFTPGO_VERSION: ${{ steps.get_version.outputs.VERSION }}
8585

86-
- name: Azure login
87-
uses: azure/login@v2
88-
with:
89-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
90-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
91-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
92-
93-
- name: Sign binaries
94-
uses: azure/trusted-signing-action@v0.5.9
95-
with:
96-
endpoint: https://eus.codesigning.azure.net/
97-
trusted-signing-account-name: nicola
98-
certificate-profile-name: SFTPGo
99-
files: |
100-
${{ github.workspace }}\sftpgo.exe
101-
${{ github.workspace }}\arm64\sftpgo.exe
102-
${{ github.workspace }}\x86\sftpgo.exe
103-
file-digest: SHA256
104-
timestamp-rfc3161: http://timestamp.acs.microsoft.com
105-
timestamp-digest: SHA256
106-
exclude-environment-credential: true
107-
exclude-workload-identity-credential: true
108-
exclude-managed-identity-credential: true
109-
exclude-shared-token-cache-credential: true
110-
exclude-visual-studio-credential: true
111-
exclude-visual-studio-code-credential: true
112-
exclude-azure-cli-credential: false
113-
exclude-azure-powershell-credential: true
114-
exclude-azure-developer-cli-credential: true
115-
exclude-interactive-browser-credential: true
116-
11786
- name: Initialize data provider
11887
run: ./sftpgo initprovider
11988
shell: bash
@@ -152,30 +121,6 @@ jobs:
152121
env:
153122
SFTPGO_ISS_VERSION: ${{ steps.get_version.outputs.VERSION }}
154123

155-
- name: Sign installers
156-
uses: azure/trusted-signing-action@v0.5.9
157-
with:
158-
endpoint: https://eus.codesigning.azure.net/
159-
trusted-signing-account-name: nicola
160-
certificate-profile-name: SFTPGo
161-
files: |
162-
${{ github.workspace }}\sftpgo_windows_x86_64.exe
163-
${{ github.workspace }}\sftpgo_windows_arm64.exe
164-
${{ github.workspace }}\sftpgo_windows_x86.exe
165-
file-digest: SHA256
166-
timestamp-rfc3161: http://timestamp.acs.microsoft.com
167-
timestamp-digest: SHA256
168-
exclude-environment-credential: true
169-
exclude-workload-identity-credential: true
170-
exclude-managed-identity-credential: true
171-
exclude-shared-token-cache-credential: true
172-
exclude-visual-studio-credential: true
173-
exclude-visual-studio-code-credential: true
174-
exclude-azure-cli-credential: false
175-
exclude-azure-powershell-credential: true
176-
exclude-azure-developer-cli-credential: true
177-
exclude-interactive-browser-credential: true
178-
179124
- name: Prepare Portable Release
180125
run: |
181126
mkdir win-portable

0 commit comments

Comments
 (0)