- Notifications
You must be signed in to change notification settings - Fork928
ci: use big runners#4990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
ci: use big runners#4990
Changes fromall commits
Commits
Show all changes
16 commits Select commitHold shift + click to select a range
b0db1ee
chore: Close idle connections on test cleanup
kylecarbs8880b9a
ci: use big runners
ammario2662aa3
fix: Improve tailnet connections by reducing timeouts
kylecarbsf46c725
Merge branch 'tailfix' into big-runners
kylecarbs3146d46
Add logging to Startupscript test
kylecarbs83ae8a5
Merge branch 'big-runners' of https://github.com/coder/coder into big…
kylecarbs012519b
Fix go.mod
kylecarbsfbb1bdb
Add better logging
kylecarbs8c289e5
Write startup script logs to fs dir
kylecarbsa839dbb
Fix startup script test
kylecarbs318f68e
Fix startup script test
kylecarbs774ae5b
Reduce test timeout
kylecarbs459167d
Merge branch 'big-runners' of https://github.com/coder/coder into big…
kylecarbs0144c63
Use central tmp dir in agent
kylecarbsa463762
Adjust output
kylecarbs5193feb
Skip startup script test on Windows
kylecarbsFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
18 changes: 7 additions & 11 deletions.github/workflows/coder.yaml
This file contains hidden or 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 |
---|---|---|
@@ -89,7 +89,7 @@ jobs: | ||
style-lint-golangci: | ||
name: style/lint/golangci | ||
timeout-minutes: 5 | ||
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
@@ -171,7 +171,7 @@ jobs: | ||
gen: | ||
name: "style/gen" | ||
timeout-minutes: 8 | ||
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }} | ||
needs: changes | ||
if: needs.changes.outputs.docs-only == 'false' | ||
steps: | ||
@@ -276,7 +276,7 @@ jobs: | ||
test-go: | ||
name: "test/go" | ||
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'windows-latest-8-cores'|| matrix.os }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. You should change the other runners too! | ||
timeout-minutes: 20 | ||
strategy: | ||
matrix: | ||
@@ -336,11 +336,7 @@ jobs: | ||
echo ::set-output name=cover::false | ||
fi | ||
set -x | ||
gotestsum --junitfile="gotests.xml" --packages="./..." -- -parallel=8 -timeout=3m -short -failfast $COVERAGE_FLAGS | ||
- uses: codecov/codecov-action@v3 | ||
# This action has a tendency to error out unexpectedly, it has | ||
@@ -356,7 +352,7 @@ jobs: | ||
test-go-postgres: | ||
name: "test/go/postgres" | ||
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }} | ||
# This timeout must be greater than the timeout set by `go test` in | ||
# `make test-postgres` to ensure we receive a trace of running | ||
# goroutines. Setting this to the timeout +5m should work quite well | ||
@@ -417,7 +413,7 @@ jobs: | ||
deploy: | ||
name: "deploy" | ||
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }} | ||
timeout-minutes: 30 | ||
needs: changes | ||
if: | | ||
@@ -514,7 +510,7 @@ jobs: | ||
test-js: | ||
name: "test/js" | ||
runs-on:${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }} | ||
timeout-minutes: 20 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
2 changes: 1 addition & 1 deletion.github/workflows/release.yaml
This file contains hidden or 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
3 changes: 3 additions & 0 deletionsMakefile
This file contains hidden or 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
10 changes: 8 additions & 2 deletionsagent/agent.go
This file contains hidden or 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
41 changes: 24 additions & 17 deletionsagent/agent_test.go
This file contains hidden or 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
1 change: 1 addition & 0 deletionscli/server.go
This file contains hidden or 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
1 change: 1 addition & 0 deletionscli/server_test.go
This file contains hidden or 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
4 changes: 3 additions & 1 deletioncoderd/coderdtest/coderdtest.go
This file contains hidden or 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
9 changes: 9 additions & 0 deletionscoderd/workspaceapps_test.go
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.