Opened 3 weeks ago

Last modified 7 days ago

#32193 needs_review enhancement

update .gitlab-ci.yml to remove broken cruft and add a complete test suite

Reported by: eighthave Owned by:
Priority: Medium Milestone: Tor: 0.4.3.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: Android, gitlab-ci
Cc: tlyu, hiro, catalyst Actual Points:
Parent ID: Points:
Reviewer: dgoulet Sponsor:

Description

This removes the old, broken cruft from the GitLab CI setup, and adds a whole range of new jobs. The most valuable is complete Android builds with NDK r17b and r20, then a limited test run in an Android emulator.

Since I was working on ./configure, I added tests across the GNU/Linux distros. The jobs are added in order of value, so the commits on top could easily be omitted as needed.

This currently does not limit when these jobs runs, and it probably should. Most of the jobs are various GNU/Linux distros and releases, which should be the same for most things. For all those tests, I think they should probably be run only on the stable release branches, e.g.:

...
.test-template: &test-template
  only:
    - /^release-.*$/
  script:
...

@hiro @catalyst pinging you since you did the previous edits on .gitlab-ci.yml.

The code is here:
https://github.com/torproject/tor/pull/1448

Child Tickets

Change History (4)

comment:2 Changed 3 weeks ago by nickm

Milestone: Tor: 0.4.3.x-final
Status: newneeds_review

comment:3 Changed 2 weeks ago by nickm

Component: Core TorCore Tor/Tor

comment:4 Changed 7 days ago by dgoulet

Reviewer: dgoulet
Note: See TracTickets for help on using tickets.