Skip to content

Commit

Permalink
ci: ressurection
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Dec 7, 2023
1 parent cc24e8e commit c194f1b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

## Unreleased

### Dependencies
### Fixes

- Bump CLI from v2.0.0 to v2.0.4 ([#60](https://github.com/getsentry/github-workflows/pull/60))
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#204)
- [diff](https://github.com/getsentry/sentry-cli/compare/2.0.0...2.0.4)
- sentry-server.py - The scriptroot is being set as `WorkingDirectory`.

## 2.8.0

Expand Down
2 changes: 1 addition & 1 deletion sentry-cli/integration-test/action.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function RunApiServer([string] $ServerScript, [string] $Uri = $ServerUri)
$result.errFile = New-TemporaryFile

$result.process = Start-Process "python3" -ArgumentList @("$PSScriptRoot/$ServerScript.py", $Uri) `
-NoNewWindow -PassThru -RedirectStandardOutput $result.outFile -RedirectStandardError $result.errFile
-NoNewWindow -PassThru -RedirectStandardOutput $result.outFile -RedirectStandardError $result.errFile -WorkingDirectory $PSScriptRoot

$out = New-Object InvokeSentryResult
$out.ServerStdOut = @()
Expand Down
8 changes: 8 additions & 0 deletions sentry-cli/integration-test/tests/action.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ Describe 'Invoke-SentryServer' {
$result.UploadedDebugFiles() | Should -Be @('file3.dylib', 'file2.so', 'file1.dll')
}

It "collects proguard mapping" {
$result = Invoke-SentryServer {
Param([string]$url)
Invoke-WebRequest -Uri "$url/api/0/projects/org/project/files/dsyms/associate/" -Method Post
}
Should -ActualValue $result.HasErrors() -BeFalse
}

It "collects envelopes" {
$result = Invoke-SentryServer {
Param([string]$url)
Expand Down
2 changes: 1 addition & 1 deletion updater/tests/sentry-cli.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = 2.0.4
version = 2.0.0
repo = https://github.com/getsentry/sentry-cli

0 comments on commit c194f1b

Please sign in to comment.