GithubHelp home page GithubHelp logo

f5devcentral / f5-agility-labs Goto Github PK

View Code? Open in Web Editor NEW
5.0 14.0 14.0 7.64 MB

F5 Agility Lab Guides Organizing Repository

Home Page: https://clouddocs.f5.com/training/community/

License: MIT License

Shell 15.06% HTML 44.43% TeX 4.04% CSS 3.89% JavaScript 25.86% Python 6.73%
documentation training-labs sphinx f5-agility-labs

f5-agility-labs's Introduction

f5-agility-labs

master Issues

This repository contains the build infrastructure used to create lab content for F5 Networks Agility Labs hosted at http://clouddocs.f5.com

It is recommended that you use the Sphinx lab template here:

https://github.com/f5devcentral/f5-agility-labs-template

This repository leverages a CI/CD toolchain with full build, test and publish to production environment.

Install/Build Content

  • git clone https://github.com/f5devcentral/f5-agility-labs.git
  • cd f5-agility-labs
  • git submodule update --init --recursive
  • script/build

Adding your Lab

At this time only F5 Networks employees can request addition of a lab

To add your lab to this repository please email:

  • *AgilityLabsRTD

Be sure to include your lab repository URL.

Repo Structure

All labs are included as git submodules in the labs directory. The submodule tracks the master branch on the remote repository. It should be assumed that all commits to master will be published to a production environment.

The scripts in the script directory automatically build HTML and PDF content and output to the _build/<lab_name>/[html|pdf]/ directory.

During build an index page is generated using the Sphinx project in docs. The generated index is then copied to the _build directory.

Branches

  • master: Protected branch; HEAD publishes to production; No push access
  • develop: Protected branch; Pull Requests are tested through Github Actions

All modifications to this repo should be via a Pull Request to the develop branch. PR's will be tested before merge. Repo admins will then merge develop to master as required to publish to production.

Update Lab Submodule

First be sure to do a git pull

To pull the latest commits for ALL submodules:

git submodule update --recursive --remote

To pull the latest commits for a specific submodule:

git submodule update --remote labs/<name>

Push new commit hashes for submodules:

  • git commit -a -m "commit msg"
  • git push

Add Lab Submodule

  • git submodule add <repo_url> labs/<name>
  • git commit -a -m "commit msg"
  • git push

Remove Lab Submodule

  • git submodule deinit -f labs/<name>
  • rm -rf .git/modules/labs/<name>
  • git rm -f labs/<name>

Build Options

The following environment variables can be used to modify what is built:

  • SKIP_BUILDLABS: Presence of the variable will cause lab content build to be skipped. Landing page will still be built

    • Example: export SKIP_BUILDLABS=1
  • BUILD_LIST: A space delimted list of lab submodules to build. By default the contents of the labs/ submodule directory are populated in this variable. Setting allows you to build only specific labs

    • Example: export BUILD_LIST="adc ddos programmability"
  • BUILD_ALL: Force a build of all submodules in BUILD_LIST

    • Example: export BUILD_ALL=1

f5-agility-labs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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