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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.buildout
Commits
d1bdb0e8
Commit
d1bdb0e8
authored
May 24, 2020
by
Godefroid Chapelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: GH actions do not use ci_build.sh
Solution: Make it DRY by using ci_build.sh
parent
6b3c226a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
14 deletions
+26
-14
.github/workflows/centos.yml
.github/workflows/centos.yml
+3
-7
.github/workflows/debian-sys.yml
.github/workflows/debian-sys.yml
+20
-0
.github/workflows/debian.yml
.github/workflows/debian.yml
+3
-7
No files found.
.github/workflows/centos.yml
View file @
d1bdb0e8
...
...
@@ -13,13 +13,9 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Build
container with Python ${{ matrix.python-version }}
-
name
:
Test in
container with Python ${{ matrix.python-version }}
env
:
PYTHON_VER
:
${{matrix.python-version}}
BUILD_TYPE
:
centos_containers
run
:
|
docker build -f .github/workflows/Dockerfile --tag centos_buildout:python${PYTHON_VER} --build-arg PYTHON_VER=${PYTHON_VER} .
-
name
:
Test
env
:
PYTHON_VER
:
${{matrix.python-version}}
run
:
|
docker run centos_buildout:python${PYTHON_VER} /bin/bash -c 'RUN_COVERAGE= COVERAGE_REPORT= /buildout/bin/test -c -vvv'
./ci_build.sh
.github/workflows/debian-sys.yml
0 → 100644
View file @
d1bdb0e8
name
:
Debian container with system Python
on
:
[
push
,
pull_request
]
jobs
:
build
:
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
matrix
:
python-version
:
[
3.8
]
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Test in container with system Python
env
:
BUILD_TYPE
:
debian_sys_container
run
:
|
./ci_build.sh
.github/workflows/debian.yml
View file @
d1bdb0e8
...
...
@@ -13,13 +13,9 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Build
container with Python ${{ matrix.python-version }}
-
name
:
Test in
container with Python ${{ matrix.python-version }}
env
:
PYTHON_VER
:
${{matrix.python-version}}
BUILD_TYPE
:
debian_containers
run
:
|
docker build -f .github/workflows/Dockerfile-debian --tag debian_buildout:python${PYTHON_VER} --build-arg PYTHON_VER=${PYTHON_VER} .
-
name
:
Test
env
:
PYTHON_VER
:
${{matrix.python-version}}
run
:
|
docker run debian_buildout:python${PYTHON_VER} /bin/bash -c 'RUN_COVERAGE= COVERAGE_REPORT= /buildout/bin/test -c -vvv'
./ci_build.sh
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