Skip to content

Commit

Permalink
ansible: move information about firewall config (#2149)
Browse files Browse the repository at this point in the history
Setting up the Firewall is one of the manual steps that must be done
after ansibling a new Jenkins worker, so it should be in MANUAL_STEPS.
  • Loading branch information
sam-github authored Feb 4, 2020
1 parent dfcbf6e commit 97b004a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
19 changes: 19 additions & 0 deletions ansible/MANUAL_STEPS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Manual steps required to setup machines

* [Firewall Config](#adding-firewall-entries-for-jenkins-workers)
* [Release machines](#release-*-machines)
* [RHEL7-s390x](#RHEL7-s390x)
* [V8 Build Tools](#V8-build-tools)
Expand All @@ -22,6 +23,24 @@
* [NFS boot](#NFS-boot)


## Adding firewall entries for Jenkins workers

Workers must be added to the firewall config before they will be able
to connect to the Jenkins master.

You must be part of the infra group and have setup the ssh keys and config file
beforehand.

To add an entry do the following:

* ssh to the ci master: `ssh ci`
* save the current config to a temporary file: `iptables-save >foo`
* edit the temporary file with your favorite editor. Use one of
the existing lines as a template and add a new entry at the end
of the list of hosts just before the second `COMMIT` line near
the end of the file.
* restore the config from the temporary file: `iptables-restore foo`
* remove the temporary file: `rm foo`

## `release-*` machines

Expand Down
18 changes: 0 additions & 18 deletions jenkins/doc/add-worker-firewall-entry.md

This file was deleted.

0 comments on commit 97b004a

Please sign in to comment.