tangled
alpha
login
or
join now
ladas552.me
/
core
forked from
tangled.org/core
0
fork
atom
Monorepo for Tangled
0
fork
atom
overview
issues
pulls
pipelines
ci noodling
Signed-off-by: oppiliappan <me@oppi.li>
oppi.li
2 months ago
69a8def7
ada8bf64
verified
This commit was signed with the committer's
known signature
.
oppi.li
SSH Key Fingerprint:
SHA256:yQs05DbrlPDC2pBXLxqOdLYEswq3oEBnHaJiBP7bOlM=
+7
-8
2 changed files
expand all
collapse all
unified
split
.tangled
workflows
test.yml
spindle
engine
engine.go
+5
-3
.tangled/workflows/test.yml
···
1
1
when:
2
2
- event: ["push", "pull_request"]
3
3
-
branch: master
3
3
+
branch: ["master","ci"]
4
4
5
5
engine: nixery
6
6
···
19
19
20
20
- name: run gomod2nix
21
21
command: |
22
22
-
HOME=$(mktemp -d)
23
23
-
echo $HOME
22
22
+
# this var is overridden by the env setup otherwise
23
23
+
export HOME=/tmp/build-home
24
24
+
mkdir -p $HOME
25
25
+
rm -rf /homeless-shelter || true
24
26
nix run .#gomod2nix
25
27
26
28
- name: verify no changes
+2
-5
spindle/engine/engine.go
···
36
36
l.Info("using workflow timeout", "timeout", workflowTimeout)
37
37
38
38
for _, w := range wfs {
39
39
-
wg.Add(1)
40
40
-
go func() {
41
41
-
defer wg.Done()
42
42
-
39
39
+
wg.Go(func() {
43
40
wid := models.WorkflowId{
44
41
PipelineId: pipelineId,
45
42
Name: w.Name,
···
118
115
if err != nil {
119
116
l.Error("failed to set workflow status to success", "wid", wid, "err", err)
120
117
}
121
121
-
}()
118
118
+
})
122
119
}
123
120
}
124
121