mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
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>
This commit is contained in:
58
.github/workflows/development.yml
vendored
58
.github/workflows/development.yml
vendored
@@ -169,39 +169,6 @@ jobs:
|
|||||||
Remove-Item Env:\GOOS
|
Remove-Item Env:\GOOS
|
||||||
Remove-Item Env:\GOARCH
|
Remove-Item Env:\GOARCH
|
||||||
|
|
||||||
- name: Azure login
|
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
|
||||||
uses: azure/login@v2
|
|
||||||
with:
|
|
||||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
|
||||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
|
||||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
|
||||||
|
|
||||||
- name: Sign binaries
|
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
|
||||||
uses: azure/trusted-signing-action@v0.5.9
|
|
||||||
with:
|
|
||||||
endpoint: https://eus.codesigning.azure.net/
|
|
||||||
trusted-signing-account-name: nicola
|
|
||||||
certificate-profile-name: SFTPGo
|
|
||||||
files: |
|
|
||||||
${{ github.workspace }}\sftpgo.exe
|
|
||||||
${{ github.workspace }}\arm64\sftpgo.exe
|
|
||||||
${{ github.workspace }}\x86\sftpgo.exe
|
|
||||||
file-digest: SHA256
|
|
||||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
|
||||||
timestamp-digest: SHA256
|
|
||||||
exclude-environment-credential: true
|
|
||||||
exclude-workload-identity-credential: true
|
|
||||||
exclude-managed-identity-credential: true
|
|
||||||
exclude-shared-token-cache-credential: true
|
|
||||||
exclude-visual-studio-credential: true
|
|
||||||
exclude-visual-studio-code-credential: true
|
|
||||||
exclude-azure-cli-credential: false
|
|
||||||
exclude-azure-powershell-credential: true
|
|
||||||
exclude-azure-developer-cli-credential: true
|
|
||||||
exclude-interactive-browser-credential: true
|
|
||||||
|
|
||||||
- name: Initialize data provider
|
- name: Initialize data provider
|
||||||
run: |
|
run: |
|
||||||
rm sftpgo.db
|
rm sftpgo.db
|
||||||
@@ -247,31 +214,6 @@ jobs:
|
|||||||
$Env:SFTPGO_ISS_ARCH='x86'
|
$Env:SFTPGO_ISS_ARCH='x86'
|
||||||
iscc .\windows-installer\sftpgo.iss
|
iscc .\windows-installer\sftpgo.iss
|
||||||
|
|
||||||
- name: Sign installers
|
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
|
||||||
uses: azure/trusted-signing-action@v0.5.9
|
|
||||||
with:
|
|
||||||
endpoint: https://eus.codesigning.azure.net/
|
|
||||||
trusted-signing-account-name: nicola
|
|
||||||
certificate-profile-name: SFTPGo
|
|
||||||
files: |
|
|
||||||
${{ github.workspace }}\sftpgo_windows_x86_64.exe
|
|
||||||
${{ github.workspace }}\sftpgo_windows_arm64.exe
|
|
||||||
${{ github.workspace }}\sftpgo_windows_x86.exe
|
|
||||||
file-digest: SHA256
|
|
||||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
|
||||||
timestamp-digest: SHA256
|
|
||||||
exclude-environment-credential: true
|
|
||||||
exclude-workload-identity-credential: true
|
|
||||||
exclude-managed-identity-credential: true
|
|
||||||
exclude-shared-token-cache-credential: true
|
|
||||||
exclude-visual-studio-credential: true
|
|
||||||
exclude-visual-studio-code-credential: true
|
|
||||||
exclude-azure-cli-credential: false
|
|
||||||
exclude-azure-powershell-credential: true
|
|
||||||
exclude-azure-developer-cli-credential: true
|
|
||||||
exclude-interactive-browser-credential: true
|
|
||||||
|
|
||||||
- name: Upload Windows installer x86_64 artifact
|
- name: Upload Windows installer x86_64 artifact
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
55
.github/workflows/release.yml
vendored
55
.github/workflows/release.yml
vendored
@@ -83,37 +83,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SFTPGO_VERSION: ${{ steps.get_version.outputs.VERSION }}
|
SFTPGO_VERSION: ${{ steps.get_version.outputs.VERSION }}
|
||||||
|
|
||||||
- name: Azure login
|
|
||||||
uses: azure/login@v2
|
|
||||||
with:
|
|
||||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
|
||||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
|
||||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
|
||||||
|
|
||||||
- name: Sign binaries
|
|
||||||
uses: azure/trusted-signing-action@v0.5.9
|
|
||||||
with:
|
|
||||||
endpoint: https://eus.codesigning.azure.net/
|
|
||||||
trusted-signing-account-name: nicola
|
|
||||||
certificate-profile-name: SFTPGo
|
|
||||||
files: |
|
|
||||||
${{ github.workspace }}\sftpgo.exe
|
|
||||||
${{ github.workspace }}\arm64\sftpgo.exe
|
|
||||||
${{ github.workspace }}\x86\sftpgo.exe
|
|
||||||
file-digest: SHA256
|
|
||||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
|
||||||
timestamp-digest: SHA256
|
|
||||||
exclude-environment-credential: true
|
|
||||||
exclude-workload-identity-credential: true
|
|
||||||
exclude-managed-identity-credential: true
|
|
||||||
exclude-shared-token-cache-credential: true
|
|
||||||
exclude-visual-studio-credential: true
|
|
||||||
exclude-visual-studio-code-credential: true
|
|
||||||
exclude-azure-cli-credential: false
|
|
||||||
exclude-azure-powershell-credential: true
|
|
||||||
exclude-azure-developer-cli-credential: true
|
|
||||||
exclude-interactive-browser-credential: true
|
|
||||||
|
|
||||||
- name: Initialize data provider
|
- name: Initialize data provider
|
||||||
run: ./sftpgo initprovider
|
run: ./sftpgo initprovider
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -152,30 +121,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SFTPGO_ISS_VERSION: ${{ steps.get_version.outputs.VERSION }}
|
SFTPGO_ISS_VERSION: ${{ steps.get_version.outputs.VERSION }}
|
||||||
|
|
||||||
- name: Sign installers
|
|
||||||
uses: azure/trusted-signing-action@v0.5.9
|
|
||||||
with:
|
|
||||||
endpoint: https://eus.codesigning.azure.net/
|
|
||||||
trusted-signing-account-name: nicola
|
|
||||||
certificate-profile-name: SFTPGo
|
|
||||||
files: |
|
|
||||||
${{ github.workspace }}\sftpgo_windows_x86_64.exe
|
|
||||||
${{ github.workspace }}\sftpgo_windows_arm64.exe
|
|
||||||
${{ github.workspace }}\sftpgo_windows_x86.exe
|
|
||||||
file-digest: SHA256
|
|
||||||
timestamp-rfc3161: http://timestamp.acs.microsoft.com
|
|
||||||
timestamp-digest: SHA256
|
|
||||||
exclude-environment-credential: true
|
|
||||||
exclude-workload-identity-credential: true
|
|
||||||
exclude-managed-identity-credential: true
|
|
||||||
exclude-shared-token-cache-credential: true
|
|
||||||
exclude-visual-studio-credential: true
|
|
||||||
exclude-visual-studio-code-credential: true
|
|
||||||
exclude-azure-cli-credential: false
|
|
||||||
exclude-azure-powershell-credential: true
|
|
||||||
exclude-azure-developer-cli-credential: true
|
|
||||||
exclude-interactive-browser-credential: true
|
|
||||||
|
|
||||||
- name: Prepare Portable Release
|
- name: Prepare Portable Release
|
||||||
run: |
|
run: |
|
||||||
mkdir win-portable
|
mkdir win-portable
|
||||||
|
|||||||
Reference in New Issue
Block a user