Browse Source

update, should trigger ci

master
LER0ever 1 year ago
parent
commit
1eecf2ccd6
6 changed files with 35 additions and 3 deletions
  1. 17
    0
      .gitlab-ci.yml
  2. 6
    2
      Dockerfile
  3. 1
    0
      EverVim.bundles
  4. 2
    0
      EverVim.vimrc
  5. 1
    1
      aosc-dbk
  6. 8
    0
      build-aosc-dbk

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

@@ -0,0 +1,17 @@
1
+image: docker:latest
2
+
3
+services:
4
+  - docker:dind
5
+
6
+stages:
7
+- build
8
+  
9
+build:
10
+  stage: build
11
+  script:
12
+    - docker build --compress --pull --tag local/aosc-dbk:latest .
13
+    - docker save -o aosc-dbk.tar local/aosc-dbk
14
+  artifacts:
15
+    paths:
16
+    - aosc-dbk.tar
17
+    expire_in: 1 week

+ 6
- 2
Dockerfile View File

@@ -2,9 +2,13 @@ FROM aosc/aosc-os-buildkit:latest
2 2
 MAINTAINER LER0ever (https://rongyi.blog)
3 3
 ENV HOSTNAME LER0ever-AOSC-BK
4 4
 
5
-COPY EverVim.vimrc /root/.EverVim.vimrc
6 5
 RUN apt update && \
7
-    apt install neovim -y && \
6
+    apt full-upgrade && \
7
+
8
+COPY EverVim.vimrc /root/.EverVim.vimrc
9
+COPY EverVim.bundles /root/.EverVim.bundles
10
+
11
+RUN apt install neovim -y && \
8 12
     curl -sLf https://raw.githubusercontent.com/LER0ever/EverVim/master/Boot-EverVim.sh | bash && \
9 13
     echo -e "Installing EverVim Distribution ...\n" && \
10 14
     nvim --headless +PlugInstall +qa &> /dev/null

+ 1
- 0
EverVim.bundles View File

@@ -0,0 +1 @@
1
+Plug 'LER0ever/aosc.vim'

+ 2
- 0
EverVim.vimrc View File

@@ -20,3 +20,5 @@ let g:evervim_hybrid_linenumber = 1
20 20
 " 80 Column Warning
21 21
 " Shows a magenta line at column 81 only for those lines that exceeds 80
22 22
 let g:evervim_80_column_warning = 1
23
+
24
+let g:override_evervim_bundles = 1

aosc-bk → aosc-dbk View File

@@ -8,7 +8,7 @@ main() {
8 8
       --hostname "LER0ever-AOSC-BK" \
9 9
       --volume "$PWD":/var/lib/acbs/repo \
10 10
       --volume ~/.ssh/id_rsa:/home/everette/.ssh/id_rsa \
11
-      local/aosc-bk "$@"
11
+      local/aosc-dbk "$@"
12 12
 }
13 13
 
14 14
 main "$@"

+ 8
- 0
build-aosc-dbk View File

@@ -0,0 +1,8 @@
1
+#!/bin/bash
2
+
3
+main() {
4
+  docker build --compress --pull --tag local/aosc-dbk:latest .
5
+}
6
+
7
+main "$@"
8
+

Loading…
Cancel
Save