List of commits:
Subject Hash Author Date (UTC)
docker small fixes 1e68d0bbf8e16365068636a4e813c8ae0db2be5c Catalin(ux) M. BOIE 2016-03-11 23:31:34
Corrected a problem in spec file 8d28fc4e9d66d9a07d1148d893176a99533f8796 Catalin(ux) M. BOIE 2016-03-11 17:33:18
Bump version to v0.49 1481eafa69e1b2f2e2922a7b26acc3dc9a56f1a3 Catalin(ux) M. BOIE 2016-03-11 17:26:13
Just some comments 96f8542619d772c29b9bb07e4a066b7302d6f35c Catalin(ux) M. BOIE 2016-03-11 17:25:29
TODO clean-ups 3e34a304a204792b1a1a0b403c88e3164441066c Catalin(ux) M. BOIE 2016-03-09 17:27:10
Document web hooks and anonymous push 449e2d788ec06a49cc93f7d058df51ec351b9244 Catalin(ux) M. BOIE 2016-03-09 17:26:29
Do not log password in logs 4e183a15605f4b338863ea97192e46e0cf62cfe8 Catalin(ux) M. BOIE 2016-03-09 17:25:52
Do not continue to show objects if repo returned an error cd2a6a06d7867bb5da19108c6ab575e741b8b08e Catalin(ux) M. BOIE 2016-03-09 03:50:28
Make more clearer the events error message c76dd790a73e04318f0fc58b22d7701858e7dadf Catalin(ux) M. BOIE 2016-03-08 20:57:37
Accept 301 as a valid HTTP code 368f187c74e54052dbeeddfe9b5a533b155a62c2 Catalin(ux) M. BOIE 2016-03-08 20:57:01
We need to copy also the tags in the namespace to not get errors when pushing tags a6fa7c067b29f2d3ae400e6cb9117d17225ce047 Catalin(ux) M. BOIE 2016-03-06 21:21:07
Clean some items on TODO regarding mr 2383950909474e510897f37e46c2cf7cc762ec89 Catalin(ux) M. BOIE 2016-03-06 21:20:37
Lots of fixes for pull requests 54c410d144ae9ebdcc17ad8d11865a378e89f576 Catalin(ux) M. BOIE 2016-03-06 20:07:06
Replaced rg_bug_next_id with the more generic rg_repo_next_id 7c3131ac2bff3afb08983a2ebd23736ced070fb1 Catalin(ux) M. BOIE 2016-02-17 16:07:12
text correction: Amazon user must also have S3 rights 6a97f6ef92bb455b02434f35218224a3cae4cf02 Catalin(ux) M. BOIE 2016-02-14 12:11:29
for git:// access, organization field was missing 6c4479d982ea36941dc10db6d1b74012d1a75649 Catalin(ux) M. BOIE 2016-02-14 12:10:16
TODO changes bc6bf53c22bf2918e0fca8684406a753e4a335a3 Catalin(ux) M. BOIE 2016-02-14 12:09:47
Added login hints: about rg_change_pass ed1c5226b5e9e44859f76ad058aed76423855e0c Catalin(ux) M. BOIE 2016-02-14 12:09:23
css: fixed admins pages 3a8e93564ee53176ae510e131e55fa4bbef98908 Catalin(ux) M. BOIE 2016-02-14 12:09:00
Added rg_change_pass tool cfc9e214ef3bb978e831a68ab6395c74b6604b41 Catalin(ux) M. BOIE 2016-02-14 11:56:10
Commit 1e68d0bbf8e16365068636a4e813c8ae0db2be5c - docker small fixes
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-03-11 23:31
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-03-11 23:31
Parent(s): 8d28fc4e9d66d9a07d1148d893176a99533f8796
Signing key:
Tree: 315b131dc36988589c7adfe23b105ddae2ad84d2
File Lines added Lines deleted
docker/.gitignore 2 0
docker/Dockerfile-postgresql.tmpl 9 9
docker/README 3 7
docker/build.sh 11 4
docker/push.sh 1 6
File docker/.gitignore added (mode: 100644) (index 0000000..a8e2d10)
1 Dockerfile-postgresql
2 Dockerfile-rocketgit
File docker/Dockerfile-postgresql.tmpl renamed from docker/Dockerfile-postgresql (similarity 84%) (mode: 100644) (index fed6665..d28d744)
1 1 FROM fedora:23 FROM fedora:23
2 2 MAINTAINER Catalin(ux) M. BOIE <catab-docker@embedromix.ro> MAINTAINER Catalin(ux) M. BOIE <catab-docker@embedromix.ro>
3 3
4 RUN dnf -y upgrade --best --allowerasing
5 RUN dnf -y install postgresql-server
6
7 USER postgres
8 ENV LANG en_US.utf8
9 ENV PGDATA /var/lib/pgsql/data
10
11 RUN initdb --data-checksums
12
13 4 VOLUME /var/lib/postgresql/data VOLUME /var/lib/postgresql/data
14 5
15 6 EXPOSE 5432 EXPOSE 5432
 
