Skip to content

Commit b6913c3

Browse files
authored
Add ready to install packages to each PR (#28409)
* Add packager to drone * Sign drone * Don't validate js files in build/tmp folder * Remove unneeded export commands * Sign Drone
1 parent 5559eed commit b6913c3

File tree

2 files changed

+44
-16
lines changed

2 files changed

+44
-16
lines changed

.drone.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,32 @@ steps:
244244
status:
245245
- failure
246246

247+
- name: packager
248+
image: joomlaprojects/docker-images:packager
249+
environment:
250+
FTP_USERNAME:
251+
from_secret: ftpusername
252+
FTP_PASSWORD:
253+
from_secret: ftppassword
254+
FTP_HOSTNAME: ci.joomla.org
255+
FTP_PORT: "21"
256+
FTP_DEST_DIR: /artifacts
257+
FTP_VERIFY: "false"
258+
FTP_SECURE: "true"
259+
HTTP_ROOT: "https://ci.joomla.org:444/artifacts"
260+
DRONE_PULL_REQUEST: DRONE_PULL_REQUEST
261+
DRONE_COMMIT: DRONE_COMMIT
262+
GITHUB_TOKEN:
263+
from_secret: github_token
264+
commands:
265+
- /bin/drone_build.sh
266+
volumes:
267+
- name: reference
268+
path: /reference
269+
when:
270+
branch:
271+
- 4.0-dev
272+
247273
- name: analysis4x
248274
image: rips/rips-cli:3.2.2
249275
depends_on: [ api-tests ]
@@ -308,6 +334,6 @@ services:
308334

309335
---
310336
kind: signature
311-
hmac: 7649a6f9d7d15da3d8723dd7cf2d8328edc5040fb53308e10c6f07b901f87b22
337+
hmac: f48ed8ebb03e09c20cc11438603de357c797c739962ce199cd49e929ff6886e2
312338

313339
...

.eslintignore

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
# A list of files to ignore from linting
2-
*.js
3-
!*.es6.js
4-
administrator/components/com_media/node_modules/uri-js/node_modules/punycode/punycode.es6.js
5-
media
6-
*.vue
7-
# TODO: Fix the webcomponents codestyle then also allow linting on them
8-
joomla-editor-codemirror.w-c.es6.js
9-
joomla-field-fancy-select.w-c.es6.js
10-
joomla-field-module-order.w-c.es6.js
11-
joomla-field-permissions.w-c.es6.js
12-
joomla-field-send-test-mail.w-c.es6.js
13-
joomla-field-simple-color.w-c.es6.js
14-
joomla-field-subform.w-c.es6.js
15-
# End of TODO
1+
# A list of files to ignore from linting
2+
*.js
3+
!*.es6.js
4+
administrator/components/com_media/node_modules/uri-js/node_modules/punycode/punycode.es6.js
5+
media
6+
*.vue
7+
# Don't validate temporary build files
8+
build/tmp
9+
# TODO: Fix the webcomponents codestyle then also allow linting on them
10+
joomla-editor-codemirror.w-c.es6.js
11+
joomla-field-fancy-select.w-c.es6.js
12+
joomla-field-module-order.w-c.es6.js
13+
joomla-field-permissions.w-c.es6.js
14+
joomla-field-send-test-mail.w-c.es6.js
15+
joomla-field-simple-color.w-c.es6.js
16+
joomla-field-subform.w-c.es6.js
17+
# End of TODO

0 commit comments

Comments
 (0)