This commit is contained in:
commit
bcb2c22c5d
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
BL_proxy/
|
||||
*.blend1
|
59
Jenkinsfile
vendored
Normal file
59
Jenkinsfile
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
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/morrowind"
|
||||
}
|
||||
stages {
|
||||
stage('meta: avatar'){
|
||||
when { changeset "meta/avatar.png"}
|
||||
steps {
|
||||
script{
|
||||
env.avatar=sh(returnStdout: true, script: "base64 meta/avatar.png");
|
||||
//to gitea
|
||||
sh(returnStdout: true, script: """
|
||||
curl -X 'POST' \
|
||||
'https://gitea.arg.rip/api/v1/repos/beefhavers/morrowind/avatar' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Authorization: token ${env.JENKINSONGITEA}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"image": "${env.avatar}"
|
||||
}'
|
||||
""")
|
||||
|
||||
//to matrix
|
||||
env.avatarMXC=sh(returnStdout: true, script: """
|
||||
curl 'https://matrix.server/_matrix/media/v3/upload?filename=morrowind-avatar.png' \
|
||||
-X 'POST' \
|
||||
-H 'authorization: Bearer ${env.JENKINSONMATRIXTOKEN}' \
|
||||
-H 'Content-Type: image/png' \
|
||||
--compressed \
|
||||
--data-binary @meta/avatar.png \
|
||||
| jq .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('credits'){
|
||||
when { changeset "script artifacts/credits.txt"}
|
||||
steps {
|
||||
sh "/home/adam/iHateThis.sh morrowind"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# morrowind
|
||||
|
||||
morrowind is the greatest game ever. The ending of the words is almsivi.
|
0
Sounds/VO/.gitignore
vendored
Normal file
0
Sounds/VO/.gitignore
vendored
Normal file
BIN
cards/note0.png
Normal file
BIN
cards/note0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
cards/tc0.png
Normal file
BIN
cards/tc0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 163 KiB |
0
credits/.gitignore
vendored
Normal file
0
credits/.gitignore
vendored
Normal file
0
meta/.gitignore
vendored
Normal file
0
meta/.gitignore
vendored
Normal file
0
script artifacts/credits.txt
Normal file
0
script artifacts/credits.txt
Normal file
0
script artifacts/pronunciation guide.txt
Normal file
0
script artifacts/pronunciation guide.txt
Normal file
7
script artifacts/script.md
Normal file
7
script artifacts/script.md
Normal file
@ -0,0 +1,7 @@
|
||||
# morrowind
|
||||
|
||||
incitement
|
||||
|
||||
## section
|
||||
|
||||
text
|
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