Skip to content

Commit 7df18a8

Browse files
Update pipeline javascript-commons
1 parent ac380f7 commit 7df18a8

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.harness/ci.yaml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,17 @@ pipeline:
3333
imageName: ubuntu-latest
3434
buildIntelligence:
3535
enabled: false
36-
serviceDependencies:
37-
- identifier: redis
38-
name: Redis
39-
type: Service
40-
spec:
41-
connectorRef: account.har_connector
42-
image: redis:alpine
4336
execution:
4437
steps:
38+
- step:
39+
type: Background
40+
name: Start Redis
41+
identifier: start_redis
42+
spec:
43+
connectorRef: account.har_connector
44+
image: redis:alpine
45+
shell: Sh
46+
command: redis-server
4547
- step:
4648
type: Run
4749
name: Ping redis
@@ -51,10 +53,6 @@ pipeline:
5153
command: |-
5254
apt-get update && apt-get install -y redis-tools
5355
redis-cli ping
54-
command: |
55-
apt-get update && apt-get install -y redis-tools
56-
57-
redis-cli -h redis ping
5856
- step:
5957
type: Action
6058
name: Set up Nodejs

0 commit comments

Comments
 (0)