summaryrefslogtreecommitdiffstats
path: root/docker_files/init.pl
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-25 21:19:54 +0200
committerGitHub <noreply@github.com>2017-07-25 21:19:54 +0200
commitea1d22b3f6151d7316ef73c4b4f08a4c8b591c72 (patch)
tree3eb14bab0b3a6389dc69cdbf0160b12a3aed287a /docker_files/init.pl
parenta01545cbec992560a5bfe402cf395aabb97d5cfd (diff)
downloadbugzilla-ea1d22b3f6151d7316ef73c4b4f08a4c8b591c72.tar.gz
bugzilla-ea1d22b3f6151d7316ef73c4b4f08a4c8b591c72.tar.xz
Bug 1380531 - Write initial CircleCI configuration for BMO
This is the first (working) iteration of a configuration that allows CircleCI to build 'bmo' docker images that are runnable. Some other changes were required for this: 1. The base image used in Dockerfile was changed from centos:6.7 to mozillabteam/bmo-base:slim. This is a new version of (github) mozilla-bteam/docker-bmo-base which is much smaller, and includes all the system RPMs and other bits that our bmo Dockerfile expects. 2. init.pl mistakenly had '--no-assets' which is not currently a checksetup.pl option. 3. 901-secure-mail-loop.t (which checks for an infinite loop) had to have its timeout increased because CircleCI sometimes is quite slow. 4. version.txt // __version__ now includes build information from CircleCI environmental variables
Diffstat (limited to 'docker_files/init.pl')
-rwxr-xr-xdocker_files/init.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker_files/init.pl b/docker_files/init.pl
index d4f75f6f1..5518fd57b 100755
--- a/docker_files/init.pl
+++ b/docker_files/init.pl
@@ -31,7 +31,8 @@ foreach my $key (keys %ENV) {
}
write_localconfig(\%localconfig);
-system("perl", "checksetup.pl", "--no-templates", "--no-permissions", '--no-assets');
+sleep(10);
+system('perl', 'checksetup.pl', '--no-templates', '--no-permissions');
my $cmd = shift @ARGV or die "usage: init.pl CMD";
my $method = "run_$cmd";