Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OEL-001: Prepare drone and runner for release. #17

Merged
merged 2 commits into from
Sep 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
pipeline:
npm-build:
group: prepare
image: node:14.17.3
image: registry.fpfis.eu/fpfis/node:14
commands:
- npm install --unsafe-perm
- NODE_ENV=production npm run production
Expand Down Expand Up @@ -93,13 +93,6 @@ pipeline:
event:
exclude: tag

debug:
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
commands:
- ./vendor/bin/drush ws --count 500
when:
status: failure

before-release:
image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci
commands:
Expand Down
12 changes: 12 additions & 0 deletions runner.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,15 @@ commands:
- { task: "process", source: "phpunit.xml.dist", destination: "phpunit.xml" }
setup:behat:
- { task: "process", source: "behat.yml.dist", destination: "behat.yml" }

release:
tasks:
- { task: "copy", from: "assets", to: "oe_whitelabel/assets" }
- task: "append"
file: "oe_whitelabel/oe_whitelabel.info.yml"
text: |

# Information added by OpenEuropa packaging script on ${release.date} at ${release.time}.
project: oe_whitelabel
version: ${release.version}
datestamp: ${release.timestamp}