Skip to content

Commit

Permalink
FORK: Change settings for Iris notebook
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Ball <[email protected]>
  • Loading branch information
eb-oss committed Dec 1, 2022
1 parent f1026e7 commit 40b4a3f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .aicoe-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ build:
custom-tag: latest
registry: quay.io
registry-org: os-climate
registry-project: corporate-data-pipeline-notebook
registry-project: iris-notebook
registry-secret: os-climate-pusher-secret
2 changes: 1 addition & 1 deletion .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ presubmits:
context: aicoe-ci/prow/pre-commit
spec:
containers:
- image: quay.io/thoth-station/thoth-precommit-py38:v0.12.9
- image: quay.io/thoth-station/thoth-precommit-py38:v0.12.10
command:
- "pre-commit"
- "run"
Expand Down
1 change: 1 addition & 0 deletions .thoth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ managers:
- idemir-ids
- erikerlandson
- harshad16
- mightynerderic
assignees:
- sesheta
labels: [bot]
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM quay.io/thoth-station/s2i-lab-elyra:v0.0.13
FROM quay.io/thoth-station/s2i-lab-elyra:v0.1.5

# Leaving as no-op until I verify image build pipeline is working
USER root
RUN dnf -y install libpng zlib freetype-devel cmake freetype qt5-srpm-macros
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
RUN dnf install -y python3-pip python3-tkinter udunits2-devel proj-devel geos-devel
RUN pip3 install scitools-iris
1 change: 1 addition & 0 deletions OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
approvers:
- goern
- fridex
- mightynerderic
reviewers:
- pacospace
- harshad16
Expand Down
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@

## view build pipelines for this project
https://tekton.operate-first.cloud/#/namespaces/opf-ci-pipelines/pipelineruns?labelSelector=tekton.dev%2Fpipeline%3Dtag-release-pipeline%2Cproject%3Dcorporate-data-pipeline-notebook

## Get new librairies installed in the new image build
* Modify the Dockerfile to include the libraries you need, e.g. add `RUN dnf -y install libpng`. `-y` is necessary to prevent `dnf` from asking y/n prompt. Pay attention to package names because they can be different between Fedora and Ubuntu: the best option is to check with `dnf provides <library>` if there is a match
* **Option 1** Go to the issue tab and file the relevant issue (major release, minor release, patch release). N.B.: leave the issue unedited, except for the tag in `Deliver Container Image` issues
* **Option 2** File a new release and check if the build pipeline succeeded on the tekton URL provided above. The tag-release-run should be green
* When you restart your server, choose the **Corporate data pipeline** image: the new libraries you wanted to be installed should be ready to be called
## Iris Notebook
Forked from https://github.com/os-climate/corporate-data-pipeline-notebook.

List of packages included
=========================


* geos-devel
* proj-devel
* python3-pip python3-tkinter udunits2-devel proj-devel geos-devel
* python3-tkinter
* udunits2-devel
* scitools-iris (pip)

0 comments on commit 40b4a3f

Please sign in to comment.