Skip to content

Commit 0ccd943

Browse files
committed
fix yaml linting errors
1 parent 1cf1913 commit 0ccd943

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

taskfile.yaml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -229,19 +229,22 @@ tasks:
229229
- "{{.TASKFILE}}"
230230
- "/etc/os-release"
231231
generates:
232-
# ugly workaround so that when the var changes, the task gets re-run (triggering core-build re-run)
233-
- '.task/build_with_symbols_{{.BUILD_WITH_SYMBOLS}}.stamp'
232+
# ugly workaround so that when the var changes, the task gets re-run (triggering core-build
233+
# re-run)
234+
- ".task/build_with_symbols_{{.BUILD_WITH_SYMBOLS}}.stamp"
234235
deps:
235236
- "clp-s-generate-parsers"
236237
- "deps:core"
237238
cmds:
238239
- task: "utils:cmake:generate"
239240
vars:
240-
EXTRA_ARGS: ['{{if eq .BUILD_WITH_SYMBOLS "true"}}-DCMAKE_BUILD_TYPE=RelWithDebInfo{{end}}']
241+
EXTRA_ARGS:
242+
- >-
243+
{{if eq .BUILD_WITH_SYMBOLS "true"}}-DCMAKE_BUILD_TYPE=RelWithDebInfo{{end}}
241244
BUILD_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}"
242245
SOURCE_DIR: "{{.G_CORE_COMPONENT_DIR}}"
243-
- 'rm .task/build_with_symbols_*.stamp'
244-
- 'touch .task/build_with_symbols_{{.BUILD_WITH_SYMBOLS}}.stamp'
246+
- "rm .task/build_with_symbols_*.stamp"
247+
- "touch .task/build_with_symbols_{{.BUILD_WITH_SYMBOLS}}.stamp"
245248

246249
core-build:
247250
internal: true
@@ -607,7 +610,9 @@ tasks:
607610
status:
608611
- "test -f {{.G_DATASET_LOCATION}}"
609612
cmds:
610-
- "curl -o output.tar.gz https://zenodo.org/records/10516387/files/cockroachdb.tar.gz?download=1"
613+
- >-
614+
curl -o output.tar.gz
615+
https://zenodo.org/records/10516387/files/cockroachdb.tar.gz?download=1
611616
- "tar -xvzf output.tar.gz"
612617
- "rm output.tar.gz"
613618
- >-
@@ -622,11 +627,14 @@ tasks:
622627
- task: "package"
623628
vars:
624629
BUILD_WITH_SYMBOLS: true
625-
- 'rm -f perf.data'
626-
- 'perf record -F 99 -g -- ./build/core/clp-s c --timestamp-key "timestamp" --target-encoded-size 268435456 build/clp_cockroachdb_perf_output {{.G_DATASET_LOCATION}}'
627-
- 'chmod +777 perf.data'
628-
- 'perf report -i perf.data --call-graph=graph,0.5,0,caller,function,percent --stdio --demangle --no-inline > perf-report.txt'
629-
# - 'perf data convert --to-json perf.json'
630+
- "rm -f perf.data"
631+
- >-
632+
perf record -F 99 -g -- ./build/core/clp-s c --timestamp-key "timestamp"
633+
--target-encoded-size 268435456 build/clp_cockroachdb_perf_output {{.G_DATASET_LOCATION}}
634+
- "chmod +777 perf.data"
635+
- >-
636+
perf report -i perf.data --call-graph=graph,0.5,0,caller,function,percent --stdio --demangle
637+
--no-inline > perf-report.txt
630638
631639
init:
632640
internal: true

0 commit comments

Comments
 (0)