-
Notifications
You must be signed in to change notification settings - Fork 275
Speed up integration tests #2193
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
djeebus
wants to merge
15
commits into
main
Choose a base branch
from
speed-up-integration-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
87c5a96
build artifacts in parallel
djeebus 236c386
use latest upload-artifact version
djeebus 89cab51
clean up
djeebus 1b577a8
more clean up
djeebus 5e9097e
put artifacts where they came from
djeebus 868cefb
fix paths
djeebus 279e3fa
fix build scripts
djeebus 572d19e
fix unbalanced quotes
djeebus 442c302
fix cache dependency paths
djeebus bf94a7a
sudo probably prevents correct go version
djeebus ba0eb12
what version of go are we using?
djeebus 43fa0b4
more debugging
djeebus 1a758c7
add more debugging
djeebus ca8d1ad
more debugging?
djeebus 3856000
add more debugging
djeebus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| name: Build all packages | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| jobs: | ||
| build-package: | ||
| runs-on: ubuntu-24.04 | ||
| strategy: | ||
| matrix: | ||
| package: | ||
| - path: packages/orchestrator | ||
| output: bin/orchestrator | ||
| - path: packages/api | ||
| output: bin/api | ||
| - path: packages/envd | ||
| output: bin/debug/envd | ||
| - path: packages/client-proxy | ||
| output: bin/client-proxy | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Setup Go | ||
| uses: ./.github/actions/go-setup-cache | ||
| with: | ||
| cache-dependency-paths: | | ||
| go.work | ||
| ${{ matrix.package.path }}/go.mod | ||
| ${{ matrix.package.path }}/go.sum | ||
|
|
||
| - name: Build package | ||
| run: make -C ${{ matrix.package.path }} build-debug | ||
|
|
||
| - name: Upload artifact | ||
| uses: actions/upload-artifact@v3 | ||
| with: | ||
| name: ${{ matrix.package.path }}-build | ||
| path: ${{ matrix.package.path }}/{{ matrix.package.output }} | ||
djeebus marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
djeebus marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.