From a4c58aab13db901197ec20ef2bc8b79578141b92 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 1 Mar 2017 20:36:37 +0100 Subject: [PATCH 1/3] Unify notice timelines to make changes easier. --- .../friends_timeline/friends_timeline.vue | 7 +--- src/components/mentions/mentions.vue | 7 +--- .../public_and_external_timeline.vue | 7 +--- .../public_timeline/public_timeline.vue | 7 +--- src/components/timeline/timeline.js | 3 +- src/components/timeline/timeline.vue | 35 +++++++++++-------- 6 files changed, 26 insertions(+), 40 deletions(-) diff --git a/src/components/friends_timeline/friends_timeline.vue b/src/components/friends_timeline/friends_timeline.vue index afe5cc89..3bf3b543 100644 --- a/src/components/friends_timeline/friends_timeline.vue +++ b/src/components/friends_timeline/friends_timeline.vue @@ -1,10 +1,5 @@ diff --git a/src/components/mentions/mentions.vue b/src/components/mentions/mentions.vue index 59f00241..7af402ce 100644 --- a/src/components/mentions/mentions.vue +++ b/src/components/mentions/mentions.vue @@ -1,10 +1,5 @@ diff --git a/src/components/public_and_external_timeline/public_and_external_timeline.vue b/src/components/public_and_external_timeline/public_and_external_timeline.vue index bda51153..fd696938 100644 --- a/src/components/public_and_external_timeline/public_and_external_timeline.vue +++ b/src/components/public_and_external_timeline/public_and_external_timeline.vue @@ -1,10 +1,5 @@ diff --git a/src/components/public_timeline/public_timeline.vue b/src/components/public_timeline/public_timeline.vue index d05695b2..bd6a23ed 100644 --- a/src/components/public_timeline/public_timeline.vue +++ b/src/components/public_timeline/public_timeline.vue @@ -1,10 +1,5 @@ diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index addd0255..b4e80fe1 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -5,7 +5,8 @@ import StatusOrConversation from '../status_or_conversation/status_or_conversati const Timeline = { props: [ 'timeline', - 'timelineName' + 'timelineName', + 'title' ], components: { Status, diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 45886f6c..15ac5ff8 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -1,20 +1,25 @@ From 30a908b56d9d380860d51f275bafcd3eda97c1cf Mon Sep 17 00:00:00 2001 From: lambadalambda Date: Wed, 1 Mar 2017 14:42:45 -0500 Subject: [PATCH 2/3] Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d3cba05..0e0b947c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,15 +27,18 @@ before_script: # paths: # - node_modules/ +stages: + - build + - test + - deploy + test: script: - - npm install -g yarn - yarn - npm run unit build: script: - - npm install -g yarn - yarn - npm run build artifacts: @@ -47,7 +50,6 @@ deploy: only: - develop script: - - npm install -g yarn - yarn - npm run build - scp -r dist/* pleroma@tenshi.heldscal.la:~/pleroma From bed37646f929ba7241f382a0ce06555d20b163b0 Mon Sep 17 00:00:00 2001 From: lambadalambda Date: Wed, 1 Mar 2017 14:46:07 -0500 Subject: [PATCH 3/3] Update .gitlab-ci.yml --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e0b947c..c31d2d31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,11 +33,13 @@ stages: - deploy test: + stage: test script: - yarn - npm run unit build: + stage: build script: - yarn - npm run build @@ -46,6 +48,7 @@ build: - dist/ deploy: + stage: deploy environment: dev only: - develop