shipit-engine 0.44.3 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/shipit.css.erb +2081 -0
- data/app/views/layouts/merge_status.html.erb +0 -1
- data/lib/shipit/engine.rb +0 -1
- data/lib/shipit/version.rb +1 -1
- data/lib/shipit.rb +0 -1
- metadata +2 -35
- data/app/assets/stylesheets/_base/_banner.scss +0 -74
- data/app/assets/stylesheets/_base/_base.scss +0 -249
- data/app/assets/stylesheets/_base/_buttons.scss +0 -62
- data/app/assets/stylesheets/_base/_colors.scss +0 -19
- data/app/assets/stylesheets/_base/_forms.scss +0 -48
- data/app/assets/stylesheets/_base/_icons.scss +0 -26
- data/app/assets/stylesheets/_base/_media-queries.scss +0 -17
- data/app/assets/stylesheets/_base/_spacing.scss +0 -21
- data/app/assets/stylesheets/_base/_status-items.scss +0 -166
- data/app/assets/stylesheets/_base/_utility.scss +0 -15
- data/app/assets/stylesheets/_pages/_commits.scss +0 -354
- data/app/assets/stylesheets/_pages/_deploy.scss +0 -282
- data/app/assets/stylesheets/_pages/_repositories.scss +0 -148
- data/app/assets/stylesheets/_pages/_settings.scss +0 -24
- data/app/assets/stylesheets/_pages/_stacks.scss +0 -255
- data/app/assets/stylesheets/_structure/_layout.scss +0 -70
- data/app/assets/stylesheets/_structure/_main.scss +0 -154
- data/app/assets/stylesheets/_structure/_navigation.scss +0 -89
- data/app/assets/stylesheets/merge_status.scss +0 -0
- data/app/assets/stylesheets/shipit.scss +0 -21
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
// =============================================================================
|
|
2
|
-
// STATUS ITEMS
|
|
3
|
-
// =============================================================================
|
|
4
|
-
|
|
5
|
-
.status-list {
|
|
6
|
-
position: absolute;
|
|
7
|
-
width: 25rem;
|
|
8
|
-
left: 3.25rem;
|
|
9
|
-
top: 0.25rem;
|
|
10
|
-
background: #fff;
|
|
11
|
-
border-radius: $border-radius;
|
|
12
|
-
box-shadow: 0 0 0 1px rgba(#000, .075), 0 5px 13px rgba(#000, .15);
|
|
13
|
-
transform: scale(0.75);
|
|
14
|
-
transform-origin: -10% 20%;
|
|
15
|
-
transition: all .3s cubic-bezier(0.34,1.61,0.7,1);
|
|
16
|
-
visibility: hidden;
|
|
17
|
-
opacity: 0;
|
|
18
|
-
z-index: 2;
|
|
19
|
-
|
|
20
|
-
.status-group:hover & {
|
|
21
|
-
transform: scale(1);
|
|
22
|
-
opacity: 1;
|
|
23
|
-
visibility: visible;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
// STATUS ITEMS TRIANGLE
|
|
29
|
-
// -----------------------------------------------------------------------------
|
|
30
|
-
|
|
31
|
-
.status-list:before,
|
|
32
|
-
.status-list:after {
|
|
33
|
-
content: '';
|
|
34
|
-
display: block;
|
|
35
|
-
width: 0;
|
|
36
|
-
height: 0;
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 0.55rem;
|
|
39
|
-
border: 7px outset transparent;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.status-list:before {
|
|
43
|
-
border-right: 7px solid rgba(#000, .075);
|
|
44
|
-
left: -14px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.status-list:after {
|
|
48
|
-
border-right: 7px solid white;
|
|
49
|
-
left: -12px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
// STATUS ITEM
|
|
54
|
-
// -----------------------------------------------------------------------------
|
|
55
|
-
|
|
56
|
-
.status-item {
|
|
57
|
-
padding: 0.6rem;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// STATUS ITEM
|
|
62
|
-
|
|
63
|
-
.status-item {
|
|
64
|
-
background: rgba(#000, 0.035);
|
|
65
|
-
font-size: 0.8rem;
|
|
66
|
-
|
|
67
|
-
& + & {
|
|
68
|
-
border-top: 1px solid #fff;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
// STATUS ITEM SUMMARY
|
|
74
|
-
|
|
75
|
-
.status-item--summary {
|
|
76
|
-
background: transparent;
|
|
77
|
-
font-size: 0.9rem;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
// STATUS DESCRIPTION
|
|
82
|
-
// -----------------------------------------------------------------------------
|
|
83
|
-
|
|
84
|
-
.status-item__description {
|
|
85
|
-
color: #777;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
// STATUS SERVICE
|
|
90
|
-
// -----------------------------------------------------------------------------
|
|
91
|
-
|
|
92
|
-
.status-item__service {
|
|
93
|
-
.status-item--success & {
|
|
94
|
-
color: $green;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.status-item--pending & {
|
|
98
|
-
color: $dark-yellow;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.status-item--error & {
|
|
102
|
-
color: #333;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.status-item--failed &,
|
|
106
|
-
.status-item--failure & {
|
|
107
|
-
color: $bright-red;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
// STATUS ICON
|
|
113
|
-
// -----------------------------------------------------------------------------
|
|
114
|
-
|
|
115
|
-
.status-item__icon {
|
|
116
|
-
width: 12px;
|
|
117
|
-
height: 12px;
|
|
118
|
-
display: inline-block;
|
|
119
|
-
background: transparent no-repeat center center;
|
|
120
|
-
vertical-align: -2px;
|
|
121
|
-
|
|
122
|
-
.status-item--success & {
|
|
123
|
-
background-image: asset-data-url('success-small.svg');
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.status-item--pending & {
|
|
127
|
-
background-image: asset-data-url('pending-small.svg');
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.status-item--error & {
|
|
131
|
-
background-image: asset-data-url('error-small.svg');
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.status-item--failed &,
|
|
135
|
-
.status-item--failure & {
|
|
136
|
-
background-image: asset-data-url('failure-small.svg');
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// DEPLOY STATUS ICON
|
|
141
|
-
// -----------------------------------------------------------------------------
|
|
142
|
-
|
|
143
|
-
.deploy-status__icon {
|
|
144
|
-
width: 12px;
|
|
145
|
-
height: 12px;
|
|
146
|
-
display: inline-block;
|
|
147
|
-
background: transparent no-repeat center center;
|
|
148
|
-
vertical-align: -2px;
|
|
149
|
-
|
|
150
|
-
.deploy[data-release-status=success] & {
|
|
151
|
-
background-image: asset-data-url('success-small.svg');
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.deploy[data-release-status=pending] &,
|
|
155
|
-
.deploy[data-release-status=unknown] & {
|
|
156
|
-
background-image: asset-data-url('pending-small.svg');
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.deploy[data-release-status=error] & {
|
|
160
|
-
background-image: asset-data-url('error-small.svg');
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.deploy[data-release-status=failure] & {
|
|
164
|
-
background-image: asset-data-url('failure-small.svg');
|
|
165
|
-
}
|
|
166
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// =============================================================================
|
|
2
|
-
// UTILITY
|
|
3
|
-
// =============================================================================
|
|
4
|
-
|
|
5
|
-
.visually-hidden {
|
|
6
|
-
border: 0;
|
|
7
|
-
clip: rect(0, 0, 0, 0);
|
|
8
|
-
clip: rect(0 0 0 0);
|
|
9
|
-
width: 2px; // 2px min. required to still allow hidden fields to be filled in
|
|
10
|
-
height: 2px; // 2px min. required to still allow hidden fields to be filled in
|
|
11
|
-
margin: -2px;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
padding: 0;
|
|
14
|
-
position: absolute;
|
|
15
|
-
}
|
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
// =============================================================================
|
|
2
|
-
// COMMIT LIST
|
|
3
|
-
// =============================================================================
|
|
4
|
-
|
|
5
|
-
.commit-list, .task-list, .pr-list {
|
|
6
|
-
list-style-type: none;
|
|
7
|
-
margin: 0; padding: 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.commit-list-actions {
|
|
11
|
-
float: right;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.commit, .task, .pr {
|
|
15
|
-
padding: .75rem 0;
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
|
|
19
|
-
@include media(desktop) {
|
|
20
|
-
flex-direction: row;
|
|
21
|
-
align-items: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
& + & {
|
|
25
|
-
border-top: 1px solid #e5e5e5;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
// COMMIT AUTHOR
|
|
31
|
-
// -----------------------------------------------------------------------------
|
|
32
|
-
|
|
33
|
-
.commit-author {
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-shrink: 0;
|
|
36
|
-
align-items: center;
|
|
37
|
-
width: 10em;
|
|
38
|
-
|
|
39
|
-
@include media(tablet-down) {
|
|
40
|
-
margin-bottom: 1rem;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@include media(desktop) {
|
|
44
|
-
margin-right: 1rem;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.commit-author__avatar {
|
|
49
|
-
width: 40px;
|
|
50
|
-
height: 40px;
|
|
51
|
-
border-radius: $border-radius;
|
|
52
|
-
margin-right: 0.5rem;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.commit-author__name {
|
|
56
|
-
font-size: 0.8em;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.commit-author__name__real-name {
|
|
60
|
-
font-weight: 500;
|
|
61
|
-
color: #555;
|
|
62
|
-
display: block;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.commit-author__name__username {
|
|
66
|
-
color: $grey;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
// COMMIT DETAILS
|
|
71
|
-
// -----------------------------------------------------------------------------
|
|
72
|
-
|
|
73
|
-
.commit-details, .pr-details {
|
|
74
|
-
flex-grow: 1;
|
|
75
|
-
|
|
76
|
-
@include media(tablet-down) {
|
|
77
|
-
margin-bottom: 1rem;
|
|
78
|
-
order: -1;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@include truncate;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.commit-title {
|
|
85
|
-
font-size: 1em;
|
|
86
|
-
display: block;
|
|
87
|
-
|
|
88
|
-
@include media(desktop) {
|
|
89
|
-
@include truncate;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.commit-title, .pr-title {
|
|
94
|
-
a {
|
|
95
|
-
color: #333;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.pr-details .pr-number .number {
|
|
100
|
-
color: $blue;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.commit-lock {
|
|
104
|
-
display: inline-block;
|
|
105
|
-
.icon {
|
|
106
|
-
background-color: #ddd;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:hover .icon {
|
|
110
|
-
background-color: darken(#ddd, 20%);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.action-unlock-commit {
|
|
114
|
-
display: none;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.commit.locked .commit-lock {
|
|
119
|
-
.icon {
|
|
120
|
-
background-color: $bright-red;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&:hover .icon {
|
|
124
|
-
background-color: darken($bright-red, 20%);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.action-lock-commit {
|
|
128
|
-
display: none;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.action-unlock-commit {
|
|
132
|
-
display: inline-block;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.commit-meta, .pr-meta {
|
|
137
|
-
font-size: 0.8em;
|
|
138
|
-
color: $grey;
|
|
139
|
-
margin: 0;
|
|
140
|
-
|
|
141
|
-
.warning {
|
|
142
|
-
color: $orange;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.utc-timecode {
|
|
147
|
-
color: #bbb;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.code-additions {
|
|
151
|
-
color: $green;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.code-deletions {
|
|
155
|
-
color: $red;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
// COMMIT ACTIONS
|
|
160
|
-
// -----------------------------------------------------------------------------
|
|
161
|
-
|
|
162
|
-
.commit-actions {
|
|
163
|
-
flex-shrink: 0;
|
|
164
|
-
|
|
165
|
-
@include media(desktop) {
|
|
166
|
-
margin-left: 1rem;
|
|
167
|
-
min-width: 12rem;
|
|
168
|
-
|
|
169
|
-
.btn {
|
|
170
|
-
float: right;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
// STATUS
|
|
177
|
-
// -----------------------------------------------------------------------------
|
|
178
|
-
|
|
179
|
-
.status-group {
|
|
180
|
-
position: relative; // Required to position the status-items div correctly
|
|
181
|
-
.status-item.ignored {
|
|
182
|
-
opacity: .5;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.status {
|
|
187
|
-
flex-shrink: 0;
|
|
188
|
-
|
|
189
|
-
@include media(tablet-down) {
|
|
190
|
-
margin-bottom: 1rem;
|
|
191
|
-
order: -2;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@include media(desktop) {
|
|
195
|
-
margin-right: 0.75rem;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.status {
|
|
200
|
-
display: inline-block;
|
|
201
|
-
border: 2px solid #ccc;
|
|
202
|
-
border-radius: 50%;
|
|
203
|
-
width: 2.25rem;
|
|
204
|
-
height: 2.25rem;
|
|
205
|
-
|
|
206
|
-
.status__icon {
|
|
207
|
-
display: block;
|
|
208
|
-
width: 100%;
|
|
209
|
-
height: 100%;
|
|
210
|
-
background: asset-data-url("unknown.svg") center center no-repeat;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.status--pending,
|
|
215
|
-
[data-deploy-status='pending'] {
|
|
216
|
-
.status__icon {
|
|
217
|
-
background-image: asset-data-url("pending.gif");
|
|
218
|
-
background-size: 21px 5px;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.status--running,
|
|
223
|
-
[data-deploy-status='running'] {
|
|
224
|
-
border-color: $blue;
|
|
225
|
-
|
|
226
|
-
.status__icon {
|
|
227
|
-
background-image: asset-data-url("deploying.svg");
|
|
228
|
-
animation: rotate 2s linear infinite;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
.status--aborting,
|
|
234
|
-
[data-deploy-status='aborting'] {
|
|
235
|
-
border-color: $orange;
|
|
236
|
-
|
|
237
|
-
.status__icon {
|
|
238
|
-
background-image: asset-data-url("aborting.svg");
|
|
239
|
-
animation: rotate 2s linear infinite;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.status--aborted,
|
|
244
|
-
[data-deploy-status='aborted'] {
|
|
245
|
-
border-color: $orange;
|
|
246
|
-
|
|
247
|
-
.status__icon {
|
|
248
|
-
background-image: asset-data-url("aborted.svg");
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.status--flapping,
|
|
253
|
-
[data-deploy-status='flapping'] {
|
|
254
|
-
border-color: $orange;
|
|
255
|
-
|
|
256
|
-
.status__icon {
|
|
257
|
-
background-image: asset-data-url("flapping.svg");
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.status--validating,
|
|
262
|
-
[data-deploy-status='validating'] {
|
|
263
|
-
border-color: $green;
|
|
264
|
-
|
|
265
|
-
.status__icon {
|
|
266
|
-
background-image: asset-data-url("validating.svg");
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.status--faulty,
|
|
271
|
-
[data-deploy-status='faulty'] {
|
|
272
|
-
border-color: $yellow;
|
|
273
|
-
|
|
274
|
-
.status__icon {
|
|
275
|
-
background-image: asset-data-url("faulty.svg");
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.status--success,
|
|
280
|
-
[data-deploy-status='success'] {
|
|
281
|
-
border-color: $green;
|
|
282
|
-
|
|
283
|
-
.status__icon {
|
|
284
|
-
background-image: asset-data-url("success.svg");
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.status--failure,
|
|
289
|
-
.status--failed,
|
|
290
|
-
[data-deploy-status='failure'],
|
|
291
|
-
[data-deploy-status='failed'] {
|
|
292
|
-
border-color: $bright-red;
|
|
293
|
-
|
|
294
|
-
.status__icon {
|
|
295
|
-
background-image: asset-data-url("failure.svg");
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.status--error,
|
|
300
|
-
[data-deploy-status='error'] {
|
|
301
|
-
border-color: #333;
|
|
302
|
-
|
|
303
|
-
.status__icon {
|
|
304
|
-
background-image: asset-data-url("error.svg");
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.status--timedout,
|
|
309
|
-
[data-deploy-status='timedout'] {
|
|
310
|
-
border-color: #333;
|
|
311
|
-
|
|
312
|
-
.status__icon {
|
|
313
|
-
background-image: asset-data-url("timedout.svg");
|
|
314
|
-
background-position: top 35% left 50%;
|
|
315
|
-
background-size: 55%;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
// =============================================================================
|
|
321
|
-
// COMMIT SUMMARY
|
|
322
|
-
// =============================================================================
|
|
323
|
-
|
|
324
|
-
.commit-summary-list {
|
|
325
|
-
list-style-type: none;
|
|
326
|
-
margin: 1.5rem 0 0;
|
|
327
|
-
padding: 0;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.commit-summary {
|
|
331
|
-
display: flex;
|
|
332
|
-
margin-bottom: .5em;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.commit-summary__avatar {
|
|
336
|
-
margin-right: .5rem;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.commit-summary__avatar img {
|
|
340
|
-
border-radius: 4px;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.commit-summary__title {
|
|
344
|
-
flex-grow: 1;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.commit-summary__title a {
|
|
348
|
-
color: #555;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.commit-summary__sha {
|
|
352
|
-
font-size: 0.875rem;
|
|
353
|
-
color: $grey;
|
|
354
|
-
}
|