Giter VIP home page Giter VIP logo

garage-pipelines's Introduction

Garage pipelines

This repository is used by the IBM Garage Cloud Native Toolkit CLI igc enable command. It contains the default pipelines used when choosing what pipeline to add to your project. You can use this template and customize the pipelines to suit your needs. Run the igc enable command with the --repo argument to pass in the location of your copy of this template.

The igc enable command expects the pipelines to be packaged into gzip'd tarballs and published to GitHub Pages. Therefore the url format for the command would be igc enable --repo https://<org-name>.github.io/<repo-name>/

Where

  • <org-name> is the name of your github organization or owner.
  • <repo-name> is the name of the github repo.

Customizing the pipelines in this repository

To customize the pipelines in this repo

  1. Click the use this template button
  2. Select the owner/organization and enter a repository name
  3. Select Include all branches, we need the publish and gh_pages branches as well
  4. Click the create repository from template button.

You can now modify the pipelines to suit your needs.

Before you can use your pipelines you need to publish them to GitHub pages.

Publishing the repository to GitHub pages

There are three ways you can publish the pipelines.

  • GitHub Actions
  • Travis
  • Manually

Publishing the repo using GitHub Actions

The GitHub actions are located in the .github/workflows/publish.yaml file. When creating a copy of this template in a GitHub environment that supports actions they should automatically publish your pipelines

Publishing the repo using Traivs

There is a .travis.yml file located in the repo. Update the REPO_URL environment variable and then configure Travis.

Publishing the repo manually

There is a ./ci/build.sh script in the repository.

Run this script which should package up the pipelines into gzip'd tarballs, change to the gh-pages branch, copy the files into the correct locations, and generates the index.yaml file.

Commit and push the changes to the gh-pages branch

garage-pipelines's People

Contributors

davemulley avatar lsteck avatar seansund 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.