forked from jupyterhub/zero-to-jupyterhub-k8s
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from lifematics/main
JupyterHub 3.2.1に追従するための変更
- Loading branch information
Showing
193 changed files
with
8,588 additions
and
6,270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[flake8] | ||
# Ignore style and complexity | ||
# E: style errors | ||
# W: style warnings | ||
# C: complexity | ||
# D: docstring warnings (unused pydocstyle extension) | ||
ignore = E, C, W, D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,17 @@ | ||
# dependabot.yml reference: https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates | ||
# dependabot.yml reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
# | ||
# Notes: | ||
# - Status and logs from dependabot are provided at | ||
# https://github.com/jupyterhub/zero-to-jupyterhub-k8s/network/updates. | ||
# - YAML anchors are not supported here or in GitHub Workflows. | ||
# - versioning-strategy: lockfile-only must not be used if you only have a plain | ||
# requirements.txt like we do in images/singleuser-sample. | ||
# - We explicitly set the "maintenance" label to help our changelog generator | ||
# tool github-activity to categorize PRs. | ||
# | ||
|
||
version: 2 | ||
updates: | ||
# Maintain Python dependencies for the jupyterhub/k8s-hub image | ||
- package-ecosystem: pip | ||
directory: "/images/hub" | ||
schedule: | ||
interval: daily | ||
time: "00:00" | ||
timezone: "Etc/UTC" | ||
versioning-strategy: lockfile-only | ||
labels: | ||
- maintenance | ||
- dependencies | ||
|
||
# Maintain Python dependencies for the jupyterhub/k8s-singleuser-sample image | ||
- package-ecosystem: pip | ||
directory: "/images/singleuser-sample" | ||
schedule: | ||
interval: daily | ||
time: "05:00" | ||
timezone: "Etc/UTC" | ||
labels: | ||
- maintenance | ||
- dependencies | ||
|
||
# Maintain dependencies in our GitHub Workflows | ||
- package-ecosystem: "github-actions" | ||
directory: "/" # This should be / rather than .github/workflows | ||
- package-ecosystem: github-actions | ||
directory: / | ||
labels: [ci] | ||
schedule: | ||
interval: daily | ||
interval: monthly | ||
time: "05:00" | ||
timezone: "Etc/UTC" | ||
labels: | ||
- maintenance | ||
- dependencies | ||
timezone: Etc/UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Create a GitHub release whenever a tag is pushed. | ||
# Tags that aren't in the form N.N.N are considered pre-releases. | ||
|
||
name: release-tag | ||
on: | ||
push: | ||
tags: | ||
- "**" | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: write | ||
steps: | ||
# https://github.com/actions/github-script | ||
# https://octokit.github.io/rest.js/v18#repos-create-release | ||
- uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
if (!context.ref.startsWith('refs/tags/')) { | ||
core.setFailed(`${context.ref} is not in the form refs/tags/$tag`) | ||
} | ||
const tag = context.ref.slice(10) | ||
const prerelease = !tag.match(/\d+\.\d+\.\d+$/) | ||
github.rest.repos.createRelease({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
tag_name: tag, | ||
prerelease: prerelease, | ||
body: 'Please see the [changelog](https://zero-to-jupyterhub.readthedocs.io/en/latest/changelog.html) for details.' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# https://github.com/dessant/support-requests | ||
name: "Support Requests" | ||
|
||
on: | ||
issues: | ||
types: [labeled, unlabeled, reopened] | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
action: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: dessant/support-requests@v3 | ||
with: | ||
github-token: ${{ github.token }} | ||
support-label: "support" | ||
issue-comment: | | ||
Hi there @{issue-author} :wave:! | ||
I closed this issue because it was labelled as a support question. | ||
Please help us organize discussion by posting this on the https://discourse.jupyter.org/ forum. If it's your first time posting | ||
please read https://discourse.jupyter.org/t/getting-good-answers-to-your-questions/1825. | ||
The more information you provide the more likely we can help you. | ||
Our goal is to sustain a positive experience for both users and developers. We use GitHub issues for specific discussions related to changing a repository's content, and let the forum be where we can more generally help and inspire each other. | ||
Thanks you for being an active member of our community! :heart: | ||
close-issue: true | ||
lock-issue: false | ||
issue-lock-reason: "off-topic" |
Oops, something went wrong.