Initial commit
All checks were successful
beefhavers/how2-manage-passwords/pipeline/head This commit looks good
All checks were successful
beefhavers/how2-manage-passwords/pipeline/head This commit looks good
This commit is contained in:
commit
fc90eb8df8
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
BL_proxy/
|
||||
*.blend1
|
74
Jenkinsfile
vendored
Normal file
74
Jenkinsfile
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
environment {
|
||||
JENKINSONGITEA=credentials('d0e86441-2157-405f-8539-a9a9010c6ecf')
|
||||
JENKINSONMATRIXTOKEN=credentials('17d18fd7-29eb-4957-9532-ce42aaa9b4ec')
|
||||
MATRIX_ROOMID="//todo"
|
||||
GITEA_PROJECT="https://gitea.arg.rip/beefhavers/how2-manage-passwords"
|
||||
}
|
||||
stages {
|
||||
stage('meta: avatar'){
|
||||
when { changeset "metadata/avatar.png"}
|
||||
steps {
|
||||
script{
|
||||
env.avatar=sh(returnStdout: true, script: "base64 metadata/avatar.png");
|
||||
//to gitea
|
||||
sh(returnStdout: true, script: """
|
||||
echo "{\"image\": \"\$(base64 --wrap=0 metadata/avatar.png)\"}" > post.json
|
||||
|
||||
curl -X 'POST' \
|
||||
'https://gitea.arg.rip/api/v1/repos/beefhavers/how2-manage-passwords/avatar' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Authorization: token ${env.JENKINSONGITEA}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-binary @post.json
|
||||
|
||||
rm post.json
|
||||
""")
|
||||
|
||||
//to matrix
|
||||
env.avatarMXC=sh(returnStdout: true, script: """
|
||||
url="https://greyn.club:8448/_matrix/media/v3/upload"'?'"filename=how2-manage-passwords-avatar-\$(mktemp -u XXX).png"
|
||||
curl "\$url" \
|
||||
-X 'POST' \
|
||||
-H 'authorization: Bearer ${env.JENKINSONMATRIXTOKEN}' \
|
||||
-H 'Content-Type: image/png' \
|
||||
--compressed \
|
||||
--data-binary @metadata/avatar.png \
|
||||
| jq -r .content_uri
|
||||
""").trim()
|
||||
|
||||
sh(returnStdout: true, script: """
|
||||
curl -X 'PUT' \
|
||||
'https://greyn.club:8448/_matrix/client/v3/rooms/${env.MATRIX_ROOMID}/state/m.room.avatar' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'authorization: Bearer ${env.JENKINSONMATRIXTOKEN}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"url": "${env.avatarMXC}"
|
||||
}'
|
||||
""")
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('script'){
|
||||
when { changeset "src/script.md"}
|
||||
steps {
|
||||
sh "/home/adam/beef-kafka-script.sh how2-manage-passwords"
|
||||
}
|
||||
}
|
||||
stage('credits'){
|
||||
when { changeset "src/credits.txt"}
|
||||
steps {
|
||||
sh "/home/adam/beef-kafka-credits.sh how2-manage-passwords"
|
||||
}
|
||||
}
|
||||
stage('blend'){
|
||||
when { changeset "video.blend"}
|
||||
steps {
|
||||
sh "/home/adam/beef-kafka-video.sh how2-manage-passwords"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# how2-manage-passwords
|
||||
|
||||
get a dang password manager
|
0
Sounds/VO/.gitignore
vendored
Normal file
0
Sounds/VO/.gitignore
vendored
Normal file
0
metadata/.gitignore
vendored
Normal file
0
metadata/.gitignore
vendored
Normal file
0
src/credits.txt
Normal file
0
src/credits.txt
Normal file
7
src/script.md
Normal file
7
src/script.md
Normal file
@ -0,0 +1,7 @@
|
||||
# $REPO_NAME
|
||||
|
||||
incitement
|
||||
|
||||
## section
|
||||
|
||||
text
|
9
src/tail.txt
Normal file
9
src/tail.txt
Normal file
@ -0,0 +1,9 @@
|
||||
voice acting by James Izzo - https://www.fiverr.com/james_voiceover
|
||||
edited by Keeno
|
||||
produced/etc by me: https://aleph.land/@AdamRGrey
|
||||
|
||||
also on peertube:
|
||||
also on rumble:
|
||||
also on youtube:
|
||||
|
||||
seo: # # #
|
BIN
standardized assets/Roboto-Thin.ttf
Normal file
BIN
standardized assets/Roboto-Thin.ttf
Normal file
Binary file not shown.
BIN
standardized assets/note0.png
Normal file
BIN
standardized assets/note0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
standardized assets/tc0.png
Normal file
BIN
standardized assets/tc0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 163 KiB |
BIN
video.blend
Normal file
BIN
video.blend
Normal file
Binary file not shown.
0
videos/.gitignore
vendored
Normal file
0
videos/.gitignore
vendored
Normal file
0
videos/a roll/.gitignore
vendored
Normal file
0
videos/a roll/.gitignore
vendored
Normal file
0
videos/stock footage/.gitignore
vendored
Normal file
0
videos/stock footage/.gitignore
vendored
Normal file
Loading…
Reference in New Issue
Block a user