-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:dask/dask-kubernetes into BitTheByt…
…e/main
- Loading branch information
Showing
70 changed files
with
557 additions
and
8,124 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.* | ||
Dockerfile | ||
dist/ |
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,29 @@ | ||
# These will be overridden by the publish workflow and set to the new tag | ||
name-template: 'Next Release' | ||
tag-template: 'next' | ||
|
||
# Optionally configure your categories and other templates | ||
exclude-labels: | ||
- dependencies | ||
categories: | ||
- title: 'Enhancements' | ||
labels: | ||
- 'feature' | ||
- 'enhancement' | ||
- title: 'Bug Fixes' | ||
labels: | ||
- 'bug' | ||
- title: 'Documentation' | ||
label: 'documentation' | ||
- title: 'Project Hygiene' | ||
labels: | ||
- hygiene | ||
- ci | ||
|
||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
|
||
template: | | ||
## Changes | ||
$CHANGES |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,24 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
update_release_draft: | ||
if: github.repository == 'dask/dask-kubernetes' | ||
permissions: | ||
# Write permission is required to create a GitHub release | ||
contents: write | ||
pull-requests: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
with: | ||
disable-autolabeler: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 @@ | ||
name: Release Publisher | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*.*.*" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
publish_release: | ||
if: github.repository == 'dask/dask-kubernetes' | ||
permissions: | ||
# Write permission is required to publish a GitHub release | ||
contents: write | ||
pull-requests: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set version env | ||
# Use a little bit of bash to extract the tag name from the GitHub ref | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
- uses: release-drafter/release-drafter@v5 | ||
with: | ||
disable-autolabeler: true | ||
# Override the Release name/tag/version with the actual tag name | ||
name: ${{ env.RELEASE_VERSION }} | ||
tag: ${{ env.RELEASE_VERSION }} | ||
version: ${{ env.RELEASE_VERSION }} | ||
# Publish the Release | ||
publish: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
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
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,26 +1,10 @@ | ||
from importlib import import_module | ||
from warnings import warn | ||
|
||
from . import config | ||
from . import _version | ||
from .common.auth import ( | ||
AutoRefreshConfiguration, | ||
AutoRefreshKubeConfigLoader, | ||
ClusterAuth, | ||
InCluster, | ||
KubeAuth, | ||
KubeConfig, | ||
) | ||
from .common.objects import clean_pod_template, make_pod_from_dict, make_pod_spec | ||
from .helm import HelmCluster | ||
|
||
__all__ = ["HelmCluster", "KubeCluster"] | ||
__version__ = _version.get_versions()["version"] | ||
|
||
|
||
def __getattr__(name): | ||
if name == "KubeCluster": | ||
new_module = import_module("dask_kubernetes.classic") | ||
return getattr(new_module, name) | ||
__all__ = [] | ||
|
||
raise AttributeError(f"module {__name__} has no attribute {name}") | ||
try: | ||
from ._version import version as __version__ # noqa | ||
from ._version import version_tuple as __version_tuple__ # noqa | ||
except ImportError: | ||
__version__ = "0.0.0" | ||
__version_tuple__ = (0, 0, 0) |
Oops, something went wrong.