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

Teach tom to add tags #54

Merged
merged 2 commits into from
Apr 5, 2020
Merged

Teach tom to add tags #54

merged 2 commits into from
Apr 5, 2020

Conversation

Lex-2008
Copy link
Contributor

No description provided.

@Lex-2008 Lex-2008 changed the title tags PR Teach tom to add tags Mar 31, 2020
Aleksei Shpakovskii added 2 commits April 1, 2020 13:19
Instead of one remote with different URLs for push and pull, we now have
two remotes: `upstream` and `origin`, so you could easily push directly
to upstream remote - useful when pushing tags, since we don't (can't?)
create pull requests for them.
@@ -7,7 +7,7 @@
"reviewers": ["olehermanse", "vpodzime"],
"jenkins": "https://ci.cfengine.com/",
"jenkins_job": "pr-pipeline",
"bot_features": ["create_pr_magic", "update_dependencies", "generate_changelogs", "ping_reviewer"],
"bot_features": ["create_pr_magic", "update_dependencies", "generate_changelogs", "ping_reviewer", "tag_builds"],
Copy link
Member

Choose a reason for hiding this comment

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

@Lex-2008 This config is for the instance of tom running on jenkins machine. I believe it should not have any of the slack features, since you are running this elsewhere?

@@ -47,6 +47,8 @@ def __init__(self, config, secrets, directory, interactive):
if 'generate_changelogs' in config["bot_features"]:
self.changelogger = ChangelogGenerator(
self.github, self.slack, self.dispatcher, 'Lex-2008')
if 'tag_builds' in config["bot_features"]:
self.tagger = Tagger(self.github, self.slack, self.dispatcher, 'Lex-2008')
Copy link
Member

Choose a reason for hiding this comment

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

Please talk to @nickanderson about not using a personal account for this.

def push(self, branch_name):
"""Pushes local branch to remote repo, optionally also setting upstream
def push(self, ref=None, remote='origin'):
"""Pushes local branch or tag to remote repo, optionally also setting it as upstream
Copy link
Member

Choose a reason for hiding this comment

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

No longer sets upstream

Copy link
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

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

Looks good overall.

Copy link
Collaborator

@cf-bottom cf-bottom left a comment

Choose a reason for hiding this comment

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

I trust @olehermanse, approved!

Copy link
Collaborator

@cf-bottom cf-bottom left a comment

Choose a reason for hiding this comment

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

I trust @olehermanse, approved!

Copy link
Collaborator

@cf-bottom cf-bottom left a comment

Choose a reason for hiding this comment

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

I trust @olehermanse, approved!

Copy link
Collaborator

@cf-bottom cf-bottom left a comment

Choose a reason for hiding this comment

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

I trust @olehermanse, approved!

@olehermanse olehermanse merged commit 97c7533 into cfengine:master Apr 5, 2020
Lex-2008 pushed a commit to Lex-2008/cf-bottom that referenced this pull request Sep 21, 2020
It was added in cfengine#54, but wasn't enabled by
default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants