Commit 32a9d48c authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

chore(pkg): stop building debian packages

parent a3245f335550
Pipeline #68781 passed with stages
in 1 minute and 17 seconds
...@@ -15,14 +15,10 @@ include: ...@@ -15,14 +15,10 @@ include:
- "templates/lint/check-manifest.yml" # will do the equivalent of 'tox -e check-manifest' - "templates/lint/check-manifest.yml" # will do the equivalent of 'tox -e check-manifest'
- "templates/lint/yamllint.yml" # will do the equivalent of 'tox -e yamllint' - "templates/lint/yamllint.yml" # will do the equivalent of 'tox -e yamllint'
- "templates/tests/py3.yml" # will do the equivalent of 'tox -e py3' - "templates/tests/py3.yml" # will do the equivalent of 'tox -e py3'
- "templates/build-debian-package.yml" # will build a .deb and upload it to heptapod files
- "templates/create-release-on-heptapod-including-debian-package.yml" # this will create a release on heptapod AND uses uploaded .deb by build-debian-package
- "templates/upload-to-pypi.yml" # on a new mercurial tag (expected to be done with release-new), will push a release on pypi - "templates/upload-to-pypi.yml" # on a new mercurial tag (expected to be done with release-new), will push a release on pypi
stages: stages:
- lint - lint
- tests - tests
- build-debian-package
- upload-deb-to-heptapod
- release - release
- publish - publish
...@@ -6,7 +6,6 @@ recursive-include cubicweb_editorjs/i18n *.po ...@@ -6,7 +6,6 @@ recursive-include cubicweb_editorjs/i18n *.po
recursive-include cubicweb_editorjs/wdoc * recursive-include cubicweb_editorjs/wdoc *
recursive-include test/data bootstrap_cubes *.py recursive-include test/data bootstrap_cubes *.py
include *.ini include *.ini
prune debian
exclude cubicweb-editorjs.spec exclude cubicweb-editorjs.spec
exclude .gitlab-ci.yml exclude .gitlab-ci.yml
exclude .yamllint exclude .yamllint
......
cubicweb-editorjs (0.1.1-1) unstable; urgency=medium
* New patch release
-- Nicolas Chauvat <nicolas.chauvat@logilab.fr> Fri, 16 Jul 2021 19:08:49 +0200
cubicweb-editorjs (0.1.0-1) unstable; urgency=medium
[ LOGILAB S.A. (Paris, FRANCE) ]
* Initial release.
[ Frank Bessou ]
* New minor release
-- Frank Bessou <frank.bessou@logilab.fr> Fri, 11 Jun 2021 16:42:02 +0200
Source: cubicweb-editorjs
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Build-Depends:
debhelper (>= 9),
dh-python,
python3-all,
python3-setuptools,
python3-pytest,
python3-cubicweb,
Standards-Version: 4.3.0
X-Python3-Version: >= 3.4
Package: python3-cubicweb-editorjs
Architecture: all
Depends:
${python3:Depends},
${misc:Depends},
Description: Add editorjs format for RichString
CubicWeb is a semantic web application framework.
.
Add editorjs format for RichString
.
This package will install all the components you need to run an application
using the cubicweb-editorjs cube.
Upstream Author:
LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Copyright:
Copyright (c) 2021 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr -- mailto:contact@logilab.fr
test
tox.ini
cubicweb-editorjs.egg-info
#!/usr/bin/make -f
export PYBUILD_NAME = cubicweb-editorjs
export PYBUILD_OPTION = --test-pytest
%:
dh $@ --with python3 --buildsystem=pybuild
extend-diff-ignore = "^([^/]*\.spec$)"
Tests: pytest
Depends:
@builddeps@,
# Uncomment if the tests require database access
# python3-cubicweb-postgresql-support
Restrictions:
allow-stderr,
# Uncomment if the tests require database access
# isolation-container,
#!/bin/sh
set -e
set -x
### Setup tests
# Uncomment if tests require database access
#service postgresql restart || service postgresql start
#trap 'service postgresql stop' EXIT
cp -r test tox.ini "$AUTOPKGTEST_TMP"
chown -R nobody:nogroup "$AUTOPKGTEST_TMP"
### Run tests
for py in $(py3versions -r 2>/dev/null); do
cd "$AUTOPKGTEST_TMP"
echo "Testing with $py:"
su nobody --shell /bin/sh \
-c "$py -m pytest -v"
done
...@@ -55,30 +55,6 @@ commands = ...@@ -55,30 +55,6 @@ commands =
twine check dist/* twine check dist/*
twine upload --skip-existing dist/* twine upload --skip-existing dist/*
[testenv:deb-publish]
passenv = JENKINS_USER JENKINS_TOKEN
basepython = python3
skip_install = true
whitelist_externals =
rm
sh
hg
deps =
httpie
commands =
hg clean --all --dirs --files
rm -rf build dist .egg .egg-info
python3 setup.py sdist
sh -c "PACKAGE_NAME=$(python3 setup.py --name) && VERSION=$(python3 setup.py --version) && \
cd dist && \
tar xf $PACKAGE_NAME-$VERSION.tar.gz && \
cd $PACKAGE_NAME-$VERSION && \
cp -a {toxinidir}/debian . && \
mk-origtargz --rename ../$PACKAGE_NAME-$VERSION.tar.gz && \
dpkg-buildpackage -us -uc --no-check-builddeps --build=source "
sh -c "cd dist && dcmd zip latest.zip *.changes"
http -f POST https://{env:JENKINS_USER}:{env:JENKINS_TOKEN}@jenkins.intra.logilab.fr/job/pkg-from-dsc/buildWithParameters DIST=buster source.zip@dist/latest.zip REPO=buster PUBLISH=true
[testenv:yamllint] [testenv:yamllint]
skip_install = true skip_install = true
deps = yamllint deps = yamllint
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment