Project

General

Profile

Actions

action #60278

closed

circleci fails on personal fork when branch "gh-pages" does not exist

Added by okurz over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2019-11-26
Due date:
% Done:

100%

Estimated time:

Description

Observation

Seems like the circleci job "build-docs" fails when the branch "gh-pages" does not exist, e.g. in personal forks, e.g. as in https://app.circleci.com/jobs/github/okurz/openQA/4 where I do not see the need to test anything related to "gh-pages" when.

Suggestion

Maybe we should just trigger the job "build-docs" on the branch gh-pages or when it exists?

Actions #1

Updated by andriinikitin over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to andriinikitin
  • Target version set to Current Sprint
  • Difficulty set to easy
Actions #2

Updated by andriinikitin over 4 years ago

Just a note that this problem existed in travis days as well.
I will just let the script do nothing if the branch doesn't exists.

Actions #3

Updated by andriinikitin over 4 years ago

okurz wrote:

Maybe we should just trigger the job "build-docs" on the branch gh-pages or when it exists?

The problem is that the job must be triggered on every branch and then must work with gh-pages. And I don't think CI is smart enough to provide such filter.

So the script will just finish if it cannot proceed and let the job finish.

Actions #5

Updated by okurz over 4 years ago

PR had been merged 8 days ago. Unless you want to do more for it I suggest to resolve this ticket.

Actions #6

Updated by andriinikitin over 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF