Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sergi
Tor
Commits
aeafb7f4
Commit
aeafb7f4
authored
4 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Improve comments in .gitlab-ci.yml
parent
41a7ab96
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-1
26 additions, 1 deletion
.gitlab-ci.yml
with
26 additions
and
1 deletion
.gitlab-ci.yml
+
26
−
1
View file @
aeafb7f4
...
...
@@ -58,12 +58,18 @@ variables:
<<
:
*artifacts-template
variables
:
DEBIAN_FRONTEND
:
"
noninteractive"
# TODO: Using "cache" in this way speeds up our downloads. It would be
# even better, though, to start with a pre-upgraded debian image.
#
# TODO: Will we have to do this differently once we have more than one
# debian version that we're using?
cache
:
key
:
apt
paths
:
-
apt-cache
before_script
:
-
*apt-template
# Install patches unconditionally.
-
apt-get install
automake
build-essential
...
...
@@ -77,20 +83,28 @@ variables:
pkg-config
python3
zlib1g-dev
# Install patches that we only need for some use cases.
-
if [ "$ASCIIDOC" = yes ]; then apt-get install asciidoc xmlto; fi
-
if [ "$DOXYGEN" = yes ]; then apt-get install doxygen; fi
-
if [ "$STEM" = yes ]; then apt-get install timelimit; fi
-
if [ "$CC" = clang ]; then apt-get install clang; fi
# TODO: This next line should not be debian-only.
-
if [ "$STEM" = yes ]; then git clone --depth 1 https://git.torproject.org/stem.git ; export STEM_PATH="$(pwd)/stem"; fi
# TODO: This next line should not be debian-only.
-
if [ "$CHUTNEY" = yes ]; then git clone --depth 1 https://git.torproject.org/chutney.git ; export CHUTNEY_PATH="$(pwd)/chutney"; fi
# Minmal check on debian: just make, make check.
#
debian-minimal
:
image
:
debian:stable
<<
:
*debian-template
script
:
-
./scripts/ci/ci-driver.sh
#####
# Run "make check" with a hardened clang on debian stable. This takes
# care of a hardening check, and a compile-with-clang check.
#
# TODO: This will be faster once we merge #40098 and #40099.
debian-hardened
:
image
:
debian:testing
...
...
@@ -101,6 +115,8 @@ debian-hardened:
script
:
-
./scripts/ci/ci-driver.sh
#####
# Distcheck on debian stable
debian-distcheck
:
image
:
debian:stable
<<
:
*debian-template
...
...
@@ -110,6 +126,8 @@ debian-distcheck:
script
:
-
./scripts/ci/ci-driver.sh
#####
# Documentation tests on debian stable: doxygen and asciidoc.
debian-docs
:
image
:
debian:stable
<<
:
*debian-template
...
...
@@ -121,6 +139,13 @@ debian-docs:
script
:
-
./scripts/ci/ci-driver.sh
#####
# Integration tests on debian stable: chutney and stem.
#
# TODO: It would be cool if this target didn't have to re-build tor, and
# could instead re-use Tor from debian-minimal. That can be done
# with the 'artifacts' mechanism, in theory, but it would be good to
# avoid having to have a system with hundreds of artifacts.
debian-integration
:
image
:
debian:stable
<<
:
*debian-template
...
...
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