Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

(MODULES-4097) Sync travis.yml #115

Merged
merged 1 commit into from
Jan 17, 2017
Merged

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Dec 15, 2016

See also #116

puppetlabs-tomcat: [linux]
puppetlabs-vcsrepo: [linux]
puppetlabs-vsphere: [linux]
puppetlabs-xinetd: [linux]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we pull this out of the travis section?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I originally had it as a top-level hash key called supported_oss that I could anchor around the yaml file, but msync assumes that all top-level keys are files and can't find a file called moduleroot/supported_oss and fails, so I moved it into travis arbitrarily and reference it elsewhere...

It's not great (and honestly I don't like supported_oss anyway because managed_modules.yml duplicates this basically, but that can't hold other data) but can't find a better way yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

there is a :global key (see https://github.com/voxpupuli/modulesync#how-it-works) that can hold configuration available to all files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ooo, I can do that. That's sweet.

Copy link
Contributor

Choose a reason for hiding this comment

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

Global is exactly what I'm hoping for 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately there is a bug: voxpupuli/modulesync#96

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And merged, so I'll get that out.

puppetlabs-sqlserver: [windows]
puppetlabs-wsus_client: [windows]
puppetlabs-inifile: [linux,windows]
puppetlabs-stdlib: [linux,windows]
Copy link
Contributor

Choose a reason for hiding this comment

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

So these are not mutually exclusive but additive. Yes yes... 💯

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's the goal, though no idea if it works yet... it may try and add the win32 gems on linux and fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's all a matter of making the templates smart enough, I'm assuming.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefer the Gemfile to be smart enough to understand which platform it is running on, instead of hardcoding these here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, but I think that should be new ticketed work that we do after we get the branches merged.

Copy link
Contributor

Choose a reason for hiding this comment

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

Eventually we'll be there with the other changes that have been suggested by @bmjen - for now there is a difference in the gemfile that gets extracted with the additional gems when Windows. However it could be the same.

- rvm: 2.3.1
env: PUPPET_GEM_VERSION="~> 4.0"
bundler_args: --without system_tests
- rvm: 2.1.5
Copy link
Contributor

Choose a reason for hiding this comment

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

The oldest ruby version we support in PE is 2.1.7 in PE 2015.2.3 (puppet 4.2.3). After March 31, 2017 the oldest supported ruby will be 2.1.9 running puppet 4.5.2 in PE 2016.2.1.

After April 30, 2017 we down to supporting the PE 2016.4 LTS containing ruby 2.1.9, and puppet 4.7.0.

Maybe we should start explicitly specifying those version combinations in the cells here, to cover (and maintain) the right combinations. And have one for the latest version to avoid scrambling updates when we release new versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ferventcoder What do you say about this? I took the ruby versions from the windows branch as they are more specifically chosen I believe.

Copy link
Contributor

Choose a reason for hiding this comment

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

We want to be as close to what is in the AIO. So in this case, whatever the latest 4.x version is using we want to use. With other platforms it matters less but with Windows, it is paramount that the versions match exactly.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we are maybe on 2.1.8 now?

@hunner hunner force-pushed the travis_sync branch 4 times, most recently from 28974fb to ab47af4 Compare January 10, 2017 17:16
@eputnam eputnam merged commit d420967 into puppetlabs:windows Jan 17, 2017
@hunner hunner deleted the travis_sync branch January 24, 2017 18:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants