Skip to content

Commit c135179

Browse files
Update pipeline javascript-commons
1 parent 767cd03 commit c135179

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.harness/ci.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,13 @@ pipeline:
3737
steps:
3838
- step:
3939
type: Run
40-
name: Ping redis
40+
name: redis-server
4141
identifier: Ping_redis
4242
spec:
4343
shell: Sh
4444
command: |-
45-
apt-get update && apt-get install -y redis-server redis-tools
46-
47-
redis-server --daemonize yes
48-
49-
for i in 1 2 3 4 5 6 7 8 9 10; do
50-
redis-cli ping >/dev/null 2>&1 && break
51-
sleep 0.2
52-
done
53-
54-
redis-cli ping
45+
apk add redis
46+
redis-sever /etc/redis.conf &
5547
- step:
5648
type: Action
5749
name: Set up Nodejs

0 commit comments

Comments
 (0)