diff --git a/.github/ISSUE_TEMPLATE/major-release.md b/.github/ISSUE_TEMPLATE/major-release.md new file mode 100644 index 000000000..49d45369e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/major-release.md @@ -0,0 +1,11 @@ +--- +name: Major release +about: Create a new major release +title: New major release +assignees: 'sesheta' +labels: bot +--- + +Hey, Kebechet! + +Create a new major release, please. diff --git a/.github/ISSUE_TEMPLATE/minor-release.md b/.github/ISSUE_TEMPLATE/minor-release.md new file mode 100644 index 000000000..27262e67c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/minor-release.md @@ -0,0 +1,11 @@ +--- +name: Minor release +about: Create a new minor release +title: New minor release +assignees: 'sesheta' +labels: bot +--- + +Hey, Kebechet! + +Create a new minor release, please. diff --git a/.github/ISSUE_TEMPLATE/patch-release.md b/.github/ISSUE_TEMPLATE/patch-release.md new file mode 100644 index 000000000..fae0f2589 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/patch-release.md @@ -0,0 +1,11 @@ +--- +name: Patch release +about: Create a new patch release +title: New patch release +assignees: 'sesheta' +labels: bot +--- + +Hey, Kebechet! + +Create a new patch release, please. diff --git a/.thoth.yaml b/.thoth.yaml new file mode 100644 index 000000000..339d00bbd --- /dev/null +++ b/.thoth.yaml @@ -0,0 +1,12 @@ +managers: + - name: version + configuration: + maintainers: + - crobby + - vpavlin + - lavlas + - nakfour + assignees: + - sesheta + labels: [bot] + changelog_file: true diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..a9bf7648b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ + +## Release 1.0.1 (2021-02-18T21:17:04) +### Features +* issue template for release via bots (#322) +* include thoth configuration file for kebechet (#323) +* Change ODH dashboard type to ClusterIP (#321) +* upgrade s2i notebook images for jupyterhub (#304) +* Update README.md (#307) +* Owners List Updates (#306) +* Update grafana to version 3.8.1 (#301) +* Update peak operator file to include odh-manifests repo url (#299) +* Adding changes to kfdef (#298) +* Updated jupyterhub imagestream image to 0.1.5 (#296) +### Bug Fixes +* Update JH image to v0.2.0 to fix cert issues and support groups (#312) +### Improvements +* Simplify test for dashboard pods, hopefully eliminating flake (#305) +* Use airflowui secure route for tests (#300) diff --git a/jupyterhub/notebook-images/overlays/additional/minimal-notebook-imagestream.yaml b/jupyterhub/notebook-images/overlays/additional/minimal-notebook-imagestream.yaml index ec2468fa9..698785967 100644 --- a/jupyterhub/notebook-images/overlays/additional/minimal-notebook-imagestream.yaml +++ b/jupyterhub/notebook-images/overlays/additional/minimal-notebook-imagestream.yaml @@ -17,6 +17,6 @@ spec: from: kind: DockerImage name: quay.io/thoth-station/s2i-minimal-notebook:v0.0.7 - name: "v0.0.4" + name: "v0.0.7" referencePolicy: type: Source diff --git a/jupyterhub/notebook-images/overlays/additional/scipy-notebook-imagestream.yaml b/jupyterhub/notebook-images/overlays/additional/scipy-notebook-imagestream.yaml index e48243855..f106187d9 100644 --- a/jupyterhub/notebook-images/overlays/additional/scipy-notebook-imagestream.yaml +++ b/jupyterhub/notebook-images/overlays/additional/scipy-notebook-imagestream.yaml @@ -17,6 +17,6 @@ spec: from: kind: DockerImage name: quay.io/thoth-station/s2i-scipy-notebook:v0.0.2 - name: "v0.0.1" + name: "v0.0.2" referencePolicy: type: Source diff --git a/jupyterhub/notebook-images/overlays/additional/tensorflow-notebook-imagestream.yaml b/jupyterhub/notebook-images/overlays/additional/tensorflow-notebook-imagestream.yaml index a0647bc5f..52facb6a0 100644 --- a/jupyterhub/notebook-images/overlays/additional/tensorflow-notebook-imagestream.yaml +++ b/jupyterhub/notebook-images/overlays/additional/tensorflow-notebook-imagestream.yaml @@ -17,6 +17,6 @@ spec: from: kind: DockerImage name: quay.io/thoth-station/s2i-tensorflow-notebook:v0.0.2 - name: "v0.0.1" + name: "v0.0.2" referencePolicy: type: Source diff --git a/odh-dashboard/base/deployment.yaml b/odh-dashboard/base/deployment.yaml index f430051b1..691cc7779 100644 --- a/odh-dashboard/base/deployment.yaml +++ b/odh-dashboard/base/deployment.yaml @@ -15,7 +15,7 @@ spec: serviceAccount: odh-dashboard containers: - name: odh-dashboard - image: quay.io/opendatahub/odh-dashboard:v1.0 + image: quay.io/modh/odh-dashboard:latest imagePullPolicy: Always ports: - containerPort: 8080 diff --git a/tests/README.md b/tests/README.md index f04bcacf6..28d73e0bb 100644 --- a/tests/README.md +++ b/tests/README.md @@ -33,6 +33,10 @@ If you'd like to run the tests against an instance that already has Open Data Hu you set `SKIP_INSTALL=true` and that will cause the test run to skip the installation process and will only run the tests. example: `make run SKIP_INSTALL=true` +If you'd like to run the tests against an instance that already has a KfDef created, +you set `SKIP_KFDEF_INSTALL=true` and that will cause the test run +to skip the step of creating the default KfDef. example: `make run SKIP_KFDEF_INSTALL=true` + If you'd like to run a single test instead of all tests, you can set the TESTS_REGEX variable `TESTS_REGEX=`. That will only run the test that you specify instead of all of the tests. example: `make run TESTS_REGEX=grafana` diff --git a/tests/basictests/jupyterhub.sh b/tests/basictests/jupyterhub.sh index 12d18c2a8..75cddd36e 100755 --- a/tests/basictests/jupyterhub.sh +++ b/tests/basictests/jupyterhub.sh @@ -11,7 +11,7 @@ JH_LOGIN_PASS=${OPENSHIFT_PASS:-"admin"} #Password used to login to JH OPENSHIFT_LOGIN_PROVIDER=${OPENSHIFT_LOGIN_PROVIDER:-"htpasswd-provider"} #OpenShift OAuth provider used for login JH_AS_ADMIN=${JH_AS_ADMIN:-"true"} #Expect the user to be Admin in JupyterHub -JUPYTER_IMAGES=(s2i-minimal-notebook:v0.0.4 s2i-scipy-notebook:v0.0.1 s2i-tensorflow-notebook:v0.0.1 s2i-spark-minimal-notebook:py36-spark2.4.5-hadoop2.7.3) +JUPYTER_IMAGES=(s2i-minimal-notebook:v0.0.7 s2i-scipy-notebook:v0.0.2 s2i-tensorflow-notebook:v0.0.2 s2i-spark-minimal-notebook:py36-spark2.4.5-hadoop2.7.3) JUPYTER_NOTEBOOK_FILES=(basic.ipynb basic.ipynb tensorflow.ipynb spark.ipynb) os::test::junit::declare_suite_start "$MY_SCRIPT" diff --git a/tests/scripts/install.sh b/tests/scripts/install.sh index 7941a8251..67a31b708 100755 --- a/tests/scripts/install.sh +++ b/tests/scripts/install.sh @@ -68,13 +68,20 @@ if [ -z "${OPENSHIFT_USER}" ] || [ -z "${OPENSHIFT_PASS}" ]; then export OPENSHIFT_PASS=admin fi -echo "Creating the following KfDef" -cat ./kfctl_openshift.yaml > ${ARTIFACT_DIR}/kfctl_openshift.yaml -oc apply -f ./kfctl_openshift.yaml -kfctl_result=$? -if [ "$kfctl_result" -ne 0 ]; then +if ! [ -z "${SKIP_KFDEF_INSTALL}" ]; then + ## SKIP_KFDEF_INSTALL is useful in an instance where the + ## operator install comes with an init container to handle + ## the KfDef creation + echo "Relying on existing KfDef because SKIP_KFDEF_INSTALL was set" +else + echo "Creating the following KfDef" + cat ./kfctl_openshift.yaml > ${ARTIFACT_DIR}/kfctl_openshift.yaml + oc apply -f ./kfctl_openshift.yaml + kfctl_result=$? + if [ "$kfctl_result" -ne 0 ]; then echo "The installation failed" exit $kfctl_result + fi fi set +x popd diff --git a/version.py b/version.py new file mode 100644 index 000000000..da34e4359 --- /dev/null +++ b/version.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 +"""This file is just for the release bots of opendatahub manifests""" + + +__version__ = "1.0.1"