aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-06-26 15:50:22 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-06-26 17:37:27 +0200
commit5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb (patch)
tree2219077e2356ef97768f1344d76bd129d57995e7 /.build.yml
parent0d5ae1108e33fe9a6f5b6f7e7414bc933cf2891a (diff)
downloadjnfilter-5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb.tar.gz
jnfilter-5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb.tar.bz2
jnfilter-5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb.zip
feat: Adiocina processo na pipeline para gerar rpm
Esse vai ser a forma padrao de dar deploy no `gabrielgio.me`.
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..79061c0
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,24 @@
+image: fedora/36
+packages:
+ - rsync
+ - make
+
+secrets:
+ - 008c4f67-b864-47f8-9790-cd32f2ae8516
+
+environment:
+ deploy: builds@gabrielgio.me
+
+tasks:
+ - deps: |
+ cd jnfilter
+ make install_deps
+ - build: |
+ cd jnfilter
+ make
+ - deploy: |
+ cd jnfilter
+ sshopts="ssh -o StrictHostKeyChecking=no"
+ rsync --rsh="$sshopts" -rP dist/*.rpm $deploy:/var/www/artifacs.gabrielgio.me/jnfilter/
+
+