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
orbea
Tor
Commits
bac8967e
Commit
bac8967e
authored
4 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Copy from master gitlab-ci.yml from master back to maint-0.3.5
parent
c4742b89
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
+2
-30
2 additions, 30 deletions
.gitlab-ci.yml
with
2 additions
and
30 deletions
.gitlab-ci.yml
+
2
−
30
View file @
bac8967e
image
:
debian:stable
before_script
:
-
apt-get update -qq
-
apt-get upgrade -qy
...
...
@@ -13,33 +15,3 @@ build:
-
make check || (e=$?; cat test-suite.log; exit $e)
-
make install
update
:
only
:
-
schedules
script
:
-
"
apt-get
install
-y
--fix-missing
git
openssh-client"
# Run ssh-agent (inside the build environment)
-
eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
-
ssh-add <(echo "$DEPLOY_KEY")
# For Docker builds disable host key checking. Be aware that by adding that
# you are susceptible to man-in-the-middle attacks.
# WARNING: Use this only with the Docker executor, if you use it with shell
# you will overwrite your user's SSH config.
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
# In order to properly check the server's host key, assuming you created the
# SSH_SERVER_HOSTKEYS variable previously, uncomment the following two lines
# instead.
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
"$SSH_SERVER_HOSTKEYS"
>
~/.ssh/known_hosts'
-
echo "merging from torgit"
-
git config --global user.email "labadmin@oniongit.eu"
-
git config --global user.name "gitadmin"
-
"
mkdir
tor"
-
"
cd
tor"
-
git clone --bare https://git.torproject.org/tor.git
-
git push --mirror git@oniongit.eu:network/tor.git
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