Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
hg-git
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
hg-git
Commits
138c250fb0be
Commit
138c250fb0be
authored
2 years ago
by
Dan Villiom Podlaski Christiansen
Browse files
Options
Downloads
Patches
Plain Diff
ci: test with oldest dulwich, and those bundled with Alpine
parent
7245529d9981
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!166
CI: Use Alpine instead of Ubuntu
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+36
-0
36 additions, 0 deletions
.gitlab-ci.yml
with
36 additions
and
0 deletions
.gitlab-ci.yml
+
36
−
0
View file @
138c250f
...
...
@@ -68,6 +68,42 @@
-
"
5.9"
-
"
6.0"
# Test that it is possible to use and run hg-git on versions of Alpine
# that include Dulwich, and with the oldest Dulwich supported.
Alpine
:
stage
:
compat
image
:
name
:
alpine:$ALPINE
script
:
-
apk add gnupg git unzip openssh mercurial py3-pip py3-pygments
-
|
if test -z "$DULWICH"
then
apk add py3-dulwich
else
apk add build-base python3-dev
pip3 install dulwich==$DULWICH
fi
-
pip3 install coverage
-
hg --config extensions.hggit=./hggit debuginstall
-
hg --config extensions.hggit=./hggit version -v
-
adduser -D test
-
chown -R test *
-
PYTHON=3 su test -c contrib/ci.sh
-
mv tests/.coverage coverage-$CI_JOB_ID
artifacts
:
*test-artifacts
parallel
:
matrix
:
-
ALPINE
:
"
3.11"
DULWICH
:
-
"
0.19.3"
-
"
0.19.11"
-
"
0.20.3"
-
"
0.20.5"
-
ALPINE
:
-
"
3.14"
-
"
3.15"
# Test that it is possible to use and run hg-git on Ubuntu without
# compiling any C code, i.e. with stock Dulwich, Mercurial and
# CPython. This should most definitely be the case on the latest
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment