Compare commits
No commits in common. "f37b2d5ec967b862d03b866d4fc1b12878a223c2" and "4b229c7283e1ed73d2a40af494786fafbc1c4274" have entirely different histories.
f37b2d5ec9
...
4b229c7283
|
@ -1,9 +0,0 @@
|
|||
FROM fedora:28
|
||||
|
||||
RUN dnf install -y \
|
||||
openssh-clients \
|
||||
python3-pip \
|
||||
python3-wheel \
|
||||
rsync
|
||||
|
||||
RUN useradd -l -u 3000018 -d /var/lib/jenkins jenkins
|
|
@ -1,28 +0,0 @@
|
|||
pipeline {
|
||||
agent {
|
||||
dockerfile {
|
||||
dir 'ci'
|
||||
}
|
||||
}
|
||||
|
||||
triggers {
|
||||
pollSCM ''
|
||||
}
|
||||
|
||||
environment {
|
||||
PUBLISH_HOST = 'web0.pyrocufflink.blue'
|
||||
PUBLISH_USER = 'webapp.dchwww'
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Publish') {
|
||||
steps {
|
||||
sh 'pip3 wheel -w dist .'
|
||||
sshagent(['jenkins-web']) {
|
||||
sh "ssh -oStrictHostKeyChecking=no ${PUBLISH_USER}@${PUBLISH_HOST} :"
|
||||
sh '. ci/publish.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
rsync -rti dist/ ${PUBLISH_USER}@${PUBLISH_HOST}:wheelhouse \
|
||||
--include '*.whl' --exclude '**'
|
||||
ssh ${PUBLISH_USER}@${PUBLISH_HOST} \
|
||||
venv/bin/pip install --no-index -f wheelhouse DarkChestOfWonders
|
Loading…
Reference in New Issue