mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-26 14:41:31 -07:00
Update docs for main
Signed-off-by: ansible-middleware-core <ansible-middleware-core@redhat.com>
This commit is contained in:
parent
79b0fe1907
commit
20c47f83b7
64 changed files with 5300 additions and 1100 deletions
|
@ -1,30 +1,28 @@
|
|||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html class="writer-html5" lang="en" data-content_root="./">
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Contributor’s Guidelines — Keycloak Ansible Collection documentation</title>
|
||||
<title>Developing — Keycloak Ansible Collection documentation</title>
|
||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=5707b69d" />
|
||||
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
|
||||
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
|
||||
<link rel="stylesheet" type="text/css" href="_static/antsibull-minimal.css" />
|
||||
<link rel="stylesheet" type="text/css" href="_static/ansible-basic-sphinx-ext.css" />
|
||||
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="_static/js/html5shiv.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script src="_static/jquery.js?v=5d32c60e"></script>
|
||||
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
|
||||
<script src="_static/documentation_options.js?v=5929fcd5"></script>
|
||||
<script src="_static/doctools.js?v=9a2dae69"></script>
|
||||
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
||||
<script src="_static/jquery.js?v=5d32c60e"></script>
|
||||
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
|
||||
<script src="_static/documentation_options.js?v=5929fcd5"></script>
|
||||
<script src="_static/doctools.js?v=9bcbadda"></script>
|
||||
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
||||
<script src="_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="Collection Versioning Strategy" href="releasing.html" />
|
||||
<link rel="prev" title="Testing" href="testing.html" />
|
||||
<link rel="next" title="Testing" href="testing.html" />
|
||||
<link rel="prev" title="middleware_automation.keycloak Release Notes" href="CHANGELOG.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
|
@ -51,27 +49,28 @@
|
|||
<li class="toctree-l1"><a class="reference internal" href="README.html">Ansible Collection - middleware_automation.keycloak</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="plugins/index.html">Plugin Index</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="roles/index.html">Role Index</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="CHANGELOG.html">Changelog</a></li>
|
||||
</ul>
|
||||
<p class="caption" role="heading"><span class="caption-text">Developer documentation</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="testing.html">Testing</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">Contributor’s Guidelines</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasing.html">Collection Versioning Strategy</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">Developing</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#build-and-install-locally">Build and install locally</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#development-environment">Development environment</a></li>
|
||||
</ul>
|
||||
<p class="caption" role="heading"><span class="caption-text">General</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="CHANGELOG.html">Changelog</a></li>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="#contributor-s-guidelines">Contributor’s Guidelines</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="testing.html">Testing</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasing.html">Releasing</a></li>
|
||||
</ul>
|
||||
<p class="caption" role="heading"><span class="caption-text">Middleware collections</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/infinispan/main/">Infinispan / Red Hat Data Grid</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/keycloak/main/">Keycloak / Red Hat Single Sign-On</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/infinispan/main/">Infinispan / Red Hat Data Grid</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/wildfly/main/">Wildfly / Red Hat JBoss EAP</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/jws/main/">Tomcat / Red Hat JWS</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/amq/main/">ActiveMQ / Red Hat AMQ Broker</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/amq_streams/main/">Kafka / Red Hat AMQ Streams</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/common/main/">Ansible Middleware utilities</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/redhat-csp-download/main/">Red Hat CSP Download</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://ansible-middleware.github.io/ansible_collections_jcliff/main/">JCliff</a></li>
|
||||
</ul>
|
||||
|
||||
|
@ -89,7 +88,7 @@
|
|||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
|
||||
<li class="breadcrumb-item active">Contributor’s Guidelines</li>
|
||||
<li class="breadcrumb-item active">Developing</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="_sources/developing.md.txt" rel="nofollow"> View page source</a>
|
||||
</li>
|
||||
|
@ -99,7 +98,42 @@
|
|||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="contributor-s-guidelines">
|
||||
<section id="developing">
|
||||
<h1>Developing<a class="headerlink" href="#developing" title="Link to this heading"></a></h1>
|
||||
<section id="build-and-install-locally">
|
||||
<h2>Build and install locally<a class="headerlink" href="#build-and-install-locally" title="Link to this heading"></a></h2>
|
||||
<p>Clone the repository, checkout the tag you want to build, or pick the main branch for the development version; then:</p>
|
||||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>ansible-galaxy collection build .
|
||||
ansible-galaxy collection install middleware_automation-keycloak-*.tar.gz
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="development-environment">
|
||||
<h2>Development environment<a class="headerlink" href="#development-environment" title="Link to this heading"></a></h2>
|
||||
<p>Make sure your development machine has avilable:</p>
|
||||
<ul class="simple">
|
||||
<li><p>python 3.11+</p></li>
|
||||
<li><p>virtualenv</p></li>
|
||||
<li><p>docker (or podman)</p></li>
|
||||
</ul>
|
||||
<p>In order to run setup the development environment and run the molecule tests locally, after cloning the repository:</p>
|
||||
<div class="highlight-YAML+Jinja notranslate"><div class="highlight"><pre><span></span><span class="c1"># create new virtualenv using python 3</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">virtualenv $PATH_TO_DEV_VIRTUALENV</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain"># activate the virtual env</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">source $PATH_TO_DEV_VIRTUALENV/bin/activate</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain"># install ansible and tools onto the virtualenv</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">pip install yamllint 'molecule>=6.0' 'molecule-plugins[docker]' 'ansible-core>=2.15' ansible-lint</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain"># install collection dependencies</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">ansible-galaxy collection install -r requirements.yml</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain"># install python dependencies</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">pip install -r requirements.txt molecule/requirements.txt</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain"># execute the tests (replace --all with -s subdirectory to run a single test)</span>
|
||||
<span class="l l-Scalar l-Scalar-Plain">molecule test --all</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section id="contributor-s-guidelines">
|
||||
<h1>Contributor’s Guidelines<a class="headerlink" href="#contributor-s-guidelines" title="Link to this heading"></a></h1>
|
||||
<ul class="simple">
|
||||
<li><p>All YAML files named with <code class="docutils literal notranslate"><span class="pre">.yml</span></code> extension</p></li>
|
||||
|
@ -120,8 +154,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="testing.html" class="btn btn-neutral float-left" title="Testing" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="releasing.html" class="btn btn-neutral float-right" title="Collection Versioning Strategy" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
<a href="CHANGELOG.html" class="btn btn-neutral float-left" title="middleware_automation.keycloak Release Notes" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="testing.html" class="btn btn-neutral float-right" title="Testing" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue