-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/1557
- Loading branch information
Showing
26 changed files
with
228 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,130 +7,5 @@ jobs: | |
linux: | ||
uses: ./.github/workflows/e2e-linux.yml | ||
windows: | ||
runs-on: windows-2019 | ||
timeout-minutes: 180 | ||
env: | ||
ELECTRON_CUSTOM_VERSION: 23.0.0 | ||
TEST_MODE: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: "Setup environment" | ||
uses: ./.github/actions/setup-env | ||
with: | ||
cachePrefix: "e2e-crossplatform-windows" | ||
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle,e2e-tests" | ||
|
||
- name: "Fetch jsign" | ||
shell: bash | ||
run: cd packages/desktop && curl https://zbay-binaries.s3.us-east-2.amazonaws.com/jsign/jsign-2.1.jar --output ./jsign-2.1.jar | ||
|
||
|
||
- name: "Add Windows certificate" | ||
id: write_file | ||
uses: TryQuiet/base64-to-file@main | ||
with: | ||
fileName: 'win-certificate.pfx' | ||
encodedString: ${{ secrets.WIN_CSC_LINK }} | ||
|
||
- name: "Remove test files workaround (jest types conflicting with cypress types)" | ||
run: find packages/desktop/src -name '*.test.*' -delete | ||
shell: bash | ||
|
||
- name: Before build | ||
uses: ./.github/actions/before-build | ||
with: | ||
source-path: win32 | ||
|
||
- name: electron-builder | ||
env: | ||
CERTIFICATE_PATH: ${{ steps.write_file.outputs.filePath }} | ||
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }} | ||
WINDOWS_ALIAS: ${{ secrets.WIN_ALIAS }} | ||
working-directory: ./packages/desktop | ||
run: node_modules/.bin/electron-builder --win | ||
shell: bash | ||
|
||
- name: Extract version | ||
id: extract_version | ||
uses: Saionaro/[email protected] | ||
with: | ||
path: packages/desktop | ||
|
||
- name: FILE_NAME env | ||
working-directory: ./packages/desktop/dist | ||
run: echo "FILE_NAME=Quiet Setup ${{ steps.extract_version.outputs.version }}.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append | ||
shell: powershell | ||
|
||
- name: Chmod | ||
working-directory: ./packages/desktop/dist | ||
run: chmod +x "$FILE_NAME" | ||
shell: bash | ||
|
||
- name: "Upload built app" | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: quiet-windows | ||
path: ./packages/desktop/dist/Quiet Setup ${{ steps.extract_version.outputs.version }}.exe | ||
retention-days: 2 | ||
|
||
- name: Install exe | ||
run: Start-Process "Quiet Setup ${{ steps.extract_version.outputs.version }}.exe" -Wait | ||
working-directory: ./packages/desktop/dist | ||
shell: powershell | ||
|
||
- name: Kill Quiet | ||
run: Stop-Process -Name "Quiet" -Force | ||
shell: powershell | ||
|
||
- name: Kill tor | ||
run: Stop-Process -Name "tor" -Force | ||
shell: powershell | ||
|
||
- name: Delay | ||
run: Start-Sleep -Seconds 10 | ||
shell: powershell | ||
|
||
- name: Run one client test | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 15 | ||
max_attempts: 3 | ||
shell: bash | ||
command: cd packages/e2e-tests && npm run test oneClient.test.ts | ||
|
||
# # Old prod version | ||
# - name: Rename latest quiet | ||
# run: cd $env:LOCALAPPDATA/programs; rename-item quiet quiet2 | ||
# shell: powershell | ||
|
||
# - name: Download EXE | ||
# run: curl -LO https://github.com/TryQuiet/quiet/releases/download/quiet%401.2.0/Quiet.Setup.1.2.0.exe | ||
# shell: bash | ||
|
||
# - name: Chmod | ||
# run: chmod +x Quiet.Setup.1.2.0.exe | ||
# shell: bash | ||
|
||
# - name: Install exe | ||
# run: Start-Process Quiet.Setup.1.2.0.exe -Wait | ||
# shell: powershell | ||
|
||
# - name: Kill Quiet | ||
# run: Stop-Process -Name "Quiet" -Force | ||
# shell: powershell | ||
|
||
# - name: Kill tor | ||
# run: Stop-Process -Name "tor" -Force | ||
# shell: powershell | ||
|
||
# - name: Delay | ||
# run: Start-Sleep -Seconds 10 | ||
# shell: powershell | ||
# # Old prod version | ||
|
||
# - name: Run Backwards Compatibility test | ||
# working-directory: ./packages/e2e-tests | ||
# run: npm run test backwardsCompatibility.test.ts | ||
|
||
uses: ./.github/workflows/e2e-win.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,14 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [1.7.1-alpha.2](https://github.com/TryQuiet/backend/compare/@quiet/[email protected]...@quiet/[email protected]) (2023-08-11) | ||
|
||
**Note:** Version bump only for package @quiet/backend | ||
|
||
|
||
|
||
|
||
|
||
## [1.7.1-alpha.1](https://github.com/TryQuiet/backend/compare/@quiet/[email protected]...@quiet/[email protected]) (2023-08-08) | ||
|
||
**Note:** Version bump only for package @quiet/backend | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,14 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [1.7.1-alpha.2](https://github.com/TryQuiet/quiet/compare/[email protected]@1.7.1-alpha.2) (2023-08-11) | ||
|
||
**Note:** Version bump only for package quiet | ||
|
||
|
||
|
||
|
||
|
||
## [1.7.1-alpha.1](https://github.com/TryQuiet/quiet/compare/[email protected]@1.7.1-alpha.1) (2023-08-08) | ||
|
||
**Note:** Version bump only for package quiet | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,14 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [1.6.1-alpha.0](https://github.com/TryQuiet/quiet/compare/[email protected]@1.6.1-alpha.0) (2023-08-11) | ||
|
||
**Note:** Version bump only for package e2e-tests | ||
|
||
|
||
|
||
|
||
|
||
# [1.6.0](https://github.com/ZbayApp/monorepo/compare/[email protected]@1.6.0) (2023-07-28) | ||
|
||
**Note:** Version bump only for package e2e-tests | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.