Opened 3 years ago

Closed 3 years ago

Last modified 16 months ago

#23755 closed defect (fixed)

don't unconditionally mirror in .gitlab-ci.yml

Reported by: catalyst Owned by:
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Normal Keywords: tor-ci continuous-integration
Cc: Actual Points:
Parent ID: #23756 Points:
Reviewer: Sponsor:


A few of us have experimented with using the .gitlab-ci.yml to run continuous integration jobs on and Right now they're failing in the "update" job because $DEPLOY_KEY isn't configured. At the very least we should make the job cleanly exit if the key is not configured.

Typical output from the "update" job:

$ eval $(ssh-agent -s)
Agent pid 4533
$ ssh-add <(echo "$DEPLOY_KEY")
Enter passphrase for /dev/fd/63: ERROR: Job failed: exit code 1

Child Tickets

Change History (4)

comment:1 Changed 3 years ago by catalyst

Version: Tor:

comment:2 Changed 3 years ago by catalyst

Status: newneeds_review
Summary: conditionalize mirroring script in .gitlab-ci.ymldon't unconditionally mirror in .gitlab-ci.yml

Patch in to do the minimum required to make CI useful on master. Additional improvements for the actual (non-mirroring) CI build job go in #23757.

comment:3 Changed 3 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed


comment:4 Changed 16 months ago by catalyst

Parent ID: #23756
Note: See TracTickets for help on using tickets.