Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge before test #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Merge before test #55

wants to merge 1 commit into from

Conversation

ant31
Copy link
Contributor

@ant31 ant31 commented Jan 11, 2019

No description provided.

@ant31 ant31 force-pushed the rebase-before-test branch from 5e84c64 to 69d988c Compare February 6, 2019 11:02
@@ -68,6 +68,9 @@ def _checkout_repo(self, gevent, repo_path):
'expected_sha': gevent.head_sha,
'sha': gitbin.rev_parse('HEAD')
})

if FFCONFIG.failfast['build']['rebase'] is True:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if FFCONFIG.failfast['build']['rebase']: is probably more pythonic



def strtobool(s):
if s in ["yes", "on", "true", "True", "TRUE"]:
Copy link
Contributor

@Miouge1 Miouge1 Apr 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can refactor this as simple one liner return s in ["yes", "on", ...]

@Miouge1
Copy link
Contributor

Miouge1 commented Apr 19, 2019

Automatic rebase on master would be awesome in Kubespray, but what happens when there is a conflict? Would it fail the GitHub check or continue without rebase?

@ant31
Copy link
Contributor Author

ant31 commented Apr 23, 2019

it should fail yes

@ant31
Copy link
Contributor Author

ant31 commented Apr 23, 2019

I've deployed it once;

But the sha is then different on Gitlab so the report back to github was broken.
We should find a way to keep the original SHA information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants