mirror of
https://github.com/gsi-upm/senpy
synced 2025-09-17 12:02:21 +00:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c555b9547e | ||
|
991ade8f4d | ||
|
1104e816cb | ||
|
c19d03b41d | ||
|
42c9068991 | ||
|
96843827bd | ||
|
d76e4618fe |
@@ -72,7 +72,7 @@ deploy_pypi:
|
|||||||
- make pip_upload
|
- make pip_upload
|
||||||
- echo "" > ~/.pypirc && rm ~/.pypirc # If the above fails, this won't run.
|
- echo "" > ~/.pypirc && rm ~/.pypirc # If the above fails, this won't run.
|
||||||
only:
|
only:
|
||||||
- /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
|
- /^v?\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
|
||||||
except:
|
except:
|
||||||
- branches
|
- branches
|
||||||
|
|
||||||
|
@@ -7,7 +7,6 @@ language: python
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- PYV=2.7
|
- PYV=2.7
|
||||||
- PYV=3.4
|
|
||||||
- PYV=3.5
|
- PYV=3.5
|
||||||
# run nosetests - Tests
|
# run nosetests - Tests
|
||||||
script: make test-$PYV
|
script: make test-$PYV
|
||||||
|
7
Makefile
7
Makefile
@@ -76,14 +76,14 @@ test-%:
|
|||||||
test: test-$(PYMAIN)
|
test: test-$(PYMAIN)
|
||||||
|
|
||||||
dist/$(TARNAME): version
|
dist/$(TARNAME): version
|
||||||
docker run --rm -ti -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) python setup.py sdist;
|
docker run --rm -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) python setup.py sdist;
|
||||||
docker run --rm -ti -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) chmod -R a+rwx dist;
|
docker run --rm -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) chmod -R a+rwx dist;
|
||||||
|
|
||||||
|
|
||||||
sdist: dist/$(TARNAME)
|
sdist: dist/$(TARNAME)
|
||||||
|
|
||||||
pip_test-%: sdist
|
pip_test-%: sdist
|
||||||
docker run --rm -v $$PWD/dist:/dist/ -ti python:$* pip install /dist/$(TARNAME);
|
docker run --rm -v $$PWD/dist:/dist/ python:$* pip install /dist/$(TARNAME);
|
||||||
|
|
||||||
pip_test: $(addprefix pip_test-,$(PYVERSIONS))
|
pip_test: $(addprefix pip_test-,$(PYVERSIONS))
|
||||||
|
|
||||||
@@ -133,6 +133,7 @@ push-github:
|
|||||||
@echo "$$GITHUB_DEPLOY_KEY" > $(KEY_FILE)
|
@echo "$$GITHUB_DEPLOY_KEY" > $(KEY_FILE)
|
||||||
@git remote rm github-deploy || true
|
@git remote rm github-deploy || true
|
||||||
git remote add github-deploy $(GITHUB_REPO)
|
git remote add github-deploy $(GITHUB_REPO)
|
||||||
|
@GIT_SSH_COMMAND="ssh -i $(KEY_FILE)" git fetch github-deploy $(CI_COMMIT_REF_NAME) || true
|
||||||
@GIT_SSH_COMMAND="ssh -i $(KEY_FILE)" git push github-deploy $(CI_COMMIT_REF_NAME)
|
@GIT_SSH_COMMAND="ssh -i $(KEY_FILE)" git push github-deploy $(CI_COMMIT_REF_NAME)
|
||||||
rm $(KEY_FILE)
|
rm $(KEY_FILE)
|
||||||
|
|
||||||
|
@@ -14,6 +14,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: senpy-latest
|
- name: senpy-latest
|
||||||
image: gsiupm/senpy:latest
|
image: gsiupm/senpy:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- "--default-plugins"
|
- "--default-plugins"
|
||||||
resources:
|
resources:
|
||||||
|
Reference in New Issue
Block a user