Skip to content

Commit a1bebec

Browse files
committed
Push version to 0.13.0 (manually)
1 parent 04105cb commit a1bebec

File tree

8 files changed

+10
-15
lines changed

8 files changed

+10
-15
lines changed

QuickStart.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ When the notebook has run, you can find the jobs with `aws sagemaker list-proces
158158

159159
To follow this recipe, you'll need to have AWS credentials set up that give you full permission on CloudFormation. You'll add more permissions with the installed policy later in the recipe.
160160

161-
You'll need one file that was provided with this distribution: sagemaker_run_notebook-0.12.0.tar.gz.
161+
You'll need one file that was provided with this distribution: sagemaker_run_notebook-0.13.0.tar.gz.
162162

163163
#### 1. Install the library
164164

165165
```sh
166-
$ pip install sagemaker_run_notebook-0.12.0.tar.gz
166+
$ pip install sagemaker_run_notebook-0.13.0.tar.gz
167167
```
168168

169169
This installs the sagemaker run notebook library and CLI tool. It also installs the JupyterLab plug-in but does not activate it. See below in "Using the JupyterLab Extension" for more information.
@@ -244,15 +244,15 @@ Once you have the infrastructure and containers set up, the best way to activate
244244

245245
#### In a SageMaker Notebook instance
246246

247-
1. Upload the provided library file, sagemaker_run_notebook-0.12.0.tar.gz, to a location of your choosing in S3.
247+
1. Upload the provided library file, sagemaker_run_notebook-0.13.0.tar.gz, to a location of your choosing in S3.
248248
2. On the AWS SageMaker console, go to Lifecycle Configuration. Create a new lifecycle configuration and add the `start.sh` script that you received in this distribution to the start action. Edit the S3 location to where you uploaded the installation tar file.
249249
3. Start or restart your notebook instance after setting the lifecycle configuration to point at your newly created lifecycle configuration.
250250

251251
#### In SageMaker Studio
252252

253253
When you open SageMaker Studio, you can add the extension with the following steps:
254254

255-
1. Upload the provided library file, sagemaker_run_notebook-0.12.0.tar.gz, to a location of your choosing in S3.
255+
1. Upload the provided library file, sagemaker_run_notebook-0.13.0.tar.gz, to a location of your choosing in S3.
256256
2. Save the provided `install-run-notebook.sh` to your home directory in Studio. The easiest way to do this is to open a text file and paste the contents in. Then edit the S3 location to where you uploaded the installation tar file and save it as `install-run-notebook.sh`.
257257
3. Open a terminal tab (`File`->`New`->`Terminal`) and run the script as `bash install-run-notebook.sh`.
258258
4. When it's complete, refresh your Studio browser tab and you'll see the sidebar scheduler tab.

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more inform
2626
## License
2727

2828
This project is licensed under the Apache-2.0 License.
29-

build-dist-files.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@
1010
#
1111
# They all live in the subdirectory "manual_dist/"
1212

13-
VERSION=0.12.0
14-
15-
echo "Be sure that you've exported the latest version of the readme as PDF from VS Code!!!"
13+
VERSION=0.13.0
1614

1715
make artifacts
1816

1917
rm -rf manual_dist
2018
mkdir -p manual_dist
2119

22-
cp ReadMe.pdf manual_dist/
23-
cp QuickStart.pdf manual_dist/
2420
cp build/dist/sagemaker_run_notebook-${VERSION}.tar.gz manual_dist/
2521
cp scripts/lifecycle-config/start.sh manual_dist/
2622
cp scripts/studio/install-run-notebook.sh manual_dist/

labextension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sagemaker_run_notebook",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "Execute notebooks on a schedule in SageMaker",
55
"keywords": [
66
"jupyter",

sagemaker_run_notebook/server_extension/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# ANY KIND, either express or implied. See the License for the specific
1212
# language governing permissions and limitations under the License.
1313

14-
version_info = (0, 12, 0)
14+
version_info = (0, 13, 0)
1515
flag = ""
1616

1717
__version__ = ".".join(map(str, version_info)) + flag

scripts/lifecycle-config/ReadMe.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory has a lifecycle configuration script that lets you set up the Jup
44

55
To use this lifecycle configuration, perform the following steps:
66

7-
1. Use the [AWS CLI][1] to copy the SageMaker Run Notebook tar file to a location in S3, for example `aws s3 cp sagemaker_run_notebook-0.12.0.tar.gz s3://my-bucket/some-path/`
7+
1. Use the [AWS CLI][1] to copy the SageMaker Run Notebook tar file to a location in S3, for example `aws s3 cp sagemaker_run_notebook-0.13.0.tar.gz s3://my-bucket/some-path/`
88
2. Edit `start.sh` to point at the s3 location and correct plugin version from the previous step.
99
3. On the SageMaker AWS console, select "Lifecycle configurations" in the left column and create a new lifecycle configuration called `install-run-notebook-extension`. Copy the contents of `start.sh` into the "Start Notebook" script. You can leave the "Create Notebook" script blank.
1010
4. When creating a new notebook instance, open the "Additional configuration" option in the "Notebook instance settings" and select the `install-run-notebook-extension`. You can also add this configuration to an existing notebook instance by stopping the instance, opening the instance on the console (by clicking on the instance name in the list of instances), and adding the new configuration there. Then restart your notebook instance.

scripts/lifecycle-config/start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sudo -u ec2-user -i <<'EOF'
2727
2828
# PARAMETERS
2929
S3_LOCATION=s3://REPLACE-WITH-MY-BUCKET-PREFIX/
30-
VERSION=0.12.0
30+
VERSION=0.13.0
3131
TARBALL=sagemaker_run_notebook-${VERSION}.tar.gz
3232
3333

scripts/studio/install-run-notebook.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bucket=<bucket>
2-
version=0.12.0
2+
version=0.13.0
33
pkg=sagemaker_run_notebook-${version}.tar.gz
44
aws s3 cp s3://${bucket}/${pkg} /tmp
55
pip install /tmp/${pkg}

0 commit comments

Comments
 (0)