-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* enable upload of multiple files * demo package upload * change trigger to on PR * fixes * fixes * fixes * fixes * fixes * fixes * fixes * fixes * fixes * fixes * fixes * fix checksum * fix * fix * fix * fix * fix * add newline * remove accidental release workflow * now it should work? * cmon * fix spelling * remove quetz as requirement * remove quetz as requirement * checkout correct branch * give it some time to upload * list all files * precommit * wut * wut * noww?? * remove debug prints * cleanup * trigger ci * switch trigger * revert to main branch * readme * use live quetz version * update test * trigger readme CI * add dev_config * add dev_config * pre-commit * pre-commit * feedback * move readme script to pytest * typo * add cleanup steps
- Loading branch information
1 parent
c4fabec
commit 310e0f6
Showing
6 changed files
with
66 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[sqlalchemy] | ||
database_url = "sqlite:///./quetz.sqlite" | ||
|
||
[session] | ||
# openssl rand -hex 32 | ||
secret = "b72376b88e6f249cb0921052ea8a092381ca17fd8bb0caf4d847e337b3d34cf8" | ||
https_only = false | ||
|
||
[logging] | ||
level = "DEBUG" | ||
file = "quetz.log" | ||
|
||
[users] | ||
admins = ["dummy:alice"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
set -e | ||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
|
||
# Run the steps described in the quetz README.md for uploading and installing a sample package | ||
|
||
quetz run test_quetz --copy-conf $SCRIPT_DIR/dev_config.toml --dev --reload --delete > quetz.log & | ||
sleep 10 | ||
export QUETZ_API_KEY=$(sed -n 's/.*key created for user.*: \(.*\)/\1/p' quetz.log) | ||
export QUETZ_SERVER_URL=http://localhost:8000 | ||
|
||
mkdir -p xtensor/osx-64 | ||
mkdir -p xtensor/linux-64 | ||
wget https://conda.anaconda.org/conda-forge/osx-64/xtensor-0.16.1-0.tar.bz2 -P xtensor/osx-64/ | ||
wget https://conda.anaconda.org/conda-forge/linux-64/xtensor-0.16.1-0.tar.bz2 -P xtensor/linux-64/ | ||
|
||
quetz-client post_file_to_channel channel0 xtensor/linux-64/xtensor-0.16.1-0.tar.bz2 | ||
quetz-client post_file_to_channel channel0 xtensor/osx-64/xtensor-0.16.1-0.tar.bz2 | ||
|
||
sleep 2 | ||
|
||
micromamba install --override-channels --strict-channel-priority -c http://localhost:8000/get/channel0 -c conda-forge xtensor | ||
|
||
# Kill quetz | ||
lsof -i:8000 | grep LISTEN | awk '{print $2}' | xargs kill -9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters