remove dynamic circleci.

This commit is contained in:
Raúl Kripalani 2021-06-22 21:03:05 +01:00
parent 51e51d1b90
commit ec6c394de7
4 changed files with 985 additions and 32 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,8 @@ import (
"text/template" "text/template"
) )
//go:generate go run ./gen.go ..
//go:embed template.yml //go:embed template.yml
var templateFile embed.FS var templateFile embed.FS
@ -43,7 +45,7 @@ func main() {
tmpl = template.Must(tmpl.ParseFS(templateFile, "*")) tmpl = template.Must(tmpl.ParseFS(templateFile, "*"))
// list all itests. // list all itests.
itests, err := filepath.Glob("./itests/*_test.go") itests, err := filepath.Glob(filepath.Join(repo, "./itests/*_test.go"))
if err != nil { if err != nil {
panic(err) panic(err)
} }
@ -117,8 +119,14 @@ func main() {
}(), }(),
} }
out, err := os.Create("./config.yml")
if err != nil {
panic(err)
}
defer out.Close()
// execute the template. // execute the template.
if err := tmpl.Execute(os.Stdout, in); err != nil { if err := tmpl.Execute(out, in); err != nil {
panic(err) panic(err)
} }
} }

View File

@ -1 +0,0 @@
module ".circleci"

View File

@ -174,7 +174,7 @@ jobs:
-- \ -- \
<< parameters.coverage >> \ << parameters.coverage >> \
<< parameters.go-test-flags >> \ << parameters.go-test-flags >> \
<< parameters.packages >> << parameters.target >>
no_output_timeout: 30m no_output_timeout: 30m
- store_test_results: - store_test_results:
path: /tmp/test-reports path: /tmp/test-reports
@ -762,8 +762,7 @@ workflows:
suite: utest-[[ $suite ]] suite: utest-[[ $suite ]]
target: "[[ $pkgs ]]" target: "[[ $pkgs ]]"
[[- end]] [[- end]]
- test:
- check-proofs-multicore-sdr:
go-test-flags: "-run=TestMulticoreSDR" go-test-flags: "-run=TestMulticoreSDR"
suite: multicore-sdr-check suite: multicore-sdr-check
target: "./extern/sector-storage/ffiwrapper" target: "./extern/sector-storage/ffiwrapper"
@ -785,37 +784,27 @@ workflows:
- master - master
- build-debug - build-debug
- build-all: - build-all:
requires:
- test-short
filters: filters:
tags: tags:
only: only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/ - /^v\d+\.\d+\.\d+(-rc\d+)?$/
- build-ntwk-calibration: - build-ntwk-calibration:
requires:
- test-short
filters: filters:
tags: tags:
only: only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/ - /^v\d+\.\d+\.\d+(-rc\d+)?$/
- build-ntwk-butterfly: - build-ntwk-butterfly:
requires:
- test-short
filters: filters:
tags: tags:
only: only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/ - /^v\d+\.\d+\.\d+(-rc\d+)?$/
- build-ntwk-nerpa: - build-ntwk-nerpa:
requires:
- test-short
filters: filters:
tags: tags:
only: only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/ - /^v\d+\.\d+\.\d+(-rc\d+)?$/
- build-lotus-soup - build-lotus-soup
- build-macos: - build-macos:
requires:
- test-short
filters: filters:
branches: branches:
ignore: ignore:
@ -824,8 +813,6 @@ workflows:
only: only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/ - /^v\d+\.\d+\.\d+(-rc\d+)?$/
- build-appimage: - build-appimage:
requires:
- test-short
filters: filters:
branches: branches:
ignore: ignore: