-
Notifications
You must be signed in to change notification settings - Fork 32
Home
This is for both users and developers...
Q: When I run jupyter lab in the docker container, my tokens aren't recognized and I get prompted for a password or token.
A: For some reason, it seems that having jupyter lab servers open on the local system before starting the docker container can break the token processing. Try closing any jupyter lab/notebook servers on the local system before starting the docker container's jupyter lab.
Q: All of my downloads are failing with self-signed certificate errors.
A: First, try updating your certifi
package via mamba update certifi
. If that doesn't work, it is likely you are a lab employee and your lab is managing certificates for you. Frequently this does not play nicely with python-based packages, which don't detect the certificates. First you have to find the certificates, which is likely OS and tool specific. ORNL, for instance, uses Netskope, which places certificates in /Library/Application\ Support/Netskope/STAgent/data/nscacert.pem
. When you find the relevant pem file, place it in the following environment variables:
export SSL_CERT_FILE=/Library/Application\ Support/Netskope/STAgent/data/nscacert.pem
export REQUESTS_CA_BUNDLE=/Library/Application\ Support/Netskope/STAgent/data/nscacert.pem
Hopefully this does the trick!
Note that tasks with the same number can be done simultaneously.
First, ensure environments are up to date:
-
Rebuild documentation
cd docs; make html
-
Run scripts to get the environments:
environments/create_linux_envs.sh
andenvironments/create_osx_envs.sh
-
Run tests to make sure new environments don't break the build.
conda activate watershed_workflow_DEV-DATE pip install -r requirements.txt pytest watershed_workflow
-
Push to master / do pull request on master.
-
Check docs are properly updated on github
-
Manually launch actions to build the CI-Env and User-Env docker containers, tagged as master.
Cut the branch:
- Create a new branch, vMAJOR.MINOR
- Commit and push the new branch.
- Manually launch actions to build the CI-Env and User-Env docker containers, tagged as vMAJOR.MINOR, on the new branch.
- Create new release and add tag watershed-workflow-MAJOR.MINOR.0 as release version.