... ... EXPOSE 5432
17 8 COPY postgresql-start.sh / COPY postgresql-start.sh /
18 9
19 10 CMD ["/postgresql-start.sh"] CMD ["/postgresql-start.sh"]
11
12 RUN dnf -y upgrade --best --allowerasing; echo @@RP_VER@@
13 RUN dnf -y install postgresql-server
14
15 USER postgres
16 ENV LANG en_US.utf8
17 ENV PGDATA /var/lib/pgsql/data
18
19 RUN initdb --data-checksums
File docker/README changed (mode: 100644) (index 71a9cd1..737493e)
... ... docker run -name aaa my_img echo "aaa"
36 36 docker stop aaa docker stop aaa
37 37 docker rm docker rm
38 38
39 untag: docker rmi rocketgit/rocektgit-postgresql:20160311
40
39 41 docker tag image_id docker_user_name/image_name:label_for_example_latest docker tag image_id docker_user_name/image_name:label_for_example_latest
40 42 docker login --username=rocketgit --email=docker@embedromix.ro docker login --username=rocketgit --email=docker@embedromix.ro
41 43 docker push rocketgit/rocketgit docker push rocketgit/rocketgit
 
... ... docker kill aaa
53 55 docker run -p 4444 docker run -p 4444
54 56 docker port $JOB docker port $JOB
55 57
56 == compose ==
58 == TODO: compose ==
57 59 docker-compose up docker-compose up
58 60 docker-compse ps docker-compse ps
59 61 docker-compose run web env docker-compose run web env
60 62 docker-compose stop docker-compose stop
61 63
62
63 == What I do to build rocketgit/rocketgit ==
64 ...
65 docker images | grep rocketgit/rocketgit | grep latest # to find "IMAGE ID"
66 docker tag "IMAGE ID" rocketgit/rocketgit:0.47
67 docker push rocketgit/rocketgit
File docker/build.sh changed (mode: 100755) (index c1e84c7..5ee78b9)
... ... set -e
5 5
6 6 . ../duilder.conf . ../duilder.conf
7 7
8 # This image must not be build every time!
9 #echo "Building rocketgit-postgresql..."
10 #docker build --tag="rocketgit/rocketgit-postgresql" -f Dockerfile-postgresql .
8 RP_VER="20160311"
9 sed -e "s|@@RP_VER@@|${RP_VER}|" Dockerfile-postgresql.tmpl > Dockerfile-postgresql
10 if [ "`docker images -q rocketgit/rocketgit-postgresql:${RP_VER}`" = "" ]; then
11 echo "Building rocketgit-postgresql (${RP_VER})..."
12 docker build \
13 --tag="rocketgit/rocketgit-postgresql:latest" \
14 --tag="rocketgit/rocketgit-postgresql:${RP_VER}" \
15 -f Dockerfile-postgresql \
16 .
17 fi
11 18
12 19 echo "Building rocketgit..." echo "Building rocketgit..."
13 sed -e "s|@@VER@@|${VER}|" Dockerfile-rocketgit.tmpl Dockerfile-rocketgit
20 sed -e "s|@@VER@@|${VER}|" Dockerfile-rocketgit.tmpl > Dockerfile-rocketgit
14 21 docker build \ docker build \
15 22 --tag="rocketgit/rocketgit:latest" \ --tag="rocketgit/rocketgit:latest" \
16 23 --tag="rocketgit/rocketgit:${VER}" \ --tag="rocketgit/rocketgit:${VER}" \
File docker/push.sh changed (mode: 100755) (index 3dfd962..72cfa96)
... ... if [ "${answer}" != "y" ]; then
14 14 exit 1 exit 1
15 15 fi fi
16 16
17 # Not need to rebuild every time this image!
18 #docker tag rocketgit-postgresql rocketgit/rocketgit-postgresql:latest
19 #docker tag rocketgit-postgresql rocketgit/rocketgit-postgresql:${VER}
20 #docker push rocketgit/rocketgit-postgresql
17 docker push rocketgit/rocketgit-postgresql
21 18
22 #docker tag rocketgit rocketgit/rocketgit:latest
23 #docker tag rocketgit rocketgit/rocketgit:${VER}
24 19 docker push rocketgit/rocketgit docker push rocketgit/rocketgit
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