Commit d5bda461 authored by Protocole's avatar Protocole
Browse files

Merge branch '125-access-the-page-to-use-the-hub' into 'latest'

Resolve "Access the page to use the hub"

Closes #125

See merge request go2scale/hub!60
parents 5221dbe0 f9a74034
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
helps you to quickly build powerful pipelines for your projects.


Each jobs of the hub can be used unitary or to create fully **customs pipelines.**
Each jobs of the hub can be used independently or to create fully **customized pipelines.**
You can use them for any kind of software and deployment type. Each job can be
customized through configuration.

+2 −2
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ GO2SCALE_URL = "https://jobs.go2scale.io/"
# Templates variables
BUILDER_DIR = "builder"
TEMPLATE_DIR = "templates"
TMEPLATE_INDEX = "index.md.j2"
TEMPLATE_INDEX = "index.md.j2"
TEMPLATE_DOC = "job_documentation.md.j2"
TEMPLATE_PLACEHOLDER = "placeholder.md.j2"
TEMPLATE_LICENSE_DIR = "licenses"
@@ -151,7 +151,7 @@ if __name__ == "__main__":

    # Using jinja2 with a template to create the index
    env = Environment(loader=FileSystemLoader(BUILDER_DIR + "/" + TEMPLATE_DIR))
    template = env.get_template(TMEPLATE_INDEX)
    template = env.get_template(TEMPLATE_INDEX)
    index_content = template.render(index=index)

    with open(MKDOCS_DIR + "/" + JOBS_DIR + "/" + INDEX_FILE, "w+") as index_file:
+1 −1
Original line number Diff line number Diff line
# 🗂 Index
# All

Jobs index. They are sorted using the [HUB default stages](/use-the-hub#stages).

+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
  {%- endif -%}
{%- endfor %}

# Changelog
## Changelog

* **[latest]({{ latest.url }})** (current -> `{{ latest.version }}`):
> ```
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@
    include:
      - remote: 'https://jobs.go2scale.io/{{ job_name }}.yml'
    ```

3. If you need to customize the job (stage, variables, ...) 👉 check the [jobs
   customization](/use-the-hub/#jobs-customization)
4. Well done, your job is ready to work ! 😀
Loading