Giter Site home page Giter Site logo

h0tw1r3 / pdk-vanagon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from puppetlabs/pdk-vanagon

0.0 1.0 0.0 1.35 MB

Vanagon packaging config repo for the Puppet SDK

License: Apache License 2.0

Shell 0.45% Ruby 54.10% PowerShell 3.74% HTML 30.90% Batchfile 0.95% VBScript 9.86%

pdk-vanagon's Introduction

Puppet Development Kit (PDK) Packaging

Code Owners GitHub release (latest by date)

Table of contents

  1. Description
  2. Usage i. Promoting and releasing new packages ii. Promoting changes to puppetlabs/pdk-templates into new packages iii.Building new local packages for any other changes
  3. Development

Description

The purpose of this tool is to enable PDK native package building across all of our supported platforms.

This repository contains all the necessary scripts to build these packages and push them into our internal Jenkins pipelines.

Usage

Promoting and releasing new packages

NOTE: Please refer to the instructions in the PDK Release Ticket Template for the most up-to-date instructions on releasing a new version of the PDK

  1. Choose the upstream pdk SHA that you want to release. Optionally, follow the pdk's release process to create a public gem release. You can ignore this step if you want to take the latest commit on main of the pdk and pdk-templates repos.
  2. PDK merges to main are automatically promoted into pdk-vanagon with this jenkins job.
  3. Make sure the correct ref and version have landed in configs/components/rubygem-pdk.json.
  4. Make sure the correct ref has landed in configs/components/pdk-templates.json. This will have been bumped to the latest SHA from pdk-templates by Jenkins.
  5. Create a tag for the RC build: git tag -a -m x.y.z.0-rc.# x.y.z.0-rc.# e.g. (git tag -a -m 1.18.0.0-rc.1 1.18.0.0-rc.1)
  6. Trigger a new build with default params.
  7. Once the Jenkins jobs are finished, your new packages will appear in builds.delivery.p.n with either the tag you attached to your new commit or the SHA of your pdk-vanagon (not pdk) commit.
  8. Optional: If the packages were tagged with a version, use the S3 ship job to sign and ship the packages to S3. The REF parameter receives the pdk-vanagon tag to ship. RE's CGI script (see RE-9094) will need modifications to pick up the new version.
  9. After pushing a release to S3, send out a Release Announcement
  10. Celebrate

Promoting changes to puppetlabs/pdk-templates into new packages

  1. Edit configs/components/pdk-templates.json. Update the ref to point to the desired SHA from the pdk-templates.

See https://tickets.puppetlabs.com/browse/PDK-578

Building new local packages for any other changes

  • Clone this repo
  • Change the configs/components/rubygem-pdk.json to point to the SHA or ref and version you want to test/build.
  • Change the configs/components/pdk-templates.json to point to the SHA or ref and version you want to test/build.
  • bundle install
  • bundle exec build pdk ubuntu-16.04-amd64,windows-2012r2-x64,el-7-x86_64

For more info see https://github.com/puppetlabs/vanagon

Development

This tool is owned by DevX, part of the Content and Tooling (CAT) team.

This is an open-source project and, as such, Issue reports and Pull Requests are always welcome in our GitHub repository.

If you have any questions, or simply want to contact us regarding open-source contributions, you can find us in the official community Slack server. We host an office hours (Q&A) session biweekly on Tuesdays at 15:00 (BST).

pdk-vanagon's People

Contributors

puppetlabs-jenkins avatar scotje avatar bmjen avatar rodjek avatar davids avatar chelnak avatar glennsarti avatar jordanbreen28 avatar gspatton avatar da-ar avatar lukasaud avatar mwaggett avatar jpogran avatar austb avatar david22swan avatar pmcmaw avatar malikparvez avatar jackie-kinsler avatar e-gris avatar iristyle avatar h0tw1r3 avatar nicklewis avatar ramesh7 avatar joshcooper avatar isaac-hammes avatar gavindidrichsen avatar jtappa avatar michaeltlombardi avatar sarameisburger avatar whopper avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.