Compare commits

...

3 Commits

Author SHA1 Message Date
bretello 32ce07fcde
ci: remove useless secrets 2023-12-28 16:46:35 +01:00
bretello d26f542874
ci: migrate to woodpecker 2023-12-28 16:35:24 +01:00
bretello 245eb034f4
vim: add comments to navigation shortcuts 2023-12-28 16:23:18 +01:00
3 changed files with 24 additions and 38 deletions

View File

@ -1,36 +0,0 @@
kind: pipeline
name: default
image_pull_secrets:
- docker_config_json
trigger:
branch:
- master
event:
- push
steps:
- name: build docker image
image: plugins/docker
settings:
registry: registry.decapod.one
username:
from_secret: registry.decapod.one-user
password:
from_secret: registry.decapod.one-password
auto_tag: true
repo: registry.decapod.one/brethil/dotfiles
dockerfile: Dockerfile
tags:
- latest
- name: notify
image: registry.decapod.one/toolchain:latest
environment:
BRETELLOFIER_TOKEN:
from_secret: bretellofier_token
BRETELLOFIER_RECIPIENTS:
from_secret: bretellofier_recipients
commands:
- echo "[drone] Succesfully built brethil/dotfiles" | bretellofier

21
.woodpecker.yml 100644
View File

@ -0,0 +1,21 @@
when:
- event: push
branch: master
steps:
build:
name: build docker image
image: plugins/docker
settings:
registry: registry.decapod.one
auto_tag: true
repo: registry.decapod.one/brethil/dotfiles
dockerfile: Dockerfile
tags:
- latest
notify:
image: registry.decapod.one/toolchain:latest
secrets: [bretellofier_token, bretellofier_recipients]
commands:
- echo "[drone] Succesfully built brethil/dotfiles" | bretellofier

View File

@ -32,8 +32,9 @@ nmap <C-W>n :tabnext<CR>
nmap <C-W>p :tabprev<CR>
nmap <C-W>N :tabnew<CR>
" move betweween methods, centering the method on each movement
" [m moves to the start of the previous method, ]m to the end
" move betweween functions/methods/classes definition,
" [m moves to the start of the previous method, ]m to the start of the next
" zz centers the result
map <Leader>] ]mzz
map <Leader>[ [mzz