Skip to content

Commit

Permalink
CI changes for QHub (#989)
Browse files Browse the repository at this point in the history
* CI: Remove support for Python 3.6

* CI: Add support for Python 3.9

* CI: Add concurrency variable to cancel old builds

* DOCS: Fix broken links on README
  • Loading branch information
HarshCasper authored Jan 14, 2022
1 parent 29f398a commit 2fc0a1b
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
paths:
- '**.md'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
check-all-files:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
tags: # Always, regardless of paths above
- '*'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
jupyterlab:
name: 'Build Docker Images'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/kubernetes_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
paths-ignore:
- "docs/**"
- "*.md"

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test-kubernetes:
name: "Kubernetes Tests"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ env:
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test-render-providers:
name: 'Test QHub Provider'
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ on:
paths-ignore:
- "docs/**"
- "*.md"

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test-general:
name: 'Test Package'
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.7, 3.8, 3.9]
steps:
- name: 'Checkout Infrastructure'
uses: actions/checkout@main
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ experience.

**This repository details the [QHub](https://qhub.dev/ "Official QHub docs") (Kubernetes) version.**

Not sure what to choose? Check out our [Setup Initialization](docs/source/02_get_started/02_setup.md) page.
Not sure what to choose? Check out our [Setup Initialization](docs/source/installation/setup.md) page.

## QHub HPC

Expand Down Expand Up @@ -69,7 +69,7 @@ For more details, check out the release [blog post](https://www.quansight.com/po
### Pre-requisites

* QHub is supported by macOS and Linux operating systems (Windows is **NOT** currently supported).
* Compatible with Python 3.6+. New to Python? We recommend using [Anaconda](https://www.anaconda.com/products/individual).
* Compatible with Python 3.7+. New to Python? We recommend using [Anaconda](https://www.anaconda.com/products/individual).
* Adoption of virtual environments ([`conda`](https://docs.conda.io/en/latest/), [`pipenv`](/~https://github.com/pypa/pipenv) or [`venv`](https://docs.python.org/3/library/venv.html)) is also encouraged.

### Install QHub
Expand Down Expand Up @@ -114,7 +114,7 @@ optional arguments:
## :label: Usage
QHub requires the setting of environment variables to automate the deployments fully. For details on how to obtain those
variables, check the [Step-by-Step](https://docs.qhub.dev/en/latest/source/03_tutorials_and_samples/1_project_setup_tutorial.html) guide in the docs.
variables, check the [installation guide](docs/source/installation/installation.md) in the docs.
Once all the necessary credentials are gathered and set as [UNIX environment variables](https://linuxize.com/post/how-to-set-and-list-environment-variables-in-linux/),
QHub can be deployed in under 20 minutes using:
Expand All @@ -126,7 +126,7 @@ qhub deploy ... # creates and configures the cloud infrastructure
## :question: Questions?
Have a look at our [FAQ](docs/source/02_get_started/07_support.md#faq) to see if your query has been answered.
Have a look at our [FAQ](docs/source/user_guide/faq.md) to see if your query has been answered.
We separate the queries for QHub into:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![quansight_logo](source/images/qhub_logo.png)

[![Python version](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8-blue.svg)](https://pypi.org/project/qhub/)
[![Python version](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9-blue.svg)](https://pypi.org/project/qhub/)
[![PyPI version](https://badge.fury.io/py/qhub.svg)](https://badge.fury.io/py/qhub)
[![Conda version](https://img.shields.io/badge/conda--forge-v0.3.0-%234f28a8)](https://anaconda.org/conda-forge/qhub)
[![GitHub issues](https://img.shields.io/github/issues/quansight/qhub?style=plastic)](/~https://github.com/Quansight/qhub/issues/new/choose)
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down

0 comments on commit 2fc0a1b

Please sign in to comment.