Skip to content

Commit 961e5c5

Browse files
committed
add gitpod support
1 parent e913c07 commit 961e5c5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.gitpod.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
image: ghcr.io/conda/conda-ci:main-linux-python3.9
2+
tasks:
3+
- name: initialize
4+
init: |
5+
mkdir -p .vscode
6+
echo '{"python.pythonPath": "/opt/conda/bin/python"}' > .vscode/settings.json
7+
git tag "$(git tag --sort=committerdate | tail -1).dev"
8+
eval "$(sudo /opt/conda/bin/python -m conda init --dev bash)"
9+
sudo su root -c "/opt/conda/bin/conda install -yq conda-build"
10+
command: |
11+
eval "$(sudo /opt/conda/bin/python -m conda init --dev bash)"
12+
13+
- name: ImportGPG
14+
command: >
15+
[[ ! -z $GNUPG_KEY ]] &&
16+
gpg --verbose --batch --import <(echo $GNUPG_KEY|base64 -d) &&
17+
echo 'pinentry-mode loopback' >> ~/.gnupg/gpg.conf &&
18+
git config commit.gpgsign true

0 commit comments

Comments
 (0)