[Git][NTPsec/ntpsec][master] updates to devel/hacking.adoc
Mark Atwood
gitlab at mg.gitlab.com
Sat Feb 15 07:07:45 UTC 2020
Mark Atwood pushed to branch master at NTPsec / ntpsec
Commits:
101434f7 by Mark Atwood at 2020-02-14T23:07:31-08:00
updates to devel/hacking.adoc
- - - - -
1 changed file:
- devel/hacking.adoc
Changes:
=====================================
devel/hacking.adoc
=====================================
@@ -674,25 +674,27 @@ each release.
== Release Prep Steps. Ignore this if you are not Mark
-. start a new Debian instance, note it's public IP address, and ssh into it.
+. start a new Debian instance, note it's public IP address
+
+. copy over keys
+
+scp ~/.ssh/gitlab.key admin at IPADDRESS:.ssh/gitlab.key
+gpg --export-secret-key 0x5A22E330161C3978 >secret.gkey
+scp secret.gkey admin at IPADDRESS:.
+
+. ssh to remote
-LOCAL
ssh -v -i ~/.ssh/aws-mra.key admin at IPADDRESS
. install build dependencies
-REMOTE
sudo apt-get update
sudo apt-get install build-essential m4 bison git gnupg libssl-dev emacs-nox python-pip
sudo apt-get install asciidoc xsltproc
sudo pip install gps
-. copy over gitlab ssh access key
+. connect to gitlab
-LOCAL
-scp ~/.ssh/gitlab.key admin at 52.91.165.241:.ssh
-
-REMOTE
cat >> ~/.ssh/config
Host gitlab.com
Hostname gitlab.com
@@ -700,32 +702,26 @@ Host gitlab.com
Port 22
PreferredAuthentications publickey
IdentityFile ~/.ssh/gitlab.key
+^D
ssh git at gitlab.com # expect "Welcome to GitLab, @fallenpegasus!"
. clone the repo
-REMOTE
git clone git at gitlab.com:NTPsec/ntpsec.git
-. copy over gpg signing key
+. setup the signing key and init gpg
-LOCAL
-gpg --export-secret-key 0x5A22E330161C3978 >secret.gkey
-scp secret.gkey admin at IPADDRESS:.
-
-REMOTE
gpg --import ~/secret.gkey
GPG_TTY=$(tty); export GPG_TTY
echo "test" | gpg --clearsign
. setup gitconfig
-REMOTE
cat > ~/.gitconfig
[user]
name = Mark Atwood
email = mark.atwood at ntpsec.org
-
+^D
//end
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/101434f7076bbd120e6d4a53da6c5b36088c78f5
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/101434f7076bbd120e6d4a53da6c5b36088c78f5
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200215/566507b2/attachment-0001.htm>
More information about the vc
mailing list