Skip to content

Commit

Permalink
Merge pull request #383 from omnivector-solutions/tbeck/PENG-1756--up…
Browse files Browse the repository at this point in the history
…date-wording-throughout

Tbeck/peng 1756  update wording throughout
  • Loading branch information
dusktreader authored Oct 19, 2023
2 parents 6c82738 + 3619f47 commit d3f8c7c
Show file tree
Hide file tree
Showing 95 changed files with 7,122 additions and 5,285 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build Documentation

on:
push:
paths:
- 'jobbergate-docs/docs/**'
- 'jobbergate-api/jobbergate_api/**'
- 'jobbergate-cli/jobbergate_cli/**'
- 'jobbergate-core/jobbergate_core/**'
- 'jobbergate-agent/jobbergate_agent/**'
branches:
- 'main'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Set up Poetry
uses: Gr1N/setup-poetry@v8

- name: Build Documentation
run: |
make docs
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/site
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
inputs:
bump_rule:
type: choice
description: Bump version rule for Poetry
description: Release Type
options:
- patch
- minor
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/publish_docs.yaml

This file was deleted.

26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
![Build Status](https://img.shields.io/github/actions/workflow/status/omnivector-solutions/jobbergate/test_on_push.yaml?branch=main&label=main-build&logo=github&style=plastic)
![GitHub Issues](https://img.shields.io/github/issues/omnivector-solutions/jobbergate?label=issues&logo=github&style=plastic)
![Pull Requests](https://img.shields.io/github/issues-pr/omnivector-solutions/jobbergate?label=pull-requests&logo=github&style=plastic)
![GitHub Contributors](https://img.shields.io/github/contributors/omnivector-solutions/jobbergate?logo=github&style=plastic)


> An [Omnivector](https://www.omnivector.io/) initiative
>
> [![omnivector-logo](https://omnivector-public-assets.s3.us-west-2.amazonaws.com/branding/omnivector-logo-text-black-horz.png)](https://www.omnivector.io/)
https://omnivector-public-assets.s3.us-west-2.amazonaws.com/branding/omnivector-logo-text-black-horz.png

# Jobbergate


Jobbergate is a job templating and submission system that integrates with Slurm to
enable the re-use and remote submission of job scripts to a Slurm cluster.

There are 2 main components of Jobbergate that are hosted as sub-projects of this
repository:

* [jobbergate-api](https://github.com/omnivector-solutions/jobbergate/jobbergate-api)
* [jobbergate-cli](https://github.com/omnivector-solutions/jobbergate/jobbergate-cli)


The complete documentation for Jobbergate can be viewed at the
[Jobbergate Documentation](https://omnivector-solutions.github.io/jobbergate/) site.
46 changes: 0 additions & 46 deletions README.rst

This file was deleted.

22 changes: 0 additions & 22 deletions ROADMAP.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
==============================
Dummy Jobbergate Application
==============================
# Dummy Jobbergate Application

This is a dummy Jobbergate Application that may be used for integration testing the
components of Jobbergate.
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-job-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

print("Executing simple job script")

output_file = Path(f"/nfs/simple-output-{gethostname()}.txt")
output_file = Path(f"/nfs/simple-output.txt")
output_file.write_text(f"Simple output from {gethostname()}")
42 changes: 42 additions & 0 deletions fake-sbatch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Fake sbatch

A testing utility that returns `sbatch` output assuming a certain failure percentage.

By default, `fake-sbatch` will fail 10% of the time (for testing error cases).



## Usage

```shell
fake-sbatch
```

The command above should produce output like:

```
fake-sbatch: Submitted batch job 653898
```


## Settings

If you wish to override the fail percentage (for example, if you wanted it to always or never fail),
you may set the it with: `FAKE_SBATCH_FAIL_PCT=1.0`. 1.0 means it will always fail. 0.0 means it will
never fail.

You can also control the range of randomly produced slurm job id values by adjusting the `FAKE_SBATCH_MAX_JOB_ID` and
`FAKE_SBATCH_MIN_JOB_ID` settings.


## Setting up to use with Jobbergate CLI

A simple way to make the `fake-sbatch` executable available for jobbergate is to install it via `pipx`.

Simply, navigate to the root of the `fake-sbatch` repository and execute:

```shell
pipx install .
```

Then, in your Jobbergate environment, apply the setting `SBATCH_PATH=fake-sbatch`
40 changes: 0 additions & 40 deletions fake-sbatch/README.rst

This file was deleted.

18 changes: 18 additions & 0 deletions jobbergate-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Change Log

This file keeps track of all notable changes to jobbergate-core

## Unreleased


## 4.1.0a2 -- 2023-10-10


## 4.1.0a1 -- 2023-10-02


## 4.1.0a0 -- 2023-09-25


## 4.0.0 -- 2023-09-14
- Started the project
21 changes: 0 additions & 21 deletions jobbergate-agent/CHANGELOG.rst

This file was deleted.

2 changes: 2 additions & 0 deletions jobbergate-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

To install the package from Pypi simply run `pip install jobbergate-agent`.


## Setup parameters

1. Setup dependencies
Expand Down Expand Up @@ -32,6 +33,7 @@ To install the package from Pypi simply run `pip install jobbergate-agent`.

NOTE: When both `JOBBERGATE_AGENT_SLURMRESTD_JWT_KEY_PATH` and `JOBBERGATE_AGENT_SLURMRESTD_JWT_KEY_STRING` are passed, the agent will completely ignore the `JOBBERGATE_AGENT_SLURMRESTD_JWT_KEY_PATH` and will prioritize the `JOBBERGATE_AGENT_SLURMRESTD_JWT_KEY_STRING`. Beware this behaviour.


## Local usage example

1. Run app
Expand Down
Loading

0 comments on commit d3f8c7c

Please sign in to comment.