Commit Graph

20 Commits

Author SHA1 Message Date
Andreas Jaeger 9ccd225636 dev-build: Fail on errors
Add -e so that the scripts fails in case of errors.

Change-Id: Ie740b35ee84f1682f9a9119ead8f87e27ef0343d
2017-07-26 18:41:39 +02:00
Marton Kiss 162f62c3e0 Upgrade Drupal Commons to 3.39
Add recent commons as a separate project, upgrade to version 3.39
and provide separate patches in commons.make file.

This changeset also introduce profile inheritance, so groups profile
inherit the entire commons stack. The installation profile is refactored
and duplicates were removed.

Change-Id: Idc4e4ab24680fa6e1b045350c1dc1c66cad9e5e7
2016-10-12 18:17:24 +02:00
Paul Belanger 1e208e9a28 Install bundler with gem
Make sure we have bundler installed before we start making calls to
it.  Since we have already setup the GEM_HOME folder, we can just
installed bundler first.

Change-Id: Id646348a97cc802395a485f8582a34816ced45fb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-04-11 08:55:58 -04:00
Jenkins ea408d2e49 Merge "Use '#!/usr/bin/env bash' as shebang in script files" 2015-09-01 10:26:06 +00:00
Christian Berendt bd3f4b83f5 Use '#!/usr/bin/env bash' as shebang in script files
Change-Id: I189d7c13425746db915415577a9e4a090aebf285
2015-08-29 20:34:00 +02:00
Christian Berendt bd28db4772 Install ruby-bundler during bootstrapping
Running the script scripts/dev-build.sh failed with the following erros:

scripts/dev-build.sh: line 28: bundle: command not found
scripts/dev-build.sh: line 29: bundle: command not found

Installing ruby-bundler will solve this issue.

Change-Id: I6e245915aedf3f29d48b15e062e14fa6b2f8208f
2015-08-22 10:19:40 +02:00
Christian Berendt d898cec26a Use drush version 0.10 in bootstrap script
Change-Id: Icd3f4ee954f944c38b595bdc11195c343e4e4011
2015-08-14 17:58:45 +02:00
Marton Kiss d5322a72aa Added groups module localization templates and tools
New localization tools added to help groups module translations:
- scripts/pot-extract.sh: extract pot templates from source files
- scripts/pot-lang.sh: create new language skeleton from pot files

Change-Id: I9249aade1b00555c6b2b40132bcb8e41068ac9cd
2015-01-29 13:12:23 +01:00
Marton Kiss 099741a4a8 Fix release manifest element order issue
Production releases must be insterted into first position of releases
element in the manifest xml. This bug prevented the proper execution
of drush dl tool, and failed to update the site to the latest version.

Change-Id: I1d913c3ca90e00d6f9801ca2e0039df29730603e
2014-11-02 15:30:54 +01:00
Marton Kiss c0f9364122 Disable verbose rsync in dev-build script
Turn off verbose output in dev-build script to reduce log output
of build process.

Change-Id: Ib40cdf9e698b5120afb8e8eeea9de0ccbd8c2b4a
2014-10-28 14:34:17 +01:00
Marton Kiss 61c77f78c7 Compile theme css as part of build process
Install required gems and compile css from sass source, using
bundle tool. Clean-up .bundle-gems and .sass-cache temporary
dirs.

Change-Id: I6cc43bfecc8e3f5a265d2bff9d20fc760f84f497
2014-10-28 14:14:43 +01:00
Marton Kiss 343690502a Add release-manifest tool to scripts
This tool helps to build a standard module manifest file that
holds information about production and development releases of
the groups portal distribution, separated from drupal.org module
repository. The jenkins release jobs can call this script as the
part of the release process and generate the recet manifest information.
The staging and production instances can fetch updates based on
this xml catalog.

Change-Id: I9b9be5ad4c74dca192dc966f450fa45fa54566e9
2014-10-01 11:45:35 +02:00
Marton Kiss de6621a9ce Add target-dir arg support to dev-build script
This patch provide a custom TARGET_DIR feature to dev-build.sh script.
When not specified, TARGET_DIR value defaults to publish. With this
patch dev-build /your-custom-directory format is supported so
distribution build destination directory can be different from
publish.

Change-Id: Icd561748b7909b8d114be311bee4118e0e582e20
2014-06-30 16:03:57 +02:00
Marton Kiss ba6986a688 Exclude drush from distro build
Fix build release script and exclude drush directory caused
function duplication errors on automatic deployment process.

Change-Id: Ic20aecd3d5b4276b924d079497a2b8bed4e41650
2014-06-24 21:51:09 +02:00
Marton Kiss 3dbea6ada1 Dev build script update
Fix some minor bugs that broke the build process.

Change-Id: Ie29296fbc65d7ef5e74a8832474d42b32ef8bccd
2014-02-04 14:51:44 +01:00
Marton Kiss 86a75eec58 Add dev-build.sh script
Build distribution from local git repository.

Change-Id: Idaddff40b0adf944fcd9180e1ebf1fbb8a5475e2
2014-02-04 13:55:37 +01:00
Marton Kiss 0f2ce58fbd Groups community portal gating tasks
Build dist-tarball in local directory.

Change-Id: Iaacb1fd172033978666e409406296263f071798c
2014-01-17 11:27:02 +01:00
Marton Kiss eeb24cd279 Groups community portal gating tasks
Bootstrap a new build environment and build/deploy the site as a
gating test.

Change-Id: I45efa824c3ca155b06915a2103dabed56f4e05c6
2014-01-15 21:10:32 +01:00
Marton Kiss a1a458d25f Include translations in build-process
Download commons translation files during make process, enable and
import languages during installation, set language negotiation to
URL based. Supported languages: zh-hant,zh-hans,ja,ko,vi,ru,pl,
de,fr,es,it,pt-pt,hu,ar,tr

Change-Id: I8f05a63b00f657225d3b8b84d531940dddbe8162
2013-09-15 11:33:13 +02:00
Marton Kiss 1502873142 Initial clean-up commons makefile
Remove or disable the not used features of commons, like wiki page and
qa. Inherited commons profile is dropped due several missing features
like inherited library handling and installation task execution order.

Change-Id: Iaa2abf00edb3e5d854ffc51ff6aa6c22419145da
2013-09-13 09:46:40 +02:00