Run Sikuli commands on Katalon-Studio

I am fairly new to the Gitlab runner. Followed this documentation and I set up CI/CD under settings. During registration, I declared the image as katalonstudio/katalon. I sudo installed and started. I created gitlab-ci.yml file. Once I ran the pipeline, I ended up getting an error: No/jobs or stages defined.

Here is my gitlab-ci.yml :

 image: katalonstudio/katalon
 services:
    - docker:dind
 
 
 stages: 
    - test


 test_job:
  stage: test
  script:
    - katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/MyProject/Test Suites/TestSuite1" -executionProfile="QA001"
  artifacts:
    name: "$CI_COMMIT_REF_NAME"
    paths:
      - report/
    reports:
      junit:
      - 'report/*.xml'
    when: always
  only: 
    variables:
    - $SCHEDULE_JOB == "Smoke test"

Am I missing anything in this file? File validation does not have any error. Also, do I have to edit the environmental variables in ubuntu? Any thoughts will be a great help.

Out of scope for me, personally. Let’s see if these guys can help:

@anon46315158 @ThanhTo @duyluong @huynguyen

I am not an expert on this either. We have this Sample CI project that you may find useful

not an expert on this area, but you can try to move the ‘stages’ at the top (and eventually the image and service under a default keyword), e.g:

stages: 
    - test

default:
  image: katalonstudio/katalon
  services:
    - docker:dind
 
test_job:
  stage: test
  script:
    - katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/MyProject/Test Suites/TestSuite1" -executionProfile="QA001"
  artifacts:
    name: "$CI_COMMIT_REF_NAME"
    paths:
      - report/
    reports:
      junit:
      - 'report/*.xml'
    when: always
  only: 
    variables:
    - $SCHEDULE_JOB == "Smoke test"

LE: also pay attention at the indentation, yaml files may be sensitive (my example may have some mistakes)