4 Commits
master ... ci

Author SHA1 Message Date
dd10750f6b trigger test
All checks were successful
Gitea/TinderPokemon/pipeline/head This commit looks good
2022-10-24 18:32:44 +02:00
ed2e1b331f fix(ci): upload only changed files
All checks were successful
Gitea/TinderPokemon/pipeline/head This commit looks good
2022-10-24 18:15:22 +02:00
3dc554837f fix(ci): try to use Jenkinsfile
All checks were successful
Gitea/TinderPokemon/pipeline/head This commit looks good
2022-10-24 17:51:50 +02:00
0f959579bd add Jenkinsfile
All checks were successful
Gitea/TinderPokemon/pipeline/head This commit looks good
2022-10-24 16:41:49 +02:00

34
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,34 @@
pipeline {
agent {
kubernetes {
yaml '''
apiVersion: v1
kind: Pod
spec:
containers:
- name: python
image: python:3.10
command:
- cat
tty: true
'''
}
}
environment {
SWIFT_CREDENTIALS = credentials("swift")
}
stages {
stage('Deploy files') {
steps {
container('python') {
sh 'pip install python-swiftclient python-keystoneclient'
sh """
. $SWIFT_CREDENTIALS
swift upload --changed tinderpokemon *html
swift upload --changed tinderpokemon assets/
"""
}
}
}
}
}