List of commits:
Subject Hash Author Date (UTC)
First draft for Amazon 8eb80fe68d9586688e4b9b16f0cd80f936501af8 Catalin(ux) M. BOIE 2015-12-08 18:47:17
Add 'watch' button for user; corrected 'watch' bugs 73ca78916920d60c12725c709d136e80238aa1eb Catalin(ux) M. BOIE 2015-12-07 19:49:48
TODO updates, log last webhook output 24895c5ccb8c47315bd6897f2a60f9c8c3b3d6b1 Catalin(ux) M. BOIE 2015-12-06 17:04:56
keys: add some caching and prevent updating first_use if not necessary 35a152bc27fb1791f3f9d8ad1287c3847ed334a1 Catalin(ux) M. BOIE 2015-12-05 17:21:19
Deal correctly with cache regarding last_bug_id 705351cdea6af55f9dd61de0d85d41b8ac33fc88 Catalin(ux) M. BOIE 2015-12-03 21:01:08
Settle to Affero GPLv3+ 679d4032059256a01610e65cbff5496d32d9fc7d Catalin(ux) M. BOIE 2015-12-03 19:40:12
Missing Affero dee2c08fc8a0371ac37f6f00bf7f3e2e01f92e92 Catalin(ux) M. BOIE 2015-12-03 19:36:10
DO not show 2fa hint for a visiting user 4ff8837ef0f45572592f1d81724737b3732a046a Catalin(ux) M. BOIE 2015-12-03 17:25:24
Let the user choose the e-mail, no defaults should be suggested 09450741613a407c09bb465bff8a3c19c565df9a Catalin(ux) M. BOIE 2015-12-02 18:12:08
Pass uid for all events; more fixes for unit tests 866e43baf739ae7072949559d1c7e089c086af76 Catalin(ux) M. BOIE 2015-11-19 19:28:26
404 http error was receive for showing blobs ending in .php or .html ff87d956360a86e88a751d4c391585c84bb1e132 Catalin(ux) M. BOIE 2015-11-18 20:32:50
When creating an array, last_bug_id is set now correctly f679840c7ac3879aae69f488c561a5bd73ce71f1 Catalin(ux) M. BOIE 2015-11-18 19:14:48
We allow empty description for bugs c5a1b4057963eac575cc3d0d4872c4519fea80b0 Catalin(ux) M. BOIE 2015-11-18 18:26:39
Show the repo # on main repo page c72f4d8627ab577a92c5531ed7afb9e55a6bfd1b Catalin(ux) M. BOIE 2015-11-18 18:25:00
Bumped version to 0.42 8e9fab68ff08040402c0aa25539d1e8b29258f7d Catalin(ux) M. BOIE 2015-11-18 18:14:40
Renamed the virtual machines files 040c9f3a87826a52713b3b5f48d19c83236f8aa8 Catalin(ux) M. BOIE 2015-11-18 18:13:57
Admin user must not confirm the account by e-mail 0a81a2824087d9dcd2d1981c860946fd49cc8bf7 Catalin(ux) M. BOIE 2015-11-18 18:04:26
Bump the version to 0.41 363368555480d4c79c13867805c59541fd59e37c Catalin(ux) M. BOIE 2015-11-18 16:37:16
Mostly debug signaling by cache 2cd13a1f01403ebe733ef64ff2446b93e2cd46af Catalin(ux) M. BOIE 2015-11-18 16:36:40
Only texts changes. 37b6e035a5027c99a8b21672cef5431673320892 Catalin(ux) M. BOIE 2015-11-17 17:58:52
Commit 8eb80fe68d9586688e4b9b16f0cd80f936501af8 - First draft for Amazon
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-12-08 18:47
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-12-08 18:47
Parent(s): 73ca78916920d60c12725c709d136e80238aa1eb
Signer:
Signing key:
Signing status: N
Tree: b6060fe622f6b6b50e3dbcfc3c407d94ed8351d0
File Lines added Lines deleted
techdocs/amazon.txt 81 0
File techdocs/amazon.txt added (mode: 100644) (index 0000000..f337b2e)
1 This documents how to install RocketGit in Amazon Cloud.
2
3 == Create an AMI ==
4 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingVirtualMachinesinAmazonEC2.html
5
6 - Download rocketgit1.qcow2.xz image:
7 wget --continue http://downloads.rocketgit.com/vm/last/rocketgit1.qcow2.xz
8
9 xz -d rocketgit1.qcow2.xz
10 qemu-img convert -p rocketgit1.qcow2 -O raw rocketgit1.raw
11
12 TODO: how it will be transformed into an AMI?
13 TODO: aws ec2 import-image \
14 TODO: maybe use ec2-import-instance?
15 TODO: maybe use ec2-import-volume?
16
17 ec2-import-instance rocketgit1.raw \
18 -f raw \
19 -t t2.micro \
20 -b my_aws_bucket \
21 -o ??? \
22 -w ??? \
23 -p Linux
24 Use ec2-resume-import to resume the import
25
26 Use ec2-describe-conversion-tasks to see the progress.
27
28
29 == Security group ==
30
31 aws ec2 create-security-group \
32 --group-name MyRocketGitSecurityGroup \
33 --description 'This must be used for RocketGit instances'
34
35 for post in 22 80 443 9418; do
36 aws ec2 authorize-security-group-ingress \
37 --group-name MyRocketGitSecurityGroup \
38 --protocol tcp \
39 --port ${port} \
40 --cidr 0.0.0.0/0
41
42 aws ec2 authorize-security-group-ingress \
43 --group-name MyRocketGitSecurityGroup \
44 --protocol tcp \
45 --port ${port} \
46 --cidr ::/0
47 done
48
49
50 == Create a key pair ==
51 To be able to login, you have to create a key pair.
52
53 aws ec2 create-key-pair --key-name MyKeyForRocketGit
54
55 TODO: save the key to a file (in .ssh dir)
56
57
58 == Run an instance ==
59 More informations here; http://docs.aws.amazon.com/cli/latest/reference/ec2/run-instances.html
60
61 aws ec2 run-instances \
62 --image-id <put_here_the_AMI_id_created_above> \
63 --security-groups MyRocketGitSecurityGroup \
64 --key-name MyKeyForRocketGit \
65 --instance-type t2.micro \
66 --region <put_here_the_region_for_example_TODO> \
67 --no-ebs-optimized
68
69 Add:
70 --associate-public-ip-address - TODO
71 --ebs-optimized - TODO
72
73
74 TODO: ec2-describe-instances - to find out the ip?
75
76
77 == Allocate an Elastic IP ==
78
79
80 == Finish ==
81 Follow http://r1i:9000/op/download/vm#common to finish instalation.
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main