S
S
softshape2020-02-11 13:55:58
GitLab
softshape, 2020-02-11 13:55:58

Why does the simplest task in GitLab get stuck?

We are just starting to set up pipelines in gitlab. Made a simple .gitlab-ci.yml with stubs for scheduled tasks -

stages:
    - building
    - deployment
build:
    stage: building
    script:
        - echo "Build FINISHED!"
deploy to test1:
    stage: deployment
    dependencies:
        - build
    script:
        - echo "Deploy to test1 FINISHED!"
    when: manual
    environment:
        name: test1
        url: http://test1.ru/
deploy to test2:
    stage: deployment
    dependencies:
        - build
    script:
        - echo "Deploy to test2 FINISHED!"
    when: manual
    environment:
        name: test2
        url: http://test2.ru/


After committing to the master, we observe how the pipeline starts, but freezes, i.e. tagged stuck. How the echo command can hang, I do not understand. In what there can be a reef?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
softshape, 2020-02-11
@softshape

It turned out that everything is OK with the file. Our admin stopped the runner. When he started it again, everything worked.

�
âš¡ Kotobotov âš¡, 2020-02-11
@angrySCV

the runner is busy on another job (must be signed there)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question