You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project doesn't make releases, so installing it has been done from the main branch.
The project includes a Dockerfile, a Helm chart, a Python package, and docs. I think making sure the docs and python package is published with various versions would make sense.
Below is a proposal for a release.yaml to be accompanied with a RELEASE.md like for example in tmpauthenticator that also is light-weight and doesn't come with a conda-forge package.
# This is a GitHub workflow defining a set of jobs with a set of steps.# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#name: Release# Always tests wheel building, but only publish to PyPI on pushed tags.on:
pull_request:
paths-ignore:
- "docs/**"
- ".github/workflows/*.yaml"
- "!.github/workflows/release.yaml"push:
paths-ignore:
- "docs/**"
- ".github/workflows/*.yaml"
- "!.github/workflows/release.yaml"branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"tags: ["**"]workflow_dispatch:
jobs:
# FIXME: Publish a PyPI package and register this workflow as trusted via# PyPI, and write RELEASE.md like in# https://github.com/jupyterhub/tmpauthenticator/blob/main/RELEASE.md# that matches this repo by not having a conda-forge package etc.#build-release:
runs-on: ubuntu-22.04permissions:
# id-token=write is required for pypa/gh-action-pypi-publish, and the PyPI# project needs to be configured to trust this workflow.## ref: https://github.com/jupyterhub/team-compass/issues/648#id-token: writesteps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4with:
python-version: "3.11"
- name: install build packagerun: | pip install --upgrade pip pip install build pip freeze
- name: build releaserun: | python -m build --sdist --wheel . ls -l dist
- name: publish to pypiuses: pypa/gh-action-pypi-publish@release/v1if: startsWith(github.ref, 'refs/tags/')# FIXME: Consider if and how...## - The helm chart should(?) be packaged and published with releases# - The Dockerfile should(?) be build and pushed with releases#
The text was updated successfully, but these errors were encountered:
This project doesn't make releases, so installing it has been done from the main branch.
The project includes a Dockerfile, a Helm chart, a Python package, and docs. I think making sure the docs and python package is published with various versions would make sense.
Below is a proposal for a
release.yaml
to be accompanied with aRELEASE.md
like for example in tmpauthenticator that also is light-weight and doesn't come with a conda-forge package.The text was updated successfully, but these errors were encountered: