Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
SigNoz
Commits
fa6d5a74
Unverified
Commit
fa6d5a74
authored
3 years ago
by
Pranay Prateek
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge branch 'develop' into react-version-resolution
parents
bcceaf79
bd615322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/build.yaml
+2
-43
.github/workflows/build.yaml
with
2 additions
and
43 deletions
+2
-43
.github/workflows/build.yaml
+
2
-
43
View file @
fa6d5a74
name
:
build-pipeline
on
:
pull_request
:
branches
:
-
develop
-
main
-
v*
paths
:
-
"
pkg/**"
-
"
frontend/**"
-
release/v*
jobs
:
get_filters
:
runs-on
:
ubuntu-latest
# Set job outputs to values from filter step
outputs
:
frontend
:
${{ steps.filter.outputs.frontend }}
query-service
:
${{ steps.filter.outputs.query-service }}
flattener
:
${{ steps.filter.outputs.flattener }}
steps
:
# For pull requests it's not necessary to checkout the code
-
uses
:
dorny/paths-filter@v2
id
:
filter
with
:
filters
:
|
frontend:
- 'frontend/**'
query-service:
- 'pkg/query-service/**'
flattener:
- 'pkg/processors/flattener/**'
build-frontend
:
runs-on
:
ubuntu-latest
needs
:
-
get_filters
if
:
${{ needs.get_filters.outputs.frontend == 'true' }}
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
...
...
@@ -52,9 +27,6 @@ jobs:
build-query-service
:
runs-on
:
ubuntu-latest
needs
:
-
get_filters
if
:
${{ needs.get_filters.outputs.query-service == 'true' }}
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
...
...
@@ -62,16 +34,3 @@ jobs:
shell
:
bash
run
:
|
make build-query-service-amd64
build-flattener
:
runs-on
:
ubuntu-latest
needs
:
-
get_filters
if
:
${{ needs.get_filters.outputs.flattener == 'true' }}
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Build flattener docker image
shell
:
bash
run
:
|
make build-flattener-amd64
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment