Coder Social home page Coder Social logo

apollusehs-devops / automation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from containers/automation

0.0 0.0 0.0 99 KB

Automation scripts and configurations common across the containers org. repositories

License: Apache License 2.0

Shell 98.11% Dockerfile 1.89%

automation's Introduction

Automation scripts, libraries for re-use in other repositories

Usage

During build of an environment (VM, container image, etc), execute any version of the install script, preferably as root. The script must be passed the version number of the project release to install. Before making changes to the environment, the script will first download and then re-execute the requested version of itself.

For example, to install the v1.0.0 release, run:

url='https://github.com/containers/automation/releases/latest/download/install_automation.sh'
curl -sL "$url" | bash -s 1.1.3

The basic install consists of copying the contents of the common (subdirectory) and the installer script into a central location on the system. A global shell variable ($AUTOMATION_LIB_PATH) is set so that any dependent scripts can easily access the installed files.

Alt. Usage

If a clone of the repository is already available locally, the installer can be invoked with the magic version number '0.0.0'. Note that, while it will install the files from the local clone as-is, the installer still needs to reach out to github to retrieve tree-history details. This is required for the installer to properly set the actual version-number as part of the process.

Though not recommended at all, it is also possible to specify the version as latest. This will clone down whatever happens to be on the master branch at the time. Though it will probably work, it's best for stability to specify an explicit released version.

Dependencies

The install script and common subdirectory components require the following system packages (or their equivalents):

  • bash
  • core-utils
  • git
  • install

Subdirectories

.github/workflows

Directory containing workflows for Github Actions.

bin

Ths directory contains scripts intended for execution under multiple environments, pertaining to operations on this whole repository. For example, executing all unit tests, installing components, etc.

common

This directory contains general-purpose scripts, libraries, and their unit-tests. They're intended to be used individually or as a whole from within automation of other repositories.

cirrus-ci_retrospective

See the README.md file in the subdirectory for more information

automation's People

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.