Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
typo3
CI
testing-infrastructure
Commits
dce97694
Commit
dce97694
authored
May 05, 2018
by
Christian Kuhn
Browse files
[TASK] Major 2.0 tagged update to ubuntu 18.04 instead of ubuntu 16.04 base
parent
f54c77ce
Changes
64
Hide whitespace changes
Inline
Side-by-side
php72/nodejs.sh
View file @
dce97694
...
...
@@ -4,7 +4,7 @@ source /pd_build/buildconfig
set
-x
# Install Node.js and some packages to successfully compile stuff
minimal_apt_get_install nodejs make g++
minimal_apt_get_install
npm
nodejs make g++
# And update npm afterwards
npm
install
npm
-g
...
...
php72/php.sh
View file @
dce97694
...
...
@@ -5,8 +5,6 @@ set -x
minimal_apt_get_install
\
make
\
php-apcu
\
php-apcu-bc
\
php7.2
\
php7.2-bcmath
\
php7.2-bz2
\
...
...
php72/redis-server.sh
View file @
dce97694
...
...
@@ -10,3 +10,4 @@ minimal_apt_get_install \
cp
-a
/pd_build/runit/redis-server /etc/service/redis-server
sed
-i
's/daemonize yes/daemonize no/'
/etc/redis/redis.conf
sed
-i
's/bind 127.0.0.1 ::1/bind 127.0.0.1/'
/etc/redis/redis.conf
php72/runit/postgres/run
View file @
dce97694
...
...
@@ -2,13 +2,13 @@
rm
-rf
/var/lib/postgresql/
*
chmod
700 /var/lib/postgresql/
chown
postgres:postgres /var/lib/postgresql/
su postgres
-c
"/usr/lib/postgresql/
9.5
/bin/initdb --pgdata=/var/lib/postgresql --encoding=UTF8 --no-locale"
su postgres
-c
"/usr/lib/postgresql/
10
/bin/initdb --pgdata=/var/lib/postgresql --encoding=UTF8 --no-locale"
echo
"CREATE USER bamboo;"
>
./init.sql
echo
"CREATE USER root;"
>>
./init.sql
echo
"ALTER USER bamboo SUPERUSER;"
>>
./init.sql
echo
"ALTER USER root SUPERUSER;"
>>
./init.sql
su postgres
-c
'/usr/lib/postgresql/
9.5
/bin/postgres --single -D /var/lib/postgresql < ./init.sql'
su postgres
-c
'/usr/lib/postgresql/
10
/bin/postgres --single -D /var/lib/postgresql < ./init.sql'
rm
./init.sql
# more opts to check
...
...
@@ -16,4 +16,4 @@ rm ./init.sql
# --wal-buffers=32kB --checkpoint-segments=64 --seq-page-cost=0.01 --random-page-cost=0.01 --effective-cache-size=64kB
exec
2>&1
exec
chpst
-u
postgres /usr/lib/postgresql/
9.5
/bin/postgres
-D
/var/lib/postgresql
exec
chpst
-u
postgres /usr/lib/postgresql/
10
/bin/postgres
-D
/var/lib/postgresql
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment