[actions] Add build-and-test github action#1054
Merged
JamesMBartlett merged 1 commit intopixie-io:mainfrom May 9, 2023
Merged
Conversation
dbea812 to
ae84263
Compare
71ca72c to
6fde2a5
Compare
6fde2a5 to
0a252a7
Compare
0762552 to
7445b27
Compare
fbb7131 to
b2affee
Compare
ddelnano
pushed a commit
to ddelnano/pixie
that referenced
this pull request
May 1, 2023
Summary: We don't want to use buildbuddy from github actions directly because of potential egress/ingress costs from github actions to gcloud. Instead once pixie-io#1108 lands, self-hosted runners will have access to buildbuddy. This PR replaces adding the buildbuddy api key with adding github specific bazelrc options. Type of change: /kind test-infra Test Plan: Tested that these configs work in pixie-io#1054 Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
40063f8 to
7294a45
Compare
7294a45 to
6ab92f1
Compare
vihangm
approved these changes
May 9, 2023
Run #ci:bpf-build. Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
6ab92f1 to
2ad4962
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary: Adds a github action to run builds and tests, including bpf tests. The action uses the configs defined in
ci/github/bazelrcalong with thebazel_build_deps.shscript to decide what tests to run and under what configurations to run them.Type of change: /kind test-infra
Test Plan: Tested in this PR that all the tests (including BPF tests) work. Also, tested that failing tests are reported properly, by adding an
ASSERT_EQ(0, 1)only in opt configs, and saw that only opt configs failed.