Compare commits
No commits in common. "master" and "0.2.0" have entirely different histories.
|
@ -63,12 +63,7 @@ pipeline {
|
||||||
stage('Publish Container') {
|
stage('Publish Container') {
|
||||||
steps {
|
steps {
|
||||||
container('podman') {
|
container('podman') {
|
||||||
withCredentials([usernameColonPassword(
|
sh '. ci/publish-container.sh'
|
||||||
credentialsId: 'jenkins-packages',
|
|
||||||
variable: 'PODMAN_AUTH',
|
|
||||||
)]) {
|
|
||||||
sh '. ci/publish-container.sh'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,7 @@
|
||||||
|
|
||||||
push() {
|
push() {
|
||||||
tag=$(tag_name "$1")
|
tag=$(tag_name "$1")
|
||||||
podman push \
|
podman push hudctrl:$(tag_name ${BUILD_TAG}) registry.pyrocufflink.blue/hudctrl:${tag}
|
||||||
--creds="${PODMAN_AUTH}" \
|
|
||||||
hudctrl:$(tag_name ${BUILD_TAG}) \
|
|
||||||
git.pyrocufflink.blue/containerimages/hudctrl:${tag}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
push ${BUILD_TAG}
|
push ${BUILD_TAG}
|
||||||
|
|
|
@ -91,7 +91,7 @@ class HUDService:
|
||||||
try:
|
try:
|
||||||
url = self.urls[monitor.name]
|
url = self.urls[monitor.name]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
url = None
|
continue
|
||||||
if window is None:
|
if window is None:
|
||||||
window = await self.marionette.new_window('window')
|
window = await self.marionette.new_window('window')
|
||||||
self.windows[monitor.name] = window
|
self.windows[monitor.name] = window
|
||||||
|
@ -101,11 +101,10 @@ class HUDService:
|
||||||
y=1,
|
y=1,
|
||||||
)
|
)
|
||||||
await self.marionette.fullscreen()
|
await self.marionette.fullscreen()
|
||||||
if url is not None:
|
log.info('Screen %s: Opening URL %s', monitor.name, url)
|
||||||
log.info('Screen %s: Opening URL %s', monitor.name, url)
|
tasks.append(
|
||||||
tasks.append(
|
asyncio.create_task(self.marionette.navigate(url))
|
||||||
asyncio.create_task(self.marionette.navigate(url))
|
)
|
||||||
)
|
|
||||||
window = None
|
window = None
|
||||||
if tasks:
|
if tasks:
|
||||||
await asyncio.wait(tasks)
|
await asyncio.wait(tasks)
|
||||||
|
|
Loading…
Reference in New Issue