Compare commits

..

No commits in common. "926e545dd233311b7fb46a2c25edc7f861bf64dd" and "ce4e15eeed0720f992ae039fb0d4d8e17b8ae5b5" have entirely different histories.

3 changed files with 2 additions and 34 deletions

View file

@ -1,32 +0,0 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:current-alpine3.12
commands:
- npm install -D
- npm run rebuild
- name: package
image: fuww/alpine-zip
commands:
- SHORTREV=`echo $DRONE_COMMIT | cut -b 1-8`
- echo FILENAME=`date +%Y%m%d%H%m`-$SHORTREV.zip >> environment
- source environment
- zip -r $FILENAME build
- name: b2
image: tianon/backblaze-b2:2
environment:
BUCKET: carbon-artifacts
ACCOUNT:
from_secret: b2_account_id
KEY:
from_secret: b2_application_key
commands:
- source environment
- b2 authorize-account $ACCOUNT $KEY
- b2 upload-file $BUCKET $FILENAME $FILENAME
- echo Build artifacts avaliable at `b2 make-friendly-url $BUCKET $FILENAME`

View file

@ -5,7 +5,7 @@ import {Anchor} from "./Anchor.js"
import * as lsm from "./lsm.js" import * as lsm from "./lsm.js"
import {resolveMxc} from "./functions.js" import {resolveMxc} from "./functions.js"
const dateFormatter = Intl.DateTimeFormat("default", {hour: "numeric", minute: "numeric", day: "numeric", month: "short", year: "numeric"}) const dateFormatter = Intl.DateTimeFormat("default", {hour: "numeric", minute: "numeric", second: "numeric", day: "numeric", month: "short", year: "numeric"})
let sentIndex = 0 let sentIndex = 0

View file

@ -5,7 +5,7 @@ import {Anchor} from "./Anchor.js"
import * as lsm from "./lsm.js" import * as lsm from "./lsm.js"
import {resolveMxc} from "./functions.js" import {resolveMxc} from "./functions.js"
const dateFormatter = Intl.DateTimeFormat("default", {hour: "numeric", minute: "numeric", day: "numeric", month: "short", year: "numeric"}) const dateFormatter = Intl.DateTimeFormat("default", {hour: "numeric", minute: "numeric", second: "numeric", day: "numeric", month: "short", year: "numeric"})
let sentIndex = 0 let sentIndex = 0