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

Fix merge conflicts for PR #404 #405

Merged
merged 19 commits into from
Oct 26, 2017
Merged

Conversation

dallinb
Copy link
Contributor

@dallinb dallinb commented Sep 24, 2017

@bastelfreak this should hopefully sort the problems with #404 when merging onto master. One thing is that is happening is that the update to the gems means that the tests are now failing. I will start working on during the week. Would you prefer that these are fixed on this branch before you approve this merge? Also do we want to change the default branch from 'develop' to 'master'?

dallinb and others added 10 commits May 23, 2017 19:31
* voxpupuli#395 Implement apache repo for Red Hat

* voxpupuli#395 Adding Red Hat OS

Adding Red Hat OS for the Apache repo

* voxpupuli#395 Add release to the URL

* Adding gpg key to yum
* Switch to role management instead of user one for cassandra > 2.2

CREATE USER, DROP USER, LIST USERS are deprecated in favor of
CREATE ROLE, DROP ROLE, LIST ROLES.
This PR introduces the changes regarding user management by
switching to roles for cassandra version greater or equal 2.2

CREATE USER is supported for backwards compatibility only.
Authentication and authorization for Cassandra 2.2 and later are
based on ROLES, and use CREATE ROLE instead [1]

[1]. http://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateUser.html

* Release 2.5.0

* [blacksmith] Bump version to 2.6.0

* Update to the changelog for 2.6.0.

* Corrected CHANGELOG and added stijnvdb to CONTRIBUTERS.

* Release 2.6.0 (voxpupuli#402)

* Integration with github_changelog_generator

* Release 2.5.0

* Bugfix-397: Spec tests not working. (voxpupuli#398)

* voxpupuli#395 Adding Red Hat OS (voxpupuli#396)

* voxpupuli#395 Implement apache repo for Red Hat

* voxpupuli#395 Adding Red Hat OS

Adding Red Hat OS for the Apache repo

* voxpupuli#395 Add release to the URL

* Adding gpg key to yum

* Cassandra 3.X and Debian 7 clash over GLIBC version. (voxpupuli#399)

* Implement apache_repo for RedHat (voxpupuli#400)

Fixes voxpupuli#395.

* [blacksmith] Bump version to 2.6.0

* Update to the changelog for 2.6.0.

* Corrected CHANGELOG and added stijnvdb to CONTRIBUTERS.
@bastelfreak
Copy link
Member

@dallinb yep default branch should be switched to master, which I just did. Is this PR supposed to go into develop?

@dallinb dallinb changed the base branch from develop to master September 24, 2017 20:10
@dallinb
Copy link
Contributor Author

dallinb commented Sep 24, 2017

I've corrected the base branch.

@bastelfreak bastelfreak reopened this Sep 24, 2017
@bastelfreak
Copy link
Member

mhm, I don't get why travis doesn't want to start.

@dallinb
Copy link
Contributor Author

dallinb commented Sep 25, 2017

Indeed, looks like Travis and GitHub have stopped talking to each other since the GitHub project was migrated:

08:29 $ travis requests --limit 5
push to develop rejected (Build type disabled via repository settings (push).)
  0729e03 - Release 2.6.0 (#403)
  received at: 2017-09-12 08:26:59

PR #403 approved (HEAD commit not updated)
  025856c - Merge branch 'master' into release-2.6.0
  received at: 2017-09-11 22:21:24

push to release-2.6.0 rejected (Build type disabled via repository settings (push).)
  d8b5d67 - Merge branch 'master' into release-2.6.0
  received at: 2017-09-11 22:20:37

push to gh-pages rejected (Build type disabled via repository settings (push).)
  098e105 - [strings] Generated Documentation Update at Revision 2.5.0-1-g40f8045
  received at: 2017-09-11 22:11:57

push to 2.6.0 rejected (Build type disabled via repository settings (push).)
  40f8045 - Release 2.6.0 (#402)
  received at: 2017-09-11 22:10:04

That date ties in with when I was preparing the 2.6.0 release to Puppet Forge. Travis is only enabled for push requests and not pull requests.

08:29 $ travis settings
Settings for voxpupuli/puppet-cassandra:
[+] builds_only_with_travis_yml    Only run builds with a .travis.yml
[-] build_pushes                   Build pushes
[+] build_pull_requests            Build pull requests
  0 maximum_number_of_builds       Maximum number of concurrent builds

Short of disabling the project and re-enabling it (a sort of Travis "have you tried switching it off and on again?") I'm not sure what we can do.

@dallinb
Copy link
Contributor Author

dallinb commented Sep 25, 2017

I've ensured that the settings for voxpupuli/puppet-cassandra are the same as those for voxpupuli/puppet-nginx. I then setup dallinb/puppet-cassandra to run against TravisCI as well (also with the same settings). It seems branches with the new .travis.yml are not running. I created a branch (why_no_travis) from the original master and this does attempt to build (see below):

20:41 $ travis requests
Detected repository as dallinb/puppet-cassandra, is this correct? |yes| 
push to issue-404 rejected (Branch "issue-404" not included per configuration.)
  af2e051 - Fixed issues identified by a later version of Puppet lint (#394).
  received at: 2017-09-25 20:36:16

push to why_no_travis approved (validation pending)
  40f8045 - Release 2.6.0 (#402)
  received at: 2017-09-25 20:30:07

push to issue-394_Puppet_Lint rejected (Branch "issue-394_Puppet_Lint" not included per configuration.)
  af2e051 - Fixed issues identified by a later version of Puppet lint (#394).
  received at: 2017-09-25 20:23:10

@bastelfreak
Copy link
Member

bastelfreak commented Sep 25, 2017

so what seems to work:

  • disable the required status check for travis
  • disable travis as hook in github
  • readd travis

@bastelfreak
Copy link
Member

You can probably fix a bunch of rubocop issues by running:

 bundle exec rubocop -c .rubocop.yml -D -S -a

@dallinb
Copy link
Contributor Author

dallinb commented Sep 26, 2017

@bastelfreak Thank you very much for your assistance so far. I'll work my way through the failing tests.

@dallinb
Copy link
Contributor Author

dallinb commented Sep 28, 2017

Fixed RuboCop complaints. Now moving onto spec tests.

@wyardley
Copy link
Contributor

@dallinb bump

@dallinb
Copy link
Contributor Author

dallinb commented Oct 20, 2017

@wyardley apologies for the long absence. The day job is getting in the way. I have time off next week so will continue with working on this then.

@wyardley
Copy link
Contributor

@dallinb no worries, of course! Sorry to bug you about it 😉

@wyardley wyardley merged commit e9924f8 into voxpupuli:master Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants