Compare commits

...

5 Commits

Author SHA1 Message Date
Tyler bdb38fbb10 Only upload *.tgz and *.deb to releases
continuous-integration/drone/push Build is passing Details
2019-12-29 22:13:24 -05:00
Tyler d2deb7a4ba Only upload *.tgz and *.deb to releases 2019-12-29 22:12:42 -05:00
Tyler 4976cdf4d4 Fix package paths
continuous-integration/drone/push Build is passing Details
2019-12-29 22:06:58 -05:00
Tyler 6c7bd4a5f5 Remove nginx dependency
continuous-integration/drone/push Build is passing Details
2019-12-29 21:53:52 -05:00
Tyler 567cac152f Potential fix for jobs not appearing after creation, remove jobs after complete
continuous-integration/drone/push Build is passing Details
2019-12-29 20:12:55 -05:00
3 changed files with 14 additions and 7 deletions

View File

@ -9,7 +9,9 @@ steps:
- name: build
path: /build
commands:
- echo "v1.2.1" > /build/version.txt
- export VERSION="1.2.5"
- echo $VERSION > /build/version.txt
- echo "v$VERSION" > /build/release-version.txt
- npm install
- npm run build
- cp -R dist /build/dist
@ -31,9 +33,9 @@ steps:
path: /build
settings:
gitea_server: https://git.meow.tf
tag_file: /build/version.txt
title_file: /build/version.txt
files: [ '/build/*' ]
tag_file: /build/release-version.txt
title_file: /build/release-version.txt
files: [ '/build/*.tgz', '/build/*.deb' ]
environment:
PLUGIN_API_KEY:
from_secret: gitea_token

View File

@ -4,7 +4,6 @@ fpm -s dir -t deb -p /build/arm-web_$VERSION.deb \
--deb-compression bzip2 \
--description "Automatic Ripping Machine Web Interface" \
-m "cats <admin@meow.tf>" --vendor "Meow.tf" \
--depends nginx \
--url "https://meow.tf" \
packaging/arm.conf=/etc/nginx/conf.d/arm.conf \
/build/dist=/var/lib/arm/web
/build/dist/=/var/lib/arm/web/

View File

@ -48,7 +48,8 @@ ws.on('jobs', function(data) {
ws.on('job:create', function(job) {
// Create new job component
Vue.set(d.jobs, job.id, job);
d.jobs[job.id] = job;
Vue.set(d, 'jobs', d.jobs);
});
ws.on('job:update', function(update) {
@ -61,6 +62,11 @@ ws.on('job:update', function(update) {
}
});
ws.on('job:complete', function(job) {
delete d.jobs[job.id];
Vue.set(d, 'jobs', d.jobs);
});
ws.on('job:progress', function(progress) {
// Update component status bar for progress.job_id
let job = d.jobs[progress.job_id];