Skip to content

Commit

Permalink
Merge pull request #827 from orchest/release/v2022.03.7
Browse files Browse the repository at this point in the history
v2022.03.7: kubernetes!
  • Loading branch information
fruttasecca committed Mar 22, 2022
2 parents 8ee3590 + de6868c commit 44ceb2b
Show file tree
Hide file tree
Showing 416 changed files with 36,632 additions and 9,651 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Expand Up @@ -20,3 +20,6 @@

# Pyright / VSCode
**/pyrightconfig.json

# Helm deployment state
deploy/bin/
2 changes: 2 additions & 0 deletions .flake8
Expand Up @@ -13,6 +13,8 @@ ignore =

per-file-ignores =
orchest-sdk/python/orchest/__init__.py: F401
services/orchest-api/app/app/core/sessions/__init__.py: F401
services/orchest-ctl/app/orchest/__init__.py: F401

# black is set to 88
max-line-length = 88
Expand Down
68 changes: 26 additions & 42 deletions .github/workflows/docker-ci.yml
@@ -1,25 +1,21 @@
# This is a basic workflow to help you get started with Actions

name: Docker CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch. NOTE: if you change event types
# make sure you are not breaking the dispatch-version-update-info job.
# Controls when the action will run. Triggers the workflow on push or
# pull request events but only for the master branch. NOTE: if you
# change event types make sure you are not breaking the
# dispatch-version-update-info job.
on:
repository_dispatch:
types: [manual-trigger]
release:
types: [published]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# A workflow run is made up of one or more jobs that can run
# sequentially or in parallel
jobs:
buildpush:
runs-on: ubuntu-latest
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
# BUILD_TAG: ${{ github.event.client_payload.build_tag }}
BUILD_TAG: "latest"

strategy:
matrix:
Expand All @@ -31,9 +27,7 @@ jobs:
-i base-kernel-py -i base-kernel-r,
-i base-kernel-julia,
-i base-kernel-py-gpu,
-i nginx-proxy,
-i update-server,
-i file-manager,
-i update-sidecar,
-i orchest-ctl -i celery-worker -i memory-server -i session-sidecar,
]

Expand All @@ -44,10 +38,10 @@ jobs:
run: |
bash ./scripts/build_container.sh ${{ matrix.image }} \
-o ${GITHUB_REF#refs/tags/} \
-t "$BUILD_TAG" \
-t ${GITHUB_REF#refs/tags/} \
-v
echo "-----------"
bash ./scripts/push_container.sh ${{ matrix.image }} -t "$BUILD_TAG"
bash ./scripts/push_container.sh ${{ matrix.image }} -t ${GITHUB_REF#refs/tags/}
push-readme:
needs: buildpush
Expand All @@ -58,11 +52,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Push README files to DockerHub nginx-proxy
uses: peter-evans/dockerhub-description@v2
env:
DOCKERHUB_REPOSITORY: orchest/nginx-proxy
README_FILEPATH: services/nginx-proxy/README.md

- name: Push README files to DockerHub celery-worker
uses: peter-evans/dockerhub-description@v2
Expand Down Expand Up @@ -130,30 +119,25 @@ jobs:
DOCKERHUB_REPOSITORY: orchest/auth-server
README_FILEPATH: services/auth-server/README.md

- name: Push README files to DockerHub update-server
uses: peter-evans/dockerhub-description@v2
env:
DOCKERHUB_REPOSITORY: orchest/update-server
README_FILEPATH: services/update-server/README.md

- name: Push README files to DockerHub file-manager
- name: Push README files to DockerHub update-sidecar
uses: peter-evans/dockerhub-description@v2
env:
DOCKERHUB_REPOSITORY: orchest/file-manager
README_FILEPATH: services/file-manager/README.md

dispatch-orchest-ami-build:
needs: buildpush
runs-on: ubuntu-latest

steps:
- name: Dispatch
run: >
curl -X POST
-u "${{secrets.PAT_USER}}:${{secrets.PAT_TOKEN}}"
-H "Accept: application/vnd.github.v3+json"
https://api.github.com/repos/orchest/cloud-infra/actions/workflows/build_amis.yml/dispatches
-d '{"ref":"master"}'
DOCKERHUB_REPOSITORY: orchest/update-sidecar
README_FILEPATH: services/update-sidecar/README.md

# To be enabled back once the k8s version hits the cloud.
# dispatch-orchest-ami-build:
# needs: buildpush
# runs-on: ubuntu-latest

# steps:
# - name: Dispatch
# run: >
# curl -X POST
# -u "${{secrets.PAT_USER}}:${{secrets.PAT_TOKEN}}"
# -H "Accept: application/vnd.github.v3+json"
# https://api.github.com/repos/orchest/cloud-infra/actions/workflows/build_amis.yml/dispatches
# -d '{"ref":"master"}'

dispatch-version-update-info:
needs: buildpush
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -72,7 +72,9 @@ local_settings.py
db.sqlite3
db.sqlite3-journal

#IDE related files
.idea/
.devcontainer/

# Flask stuff:
.webassets-cache
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Expand Up @@ -4,4 +4,5 @@ venv/
.venvs/
npm_modules/
dist/
deploy/
pnpm-lock.yaml
20 changes: 1 addition & 19 deletions README.md
Expand Up @@ -54,25 +54,7 @@ Want to skip the installation and jump right in? Then try out our managed servic

[![Open in Orchest](https://github.com/orchest/orchest-examples/raw/main/imgs/open_in_orchest_large.svg)](https://cloud.orchest.io/)

### Linux and macOS

Requirements:

- [Docker](https://docs.docker.com/get-docker/) 🐳 ([Engine version](https://docs.docker.com/engine/install/) of `>= 20.10.7` – run `docker version` to check).

Installation:

```bash
git clone https://github.com/orchest/orchest.git && cd orchest
./orchest install

# Start Orchest.
./orchest start
```

### Windows, GPU & more

For all other installation methods, such as installing on Windows or adding GPU support, check out our [installation
For instructions on how to deploy a self-hosted version, check out our [installation
docs](https://docs.orchest.io/en/stable/getting_started/installation.html).

## License
Expand Down
1 change: 0 additions & 1 deletion cypress/cypress/support/common.ts
Expand Up @@ -87,7 +87,6 @@ export enum TEST_ID {
JUPYTERLAB_IFRAME = "jupyterlab-iframe",
MANAGE_USERS = "manage-users",
MENU_ENVIRONMENTS = "menu-environments",
MENU_FILE_MANAGER = "menu-file-manager",
MENU_JOBS = "menu-jobs",
MENU_PIPELINE = "menu-pipelines",
MENU_PROJECTS = "menu-projects",
Expand Down
3 changes: 3 additions & 0 deletions deploy/.gitignore
@@ -0,0 +1,3 @@

# Intermediate make targets and Artifacts
bin/

0 comments on commit 44ceb2b

Please sign in to comment.