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

[WIP] Allow deploying modules to the forge #87

Closed
wants to merge 2 commits into from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jul 10, 2018

Travis can deploy a module to the puppet forge when a tag is pushed. This makes it easier to release a module.

Untested right now. I'm thinking about checking if a tag is GPG signed but wondering how much that actually adds.

@zjhuntin
Copy link

Is there a way to test this locally? It seems logical to me, but I'd be happy to give it a go.

@ekohl
Copy link
Member Author

ekohl commented Jul 11, 2018

You can run bundle install && bundle exec msync update --noop to update the modules without pushing. That way you can see the rendered changes. Note that modules need a secret in their .sync.yml so the if statement is true.

I intend to transfer https://github.com/ekohl/puppet-foreman_simple_user to the foreman org and publish it on the forge. That should be my testcase of automatically pushing a tag and checking what Travis does. I'm not aware of an easier method.

@ekohl
Copy link
Member Author

ekohl commented Jul 12, 2018

I've opened for a public discussion: https://community.theforeman.org/t/releasing-puppet-modules-via-travis/10387

Travis can deploy a module to the puppet forge when a tag is pushed.
This makes it easier to release a module.
@ekohl
Copy link
Member Author

ekohl commented Nov 25, 2019

We're likely going to be moving away from Travis so I'm going to close this.

@ekohl ekohl closed this Nov 25, 2019
@ekohl ekohl deleted the forge-deploy branch November 25, 2019 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants