Skip to content

Commit a36c92f

Browse files
authored
Add prebuilt packages for staging (#28594)
1 parent da60251 commit a36c92f

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

.drone.yml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ kind: pipeline
33
name: default
44

55
clone:
6-
depth: 42
76

87
steps:
98
- name: phpcs
@@ -71,8 +70,35 @@ volumes:
7170

7271
branches:
7372
exclude: [ l10n_* ]
73+
74+
---
75+
kind: pipeline
76+
name: package
77+
78+
steps:
79+
- name: packager
80+
image: joomlaprojects/docker-images:packager
81+
environment:
82+
FTP_USERNAME:
83+
from_secret: ftpusername
84+
FTP_PASSWORD:
85+
from_secret: ftppassword
86+
FTP_HOSTNAME: ci.joomla.org
87+
FTP_PORT: "21"
88+
FTP_DEST_DIR: /artifacts
89+
FTP_VERIFY: "false"
90+
FTP_SECURE: "true"
91+
HTTP_ROOT: "https://ci.joomla.org/artifacts"
92+
DRONE_PULL_REQUEST: DRONE_PULL_REQUEST
93+
DRONE_COMMIT: DRONE_COMMIT
94+
GITHUB_TOKEN:
95+
from_secret: github_token
96+
commands:
97+
- /bin/drone_build.sh
98+
99+
74100
---
75101
kind: signature
76-
hmac: 7d1fbc23a21067e251bb5d22a875c5db23c88520d0384f1913a73aa0c992d017
102+
hmac: f107db083a8920dafd38b6f6ec51465628aadce6c0b9d747a2dbb80113490c61
77103

78104
...

0 commit comments

Comments
 (0)