Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable nightly runs and add deprecation notice #272

Merged
merged 7 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ name: Nightly
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
schedule:
# Let's run after the fresh docker rebuild job (main.yml).
- cron: "0 2 * * *"
# schedule:
# # Let's run after the fresh docker rebuild job (main.yml).
# - cron: "0 2 * * *"
workflow_dispatch:
inputs:
tags:
description: 'Manual Nightly Run Tag'
required: false
type: string
bpkroth marked this conversation as resolved.
Show resolved Hide resolved

jobs:
# See main.yml for comments on the docker build/cache patterns.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu-16.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "1 0 * * *"
# schedule:
# - cron: "1 0 * * *"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu-18.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "1 0 * * *"
# schedule:
# - cron: "1 0 * * *"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu-20.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "1 0 * * *"
# schedule:
# - cron: "1 0 * * *"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
if: needs.prep-vars.outputs.UbuntuVersionMatrix != '["SKIP_ME"]'
steps:
- uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.8
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: yes
use-verbose-mode: no
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-20.04.yml.extra
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
if: needs.prep-vars.outputs.UbuntuVersionMatrix != '["SKIP_ME"]'
steps:
- uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.8
- uses: gaurav-nelson/github-action-markdown-link-check@v1
bpkroth marked this conversation as resolved.
Show resolved Hide resolved
with:
use-quiet-mode: yes
use-verbose-mode: no
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "1 0 * * *"
# schedule:
# - cron: "1 0 * * *"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ on:
workflow_dispatch:
inputs:
tags:
description: 'Manual CI-Windows Run'
description: 'Manual CI-Windows Run Tag'
required: false
type: string
bpkroth marked this conversation as resolved.
Show resolved Hide resolved
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "1 0 * * *"
# schedule:
# - cron: "1 0 * * *"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,16 @@ ValidMlosBuildImageTargets := mlos-build-base-with-source mlos-build-base-with-e
ifneq ($(filter-out $(ValidMlosBuildImageTargets),$(MlosBuildImageTarget)),)
$(error Unhandled MlosBuildImageTarget: $(MlosBuildImageTarget))
endif
# export DOCKER_BUILDKIT=0
.PHONY: docker-image
docker-image:
docker pull ghcr.io/microsoft-cisl/mlos/mlos-build-ubuntu-$(UbuntuVersion):latest
docker build . $(DOCKER_BUILD_ARGS) --target $(MlosBuildImageTarget) \
--progress=plain \
--build-arg=MlosBuildBaseArg=$(MlosBuildBaseArg) \
--build-arg=UbuntuVersion=$(UbuntuVersion) \
--build-arg=http_proxy=${http_proxy} \
--build-arg=https_proxy=${https_proxy} \
-t mlos-build-ubuntu-$(UbuntuVersion)
@ echo Finished building mlos-build-ubuntu-$(UbuntuVersion) image.
@ echo "Run 'docker run -v $$PWD:/src/MLOS --name mlos-build mlos-build-ubuntu-$(UbuntuVersion)' to start an instance."
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# DEPRECATION NOTICE

> **NOTE**: this repository is no longer maintained upstream.
>
> In the future it may be replaced with a streamlined *MlosCore* python library.

---
___

[![codecov](https://codecov.io/gh/microsoft/MLOS/branch/main/graph/badge.svg?token=14T6RFL2KR)](https://codecov.io/gh/microsoft/MLOS)

# MLOS: Machine Learning Optimized Systems
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "$(type $PYTHON_BIN 2>/dev/null)" == "" ]; then
echo "Installing $PYTHON_PKG via apt ..."
# Try to install it via the existing package manager:
set -x
sudo apt-get --no-install-recommends -y install $PYTHON_PKG ${PYTHON_PKG}-dev
sudo apt-get --no-install-recommends -y install $PYTHON_PKG ${PYTHON_PKG}-dev ${PYTHON_PKG}-distutils
bpkroth marked this conversation as resolved.
Show resolved Hide resolved
set +x
else
echo "$PYTHON_BIN is already available."
Expand Down
1 change: 1 addition & 0 deletions website/build_site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ $pythonCmd -m pip install \
$($pythonCmd "$MLOS_ROOT/scripts/parse-pip-requirements-from-environment-yaml.py" "$MLOS_ROOT/source/Mlos.Notebooks/environment.yml")
# FIXME: nbconvert 6.0.1 had an error.
$pythonCmd -m pip install jupyter nbconvert==5.6.1
$pythonCmd -m pip install jinja2==3.0.1
bpkroth marked this conversation as resolved.
Show resolved Hide resolved

function RenderNotebook()
{
Expand Down