authorjapps / zerocode

A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:
https://zerocode-tdd.tddfy.com
Apache License 2.0
909 stars 397 forks source link

CI Build issue : docker-compose: command not found #677

Closed authorjapps closed 2 months ago

authorjapps commented 2 months ago

Problem:

The CI build is getting stuck here and not going to next step.

image

Error:

0s
Run docker-compose -f docker/compose/kafka-schema-registry.yml up -d && sleep [1](https://github.com/authorjapps/zerocode/actions/runs/10628056783/job/29507790541#step:4:1)0
  docker-compose -f docker/compose/kafka-schema-registry.yml up -d && sleep 10
  shell: /usr/bin/bash -e {0}
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/8.0.4[2]

(https://github.com/authorjapps/zerocode/actions/runs/10628056783/job/29507790541#step:4:2)2-5/x64
    JAVA_HOME_8_X64: /opt/hostedtoolcache/Java_Adopt_jdk/8.0.422-5/x64
/home/runner/work/_temp/5c944ddd-a9c0-46eb-b8a1-[3](https://github.com/authorjapps/zerocode/actions/runs/10628056783/job/29507790541#step:4:3)d9f4141c902.sh: 
line 1: docker-compose: command not found
Error: Process completed with exit code 127.

Example (stuck builds): https://github.com/authorjapps/zerocode/actions/runs/10628056783/job/29507790541

Also, see this tab: https://github.com/authorjapps/zerocode/actions


GitHub Action Workflow Used:

Here: https://github.com/authorjapps/zerocode/blob/master/.github/workflows/main.yml

Check why this started failing only recently ? Do any updates if required in the Actions script above.