From 00fc459de6db9e37cfb81a8363b0f1a6420b7355 Mon Sep 17 00:00:00 2001
From: nickb <nickb@ssec.wisc.edu>
Date: Wed, 10 Feb 2021 20:01:57 +0000
Subject: [PATCH] write a conda environment.yml to the python_runtime/ folder
 so that we can more easily audit what's included in our runtime between
 builds

---
 buildbucket/package.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/buildbucket/package.sh b/buildbucket/package.sh
index 4250d49..70b3fc5 100755
--- a/buildbucket/package.sh
+++ b/buildbucket/package.sh
@@ -78,6 +78,8 @@ cp $GGLM_DIR/bin/* ./bin/
 cp $GGLM_DIR/libexec/* ./libexec/
 # Untar the tarball so we can put things where we want
 tar -xz -C ./libexec/python_runtime -f ../${conda_tb}
+# write a conda environment.yml to the python_runtime/ folder so that we can more easily audit what's included in our runtime between builds
+conda env export --file ./libexec/python_runtime/environment.yml
 # Go back to original work directory
 cd ..
 
-- 
GitLab