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 @@
image: docker:latest

services:
- docker:dind

stages:
- build
build:
stage: build
script:
- docker build --compress --pull --tag local/aosc-dbk:latest .
- docker save -o aosc-dbk.tar local/aosc-dbk
artifacts:
paths:
- aosc-dbk.tar
expire_in: 1 week

+ 6
- 2
Dockerfile View File

@@ -2,9 +2,13 @@ FROM aosc/aosc-os-buildkit:latest
MAINTAINER LER0ever (https://rongyi.blog)
ENV HOSTNAME LER0ever-AOSC-BK

COPY EverVim.vimrc /root/.EverVim.vimrc
RUN apt update && \
apt install neovim -y && \
apt full-upgrade && \

COPY EverVim.vimrc /root/.EverVim.vimrc
COPY EverVim.bundles /root/.EverVim.bundles

RUN apt install neovim -y && \
curl -sLf https://raw.githubusercontent.com/LER0ever/EverVim/master/Boot-EverVim.sh | bash && \
echo -e "Installing EverVim Distribution ...\n" && \
nvim --headless +PlugInstall +qa &> /dev/null

+ 1
- 0
EverVim.bundles View File

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

+ 2
- 0
EverVim.vimrc View File

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

let g:override_evervim_bundles = 1

aosc-bk → aosc-dbk View File

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

main "$@"

+ 8
- 0
build-aosc-dbk View File

@@ -0,0 +1,8 @@
#!/bin/bash

main() {
docker build --compress --pull --tag local/aosc-dbk:latest .
}

main "$@"


Loading…
Cancel
Save