Giter Club home page Giter Club logo

documentation's Introduction

EGI documentation

Build Status

Deploy Status

Source files used to build EGI documentation.

If you are interested in contributing, please check the Contributing Guide.

Requirements

Installing dependencies, building and testing locally

Hugo can be installed by following the official documentation.

Hugo (extended) releases can be downloaded from the Hugo releases page.

To install npm+nodejs please check the official instructions.

Everything has been tested with Node.js 12.

The dependencies of the docsy theme can be installed as follows:

# From the root of the repository clone
npm ci

Building the site

# From the root of the repository clone
git submodule update --init --recursive --depth 1
hugo --minify

Testing the site locally

# From the root of the repository clone
hugo server -D

The site is available locally at: http://localhost:1313/.

Updating the theme

For ease of management, the docsy theme has been cloned as a git submodule.

Updating the theme submodule

git submodule foreach git pull
git commit themes/docsy -m 'Update theme'

Deployment to the EGI organisation pages

GitHub Actions will automatically deploy a new version when a PR is merged into main. It will then be available at https://docs.egi.eu.

documentation's People

Contributors

andrea-manzi avatar brucellino avatar catalincondurache avatar crsndr avatar dependabot[bot] avatar dscardaci avatar egi-ilm avatar enolfc avatar giannidallatorre avatar glarocca avatar grgsipos avatar gwarf avatar ioigoume avatar jose-caballero avatar lionick avatar maxfischer2781 avatar micafer avatar mrorro avatar msalle avatar mviljoen-egi avatar nicolasliampotis avatar nikosev avatar paolini78 avatar sebastian-luna-valero avatar spigad avatar tdviet avatar thebe14 avatar thysk avatar valtri avatar yinchenegi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

documentation's Issues

Offline version of docs

Short Description of the issue

Provide a downloadable version of the documentation (maybe a pdf)

Document performance testing of cloud site

We should provide guidance/example on how to assess the performance of a cloud site, it would be useful to understand what can be expected from a site and also to help diagnose/troubleshoot deployment problems.

Some pointers:

Example:

# Using sysbench
sudo apt-get install sysbench
sysbench --test=cpu --cpu-max-prime=20000 run
# Using phoronix test suite
sudo apt-get install phoronix-test-suite
phoronix-test-suite list-available-suites
# Chose one, and run it.
phoronix-test-suite run pts/cpu 

Integration of VOMS documentation

Short Description of the issue

Workload manager doc contained few details that could worth to record.
Copying here just to avoid loosing them.

Summary of proposed changes

Install your credentials

