GithubHelp home page GithubHelp logo

iberryful / infrabox-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sap-archive/infrabox-examples

0.0 2.0 0.0 444 KB

License: Apache License 2.0

Shell 36.51% CMake 2.59% C++ 7.97% JavaScript 2.82% Python 6.42% Dockerfile 43.69%

infrabox-examples's Introduction

InfraBox Examples

This repo contains examples for InfraBox, a continuous integration system.

Requirements

To be able to run the examples locally you should install infraboxcli. See How to install infraboxcli for instructions.

Run examples

To run jobs locally cd into a directory which contains a infrabox.json file. Now simply run

infrabox run

This will now run all the jobs defined in infrabox.json. If you want to run only a single job use:

infrabox run <job-name>

For more details on how to run jobs see the infraboxcli documentation

Examples

  1. Hello World: Run you first hello world job on InfraBox
  2. A simple C++ project: Compile and test a simple C++ program
  3. Upload your testresult: If you run tests in your job you can get the results visualized by InfraBox
  4. Create custom badges: An easy way of creating for your jobs
  5. Docker build arguments: Set Docker build arguments for your jobs
  6. Caching: Cache data between runs to speed up your builds
  7. Timeouts: Set timeouts for your jobs
  8. Environment Variables: Set environment vars for your jobs
  9. Secrets: How to handle passwords and other sensitive data
  10. Push Images
  11. Job Dependencies: Run multiple jobs with dependencies
  12. Transfer data: Transfer data between your jobs
  13. Docker Compose: Use docker compose in your job to run multiple containers
  14. Workflows: Split up your job graph into multiple workflows
  15. GIT Workflows: Included external workflows into your build
  16. Services
  17. Dynamic Workflows: Modify your job graph at runtime for full flexibility
  18. Build and use Image: In the same build

External Service Integrations

  1. Slack: Report your build status

See also Job Definitions for documentation about using all the different job types.

How to get support

If you need help please post your questions to Stack Overflow. In case you found a bug please open a Github Issue. Follow us on Twitter: @Infra_Box or have look at our Slack channel infrabox.slack.com.

Best practice

Please have a look at the Docker Best Practice Guide. It contains several useful tips on how to write good Dockerfiles.

In general it's a good idea to keep your containers small. So only install the libraries and components to really need. If possible use alpine images, because they are much smaller then the ubuntu images. This saves you time, because less data has to be downloaded for every job.

License

Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file.

infrabox-examples's People

Contributors

ib-steffen avatar iberryful avatar stege avatar

Watchers

 avatar  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.