Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update make_env_from_yamls.bash and push_env_packages.py for v82 #68

Merged
merged 1 commit into from
Oct 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions make_env_from_yamls.bash
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
#!/usr/bin/env bash

export RELEASE="v81"
export PREPEND_CHANNEL="-c cdat/label/test"
export PREPEND_CHANNEL=""
export APPEND_CHANNEL=""

export ACTIVATE_COMMAND="conda"
export CREATE="n"
export RELEASE="v82"
export ACTIVATE_COMMAND="source"

echo "ACTIVATE COMMAND: ${ACTIVATE_COMMAND}"

Expand All @@ -25,7 +20,8 @@ for PYVER in 2.7 3.6 3.7
export MESA_PKG=""
fi
echo "Doing version $PYVER with mesalib set to $MESA"
conda env create -f cdat-${RELEASE}${MESA_NAME}_py$PYVER.$(uname).yaml
conda env create -n cdat-${RELEASE}${MESA_NAME}_py$PYVER -f cdat-${RELEASE}${MESA_NAME}_py$PYVER.$(uname).yaml
echo "conda env create -n cdat-${RELEASE}${MESA_NAME}_py$PYVER -f cdat-${RELEASE}${MESA_NAME}_py$PYVER.$(uname).yaml"
${ACTIVATE_COMMAND} deactivate
${ACTIVATE_COMMAND} activate base
done
Expand Down
2 changes: 1 addition & 1 deletion push_env_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run_cmd(cmd, verbose=False):
tarball = os.path.join(conda_pkgs,tarname)
print("looking at:",tarball,os.path.exists(tarball))
if os.path.exists(tarball):
o,e = run_cmd("/Users/doutriaux1/miniconda3/bin/anaconda upload {} -u cdat-forge".format(tarball), verbose=True)
o,e = run_cmd("anaconda upload {} -u cdat-forge".format(tarball), verbose=True)
print("OUT:",o.decode("utf8"))
print("Err:",e.decode("utf8"))
else:
Expand Down