본문 바로가기
[AWS]/GITLAB

27장. 파이프라인 트리거 / 실패한 작업 재시도 / 파이프라인 일정

by SAMSUNG CLOUD-OKY 2022. 2. 14.
반응형

 

## CI/CD -> Schedules 선택

 

 

 

In this short lecture, we're going to have a look at pipelining, triggers, how we can retry failed

jobs and now we can start the pipeline without making a comment.

Now, it may happen that your pipeline fails for no apparent reason, and especially if the job that

failed is really like the last one or one of the last jobs and the previous one really took a long time

to execute, it might be worth retrying jobs.

So in order to do that, you can simply click on this button on retrial and Giddyap will retry the job

for you.

And if it's successful, then the entire pipeline would be marked as successful.

The same goes for pipelines, if the entire pipeline failed, you can simply click on retry and it will

restart to the same pipeline with the same code that has been executed there and tried to rebuild it

again.

Sometimes temporary problems do occur and simply retrying the pipeline or retrying a job is a good way

to do it.

On other occasions, it might be just necessary to start a pipeline without actually making changes

to your code, and one way to do it is to simply manually click on one pipeline.

And this will open this interface, you have the possibility of selecting for which branch would like

to run the pipeline.

If there are any variables, you can simply input some data and click on one pipeline, and that would

be good as well.

It may also happen that you want to run your pipelines based on a schedule.

So let's say you're not constantly working on a project, but you still want to make sure that whatever

you're doing here, all the dependencies that you have, they are still properly working.

And maybe you want to build them daily or you might to build them once a week.

That's totally your decision.

And there's the possibility of doing that from Gitlow.

And this is being configured here under SkyCity schedules.

So here you have the possibility of creating a schedule.

Let's say that we want to run this pipeline daily.

You can run it every day at 4:00 a.m. and you can even define your own currency index if this is something

that you like, but I have just used one of the predefined options that are available here tend to select

the branch, specify any variables if that's needed, and simply save the pipeline.

Now, you can wait for this pipeline to run, but if you want to simply trigger it manually, you can

do it from here as well.

So that's about it.

These are different ways on how we can run your pipeline in catalepsy.

 

 
 
 
 
 
 
반응형

'[AWS] > GITLAB' 카테고리의 다른 글

[Node.js] npm이란?  (0) 2022.02.15
28장. 캐시를 사용하여 빌드 속도 최적화  (0) 2022.02.14
26  (0) 2022.02.11
25  (0) 2022.02.11
24  (0) 2022.02.11

댓글