Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
6b3c226a
Commit
6b3c226a
authored
May 24, 2020
by
Godefroid Chapelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: No tests running with Debian system python
Solution: Add a job
parent
70ccd17c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletion
+27
-1
.github/workflows/Dockerfile-debian-system
.github/workflows/Dockerfile-debian-system
+12
-0
.travis.yml
.travis.yml
+2
-0
Makefile
Makefile
+5
-1
builds/debian_sys_container/ci_build.sh
builds/debian_sys_container/ci_build.sh
+8
-0
No files found.
.github/workflows/Dockerfile-debian-system
0 → 100644
View file @
6b3c226a
FROM debian:stable-slim as debian-python
RUN apt-get update
RUN apt-get install -y gcc python3-dev python3-certifi
RUN mkdir buildout
WORKDIR /buildout
FROM debian-python
ARG PYTHON_VER
COPY doc /buildout/doc
COPY src /buildout/src
COPY zc.recipe.egg_ /buildout/zc.recipe.egg_
COPY setup.* dev.py *.rst *.txt buildout.cfg .coveragerc /buildout/
RUN python3 dev.py
.travis.yml
View file @
6b3c226a
...
@@ -17,6 +17,8 @@ jobs:
...
@@ -17,6 +17,8 @@ jobs:
-
language
:
python
-
language
:
python
python
:
3.8
python
:
3.8
env
:
BUILD_TYPE=bare_machines
env
:
BUILD_TYPE=bare_machines
-
language
:
minimal
env
:
BUILD_TYPE=debian_sys_container
-
language
:
minimal
-
language
:
minimal
env
:
PYTHON_VER=2.7 BUILD_TYPE=centos_containers
env
:
PYTHON_VER=2.7 BUILD_TYPE=centos_containers
-
language
:
minimal
-
language
:
minimal
...
...
Makefile
View file @
6b3c226a
...
@@ -45,7 +45,7 @@ PYTHON_DOWNLOAD = $(PYTHON_BUILD_DIR)/$(PYTHON_ARCHIVE).tgz
...
@@ -45,7 +45,7 @@ PYTHON_DOWNLOAD = $(PYTHON_BUILD_DIR)/$(PYTHON_ARCHIVE).tgz
BUILD_DIRS
=
$(PYTHON_PATH)
bin build develop-eggs eggs parts
BUILD_DIRS
=
$(PYTHON_PATH)
bin build develop-eggs eggs parts
all
:
all_test
all
:
all_test
.PHONY
:
all download_python python build test coverage docker docker_deb all_pythons all_test all_coverage
.PHONY
:
all download_python python build test coverage docker docker_deb
docker_deb_sys
all_pythons all_test all_coverage
# setup python from source
# setup python from source
$(PYTHON_DOWNLOAD)
:
$(PYTHON_DOWNLOAD)
:
...
@@ -134,5 +134,9 @@ docker_deb:
...
@@ -134,5 +134,9 @@ docker_deb:
docker build
-f
.github/workflows/Dockerfile-debian
--tag
debian_buildout:python
${PYTHON_VER}
--build-arg
PYTHON_VER
=
${PYTHON_VER}
.
docker build
-f
.github/workflows/Dockerfile-debian
--tag
debian_buildout:python
${PYTHON_VER}
--build-arg
PYTHON_VER
=
${PYTHON_VER}
.
docker run debian_buildout:python
${PYTHON_VER}
/bin/bash
-c
'RUN_COVERAGE= COVERAGE_REPORT= /buildout/bin/test -c -vvv -t abi'
docker run debian_buildout:python
${PYTHON_VER}
/bin/bash
-c
'RUN_COVERAGE= COVERAGE_REPORT= /buildout/bin/test -c -vvv -t abi'
docker_deb_sys
:
docker build
-f
.github/workflows/Dockerfile-debian-system
--tag
debian_system_buildout .
docker run debian_system_buildout /bin/bash
-c
'RUN_COVERAGE= COVERAGE_REPORT= /buildout/bin/test -c -vvv -t abi'
clean
:
clean
:
rm
-rf
$(VENVS)
$(PYTHON_BUILD_DIR)
$(HERE)
/pythons
rm
-rf
$(VENVS)
$(PYTHON_BUILD_DIR)
$(HERE)
/pythons
builds/debian_sys_container/ci_build.sh
0 → 100755
View file @
6b3c226a
#!/bin/bash
set
-x
set
-e
cd
../..
docker build
-f
.github/workflows/Dockerfile-debian-system
--tag
debian_system_buildout
.
docker run debian_system_buildout /bin/bash
-c
'RUN_COVERAGE= COVERAGE_REPORT= /buildout/bin/test -c -vvv'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment