diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 873d1d7ad2..74d8a5493d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 jobs: # See main.yml for comments on the docker build/cache patterns. diff --git a/.github/workflows/ubuntu-16.04.yml b/.github/workflows/ubuntu-16.04.yml index 030873ddd3..6aaac5a75d 100644 --- a/.github/workflows/ubuntu-16.04.yml +++ b/.github/workflows/ubuntu-16.04.yml @@ -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: diff --git a/.github/workflows/ubuntu-18.04.yml b/.github/workflows/ubuntu-18.04.yml index 05f925552d..abc3f783ef 100644 --- a/.github/workflows/ubuntu-18.04.yml +++ b/.github/workflows/ubuntu-18.04.yml @@ -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: diff --git a/.github/workflows/ubuntu-20.04.yml b/.github/workflows/ubuntu-20.04.yml index b00a1e572b..994494fd9e 100644 --- a/.github/workflows/ubuntu-20.04.yml +++ b/.github/workflows/ubuntu-20.04.yml @@ -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: @@ -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 diff --git a/.github/workflows/ubuntu-20.04.yml.extra b/.github/workflows/ubuntu-20.04.yml.extra index b0548aaeea..c0179b0666 100644 --- a/.github/workflows/ubuntu-20.04.yml.extra +++ b/.github/workflows/ubuntu-20.04.yml.extra @@ -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 with: use-quiet-mode: yes use-verbose-mode: no diff --git a/.github/workflows/ubuntu.yml.tmpl b/.github/workflows/ubuntu.yml.tmpl index ce03ab9aa2..a4c695a971 100644 --- a/.github/workflows/ubuntu.yml.tmpl +++ b/.github/workflows/ubuntu.yml.tmpl @@ -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: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index faf80ff709..5883eb1806 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -11,13 +11,15 @@ on: workflow_dispatch: inputs: tags: - description: 'Manual CI-Windows Run' + description: 'Manual CI-Windows Run Tag' + required: false + type: string 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: diff --git a/Makefile b/Makefile index 9e7c1931d0..4e980410b5 100644 --- a/Makefile +++ b/Makefile @@ -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." diff --git a/README.md b/README.md index 5476de11cf..2b74f50cc1 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/install.python.sh b/scripts/install.python.sh index b82552bbcd..1c6a05500b 100755 --- a/scripts/install.python.sh +++ b/scripts/install.python.sh @@ -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 set +x else echo "$PYTHON_BIN is already available." diff --git a/website/build_site.sh b/website/build_site.sh index 91720cf59c..64f6d790ee 100755 --- a/website/build_site.sh +++ b/website/build_site.sh @@ -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 function RenderNotebook() {