Skip to content

Commit a960af8

Browse files
committed
Snow
1 parent 7906bb3 commit a960af8

File tree

4 files changed

+541
-27
lines changed

4 files changed

+541
-27
lines changed

.drone.yml

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,50 @@
1-
pipeline:
2-
setup:
1+
---
2+
kind: pipeline
3+
type: docker
4+
name: defult
5+
6+
steps:
7+
- name: setup
38
image: node:10
49
when:
510
event: push
611
commands:
712
- yarn
8-
lint:
13+
14+
- name: lint
915
image: node:10
1016
when:
1117
event: push
12-
group: testing
18+
depends_on: [setup]
1319
commands:
1420
- yarn lint
15-
build:
21+
22+
- name: build
1623
image: node:10
1724
when:
1825
event: push
1926
branch:
20-
exclude: [ master ]
21-
group: testing
27+
exclude: [master]
28+
depends_on: [setup]
2229
commands:
2330
- yarn build
24-
docker:
31+
32+
- name: docker
2533
image: plugins/docker
2634
when:
2735
branch:
2836
- master
2937
event: push
3038
status: success
31-
registry: https://registry.webkom.dev
32-
repo: registry.webkom.dev/webkom/office-dashboard
33-
secrets: [ docker_username, docker_password ]
34-
tags:
35-
- ${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:7}
36-
- latest
37-
build_args:
38-
- RELEASE=${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:7}
39-
39+
settings:
40+
registry: https://registry.webkom.dev
41+
repo: registry.webkom.dev/webkom/office-dashboard
42+
username:
43+
from_secret: docker_username
44+
password:
45+
from_secret: docker_password
46+
tags:
47+
- ${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:7}
48+
- latest
49+
build_args:
50+
- RELEASE=${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:7}

src/components/Dashboard/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ export class DashboardGrid extends Component {
4747

4848
return (
4949
<div className={classes.root}>
50+
{Array(50)
51+
.fill()
52+
.map(i => (
53+
<div key={i} className="snowflake" />
54+
))}
5055
<Grid
5156
container
5257
justify="center"

0 commit comments

Comments
 (0)