-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into azure-blob-storage
- Loading branch information
Showing
424 changed files
with
21,679 additions
and
10,761 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Issue | ||
about: Use this to open new issues. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
<!-- Describe the bug report / feature request here --> | ||
|
||
|
||
|
||
|
||
<!-- If relevant, fill in versioning info to help us troubleshoot --> | ||
_Version & Commit info:_ | ||
* `sky -v`: PLEASE_FILL_IN | ||
* `sky -c`: PLEASE_FILL_IN |
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,58 @@ | ||
name: docker-nightly-build | ||
|
||
on: | ||
schedule: | ||
# Set the time to be 20 mins after the pypi nightly build | ||
- cron: '55 10 * * *' # 10:55am UTC, 2:55am PST, 5:55am EST | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Find the release version | ||
id: version | ||
run: | | ||
PACKAGE_NAME="skypilot-nightly" | ||
# Fetch package info from PyPI | ||
PACKAGE_INFO=$(curl -s https://pypi.org/pypi/$PACKAGE_NAME/json) | ||
# Parse JSON and get the latest version | ||
LATEST_VERSION=$(echo $PACKAGE_INFO | jq -r '.info.version') | ||
echo "latest_version=$LATEST_VERSION" >> $GITHUB_OUTPUT | ||
- name: Setup Dockerfile | ||
run: | | ||
touch Dockerfile | ||
cat <<EOF > Dockerfile | ||
# Use the latest version with Python 3.10 | ||
FROM continuumio/miniconda3:23.3.1-0 | ||
# Install dependencies | ||
RUN conda install -c conda-forge google-cloud-sdk && \ | ||
apt update -y && \ | ||
apt install rsync vim -y && \ | ||
rm -rf /var/lib/apt/lists/* | ||
RUN pip install "skypilot-nightly[all]==${{ steps.version.outputs.latest_version }}" --no-cache-dir | ||
EOF | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
# TODO: add support for linux/arm64 for M series Macs | ||
# It currently fails due to the failure to install google-cloud-sdk | ||
platforms: linux/amd64 | ||
push: true | ||
tags: "${{ secrets.DOCKER_USERNAME }}/skypilot-nightly:latest,${{ secrets.DOCKER_USERNAME }}/skypilot-nightly:${{ steps.version.outputs.latest_version }}" | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Documentation Build | ||
|
||
on: | ||
# Trigger the workflow on push or pull request, | ||
# but only for the master branch | ||
push: | ||
branches: | ||
- master | ||
- 'releases/**' | ||
pull_request: | ||
branches: | ||
- master | ||
- 'releases/**' | ||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install . | ||
cd docs | ||
pip install -r ./requirements-docs.txt | ||
- name: Build documentation | ||
run: | | ||
cd ./docs | ||
./build.sh |
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,15 +1,11 @@ | ||
FROM continuumio/miniconda3:4.11.0 | ||
# Use the latest version with Python 3.10 | ||
FROM continuumio/miniconda3:23.3.1-0 | ||
|
||
# Install dependencies | ||
RUN conda install -c conda-forge google-cloud-sdk && \ | ||
apt update -y && \ | ||
apt install rsync -y && \ | ||
apt install rsync vim -y && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY . /sky/ | ||
|
||
WORKDIR /sky/ | ||
|
||
# Install sky | ||
RUN cd /sky/ && \ | ||
pip install ".[all]" | ||
RUN pip install --no-cache-dir "skypilot[all]==0.5.0" |
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
Oops, something went wrong.