$ mkdir -p $HOME/.globus
$ chmod 700 $HOME/.globus
$ openssl pkcs12 -in $HOME/MyCertificate \ -clcerts -nokeys -out $HOME/.globus/usercert.pem
$ openssl pkcs12 -in $HOME/MyCertificate\ -nocerts -out $HOME/.globus/userkey.pem
$ chmod 600 $HOME/.globus/usercert.pem $HOME/.globus/userkey.pem ```

Contributing guide: document usual and accepted way to adapt linter behaviour

Contributing guide: document usual and accepted way to adapt linter behaviour.
Example:

  • adding line length check exception for tables (see #141 (review))
<!-- markdownlint-disable line-length -->
| Action           | rOCCI                                                                                                                | OpenStack                                                                                |
| ---------------- | -------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| List images      | `occi -a list -r os_tpl`                                                                                             | `openstack image list`                                                                   |
<!-- markdownlint-enable line-length -->
  • adding inline-html exceptions for HTML tags in tables like <ul>, <ol> and <li> (see #141 (comment)):
<!-- markdownlint-disable line-length no-inline-html -->
Random text including HTML <span class="fritghtening">tags</span>.
<!-- markdownlint-enable line-length no-inline-html -->

Add a contribution guide

Add some documentation explaining how users can contribute via the various possiblities:

  • git fork / clone / PR workflow
  • PR from the browser

Look at automating management of IGTF CAs and CRLs bundle

Currently CAs and CRLs bundles have to be managed manually for HAproxy (cf. EGI-Federation/fedcloud-integration-documentation#28 and https://egi-federated-cloud-integration.readthedocs.io/en/latest/openstack.html#pre-requisites).
Ideally it should be automated using fetch-crl and yum hooks.

Automatic managing of CRLs bundle

Proposed solution by @dlgroep.

CRLs bundle should be updated after each fetch-crl passes. The postexec hook could be use with a script using cat and reloading HAproxy:

 #!/bin/sh
 cat "$5"/*.r0 > "$5"/igtf-crls-bundle.pem
 systemctl reload haproxy.service

Automatic managing of CAs bundle

Possible solutions

  • Using a cron job with cat and reload (like every 6 hours) (proposed by @dlgroep)
  • Using a yum-plugin-post-transaction-actions.noarch triggering on any change on one of the ca_* packages. (proposed by @msalle)

Moved from EGI-Federation/fedcloud-integration-documentation#30

Clarify requirements for registration of FedCloud sites into the Configuration Database

This issue is about registration of FedCloud sites within GOCDB

  • Registration in GOCDB is documented but this should be linked from a/multiple steps within the integration docs so that it's more clear for users when/how to do this.

Moved from EGI-Federation/fedcloud-integration-documentation#19

Moved from EGI-Federation/fedcloud-integration-documentation#48

  • What about the FedCloud scope?

Moved from EGI-Federation/fedcloud-integration-documentation#6

Access/authorisation schemes of all central services should be clearly documented

Access/authorisation schemes of all central services should be clearly documented, currently we mainly rely on people's memory or service admins and while for some services this information may be buried in various places it's hard to find it so it's costly in time and error prone.
Example: secmon.egi.eu is only accessible by users having the NGI Security officer role.

Document how to build

Short Description of the issue

Update the README with clear instructions on how to install dependencies and build the site

Summary of proposed changes

OpenStack

Short Description of the issue

Define actual(working) versions of components at the integration documentation

Summary of proposed changes

Would be nice to see at the integration documentation page the actual versions of components with links to dockerhub. Or in general create additional page how to start all components via docker form @enolfc repo. If needed I can try to prepare draft.

Provide a markdown styleguide

In order to have a clear markdown styleguide that we can enforce using automated tools.

Hugo is using goldmark to parse and render markdown.
It's compliant with CommonMark.
GitHub Flavored Markdown is based on CommonMark.

So we need:

  • a style guide compliant with CommonMark
  • a linter able to enforce this when testing
  • ideally an auto formatter that can be used with VIM and IDE

Some style guides and documentation about markdown:

Some linters:

Additional points to be documented in the contributing guide

This task is meant to collect the additional points to be documented in the contributing guide:

  • using web interface or git rebase to merge changes from the upstream repository in case it was updated since the feature branch creation
  • using alerts/info messages, see https://docs.egi.eu/users/cloud-compute/faq/#how-can-i-inject-my-public-ssh-key-into-the-machine
  • including images (code snippet + naming of files),
  • including code snippets
  • README should also propose to use the live/nice version at https://docs.egi.eu/about/contributing/
  • using git stash to backup changes uncommitted made to master, creating a feature branch and committing changes
  • ensuring to save/commit quickly changes made to a PR via the web interface to avoid problems like #77 (comment)
  • Style/contributing guide should clarify how services should be named (complete portfolio name) and acronyms used (only when providing a clear benefit and not for service n ames) (see #83 (comment))
  • A link to style rules can be added to the pull request template

Add IM/EC3 documentation

Short Description of the issue

We need some documentation on how IM and/or EC3 are used within fedcloud.

Provide rendering of PRs

Short Description of the issue

It would be nice to have some rendering of the proposed PRs so people can take a look how the changes will look on the server before merging.

Summary of proposed changes

Backup options for cloud compute

Short Description of the issue

We should have some documentation on how to perform backups in cloud compute service

Summary of proposed changes

Documentation should contain a "Troubleshooting" section

Standard/common problems and instruction to help user debug their problems should be documented in something like a "troubleshooting" section.
It should probably include:

  • checking that the user is in the appropriate VO/COU
  • mention that there may be a need to link various identities or to ensure that it's always the same IdP that is used
  • how to try to debug (using standard CLI/alternative tools)
  • who to contact

Move from Travis to github actions

Move from Travis to github actions: we are experiencing long build delay using Travis, and according to changes in Travis management/strategy it may be safer to start looking at alternatives like GitHub actions.
https://docs.github.com/en/free-pro-team@latest/actions/quickstart

https://developer.okta.com/blog/2020/05/18/travis-ci-to-github-actions

https://github.com/marketplace/actions/hugo-setup

To be done:

  • Mardkown linting
  • Building site with hugo
  • deploy on PR merge

egicli docs

Short Description of the issue

Add documentation on egicli

Summary of proposed changes

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.