Browse Source

buster ci

Liam Hurwitz 1 year ago
parent
commit
df14d7b3aa
2 changed files with 10 additions and 3 deletions
  1. 7
    0
      .gitlab-ci.yml
  2. 3
    3
      Dockerfile

+ 7
- 0
.gitlab-ci.yml View File

@@ -36,10 +36,16 @@
36 36
 image: gitlab.informatik.uni-bremen.de:5005/turingcomplete/freedombone:latest
37 37
 
38 38
 stages:
39
+  - prepare
39 40
   - build
40 41
   - test
41 42
   - deploy
42 43
 
44
+git update:
45
+  stage: prepare
46
+  script: 
47
+    - git pull --rebase origin stretch && git checkout buster
48
+
43 49
 build amd64:
44 50
   stage: build
45 51
   script:
@@ -141,3 +147,4 @@ deploy1:
141 147
   # TODO: Decide where to host images, and then push artefacts to website
142 148
   # Hosting at Uni Bremen should be no problem. TODO: Ask about logging
143 149
     - echo "Do your deploy here"
150
+

+ 3
- 3
Dockerfile View File

@@ -26,7 +26,7 @@
26 26
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
27 27
 # Set the base image to debian
28 28
 
29
-FROM debian:buster
29
+FROM debian:stretch
30 30
 
31 31
 # File Author / Maintainer
32 32
 MAINTAINER Liam Hurwitz
@@ -50,7 +50,7 @@ RUN apt-get install git build-essential dialog openssh-client -y
50 50
 ##
51 51
 RUN git clone https://gitlab.informatik.uni-bremen.de/turingcomplete/freedombone.git
52 52
 RUN cd freedombone &&\
53
-        git checkout buster &&\
53
+        git checkout stretch &&\
54 54
         make install
55 55
 
56 56
 ##
@@ -63,4 +63,4 @@ RUN echo "Reached Build \nInstalling Packages" &&\
63 63
 RUN export TERMINFO=/usr/lib/terminfo
64 64
 
65 65
 USER root
66
-CMD /bin/bash
66
+CMD /bin/bash

Loading…
Cancel
Save