no, don't create /run/... . it must be created at runtime, through the init script
This commit is contained in:
parent
af70c41a18
commit
5ade9026b9
2 changed files with 3 additions and 5 deletions
|
@ -2,4 +2,4 @@ AUX gitlab-ci-runner-5.0.0-fix-gemfile.patch 1099 SHA256 80dddabf6c0abf0096a9ba5
|
|||
AUX gitlab-ci-runner-ORIGINAL.init 3604 SHA256 059b579cfa740ead757f0e8befd7de5b13ecbae94264a70710d23a2b5d9c59f9 SHA512 dca4aa532e21aee668807d47456537538a2b8c200b3431633ab274d3f7f1e2536686442dfe23aaeb5b0f102dc3ec649727e1064130ccffea6343b711b7dbc3a8 WHIRLPOOL 328e8924ee5d78353a1fc2ef11978c43ddab596fb7256ad0e073e48a191ac2f0f9abdcf97573c1c3b46a6c80a2a2634d9334964fb1e06519856f10d006ea34a6
|
||||
AUX gitlab-ci-runner.init 1555 SHA256 a6cb0dae47109fac0758977f43bf89925337cd05f4e0313d9d5c1e1fa8ea542e SHA512 4e7b91d20e35b45a91bdb126eb43f48d03a410d9bb7dbb9b3f635a5bc96694fb3e98c73f7b7279871b0e74427dd47f448e4eae21197b24d3e8a02805cfcf3746 WHIRLPOOL 1fe9a70d2f0c2113a476a9339ceb8ac0255b7c615cb4a94ec3d0d64d186aa7102da8788b2c1935c49c9d27b02de72950460f3029b678960205fb8074fe3ca807
|
||||
DIST gitlab-ci-runner-5.0.0.tar.gz 11846 SHA256 7d7f97894ba5ffeb4f06aa8a62d1ec17c2a1cbf84efd20418d74ccfc0f18c1e5 SHA512 cee02d144f37840b215a9cf706a3ca8239fbd2f33561b783b1abfd9ebdfd2eb323ecb57b8545d08f17c50a24e237053c505257279940cef2dce60f160364875f WHIRLPOOL d79a53553221715d3a34a18bce88af5fdf02e162afb1c0ca7212707f2672e0e30f584513ac9a1b7a6b9c46b3695762fd04e2819903b05504b5f482e0047dc337
|
||||
EBUILD gitlab-ci-runner-5.0.0.ebuild 6543 SHA256 ba4e1a949725530cf476bf8812c7890aa7bc50c241a4cc291e290a79f49396dd SHA512 de236ae0d9df27eca8f48029cf865fcd01626f521bddc09cf6dca6b8355c890bb80e2636ce0dc11fe2b5804faac304419bd6c4de6f895b1bcb7af4ca1cf6e633 WHIRLPOOL a8049fe42a5c3e46d8ec6492e76a17c7ce658666295803777bed25f5d7c40eaeefc8ffe2c8bebfd0340c35e82222fbbcf90d546120dd280e47d1749d50334777
|
||||
EBUILD gitlab-ci-runner-5.0.0.ebuild 6478 SHA256 fc9b8c84dbed787587eaaa637239c8617ee1c1b512319aacdd34526fbe945600 SHA512 f21ecb04db92457e42dbba10d2115b5dc39fe48777445590ed2d07fb4f9ede8ceb80738c4c81f5ba49471ed5ff9f7dba76f37dbb99150cb508e8dd4e68a0edf6 WHIRLPOOL 9ee6fd1bc2ee9765be9839e4eae16e7ce84410e68192dc7061f40d1df47353e96dabf895146d75e6fa000ab97d33d575df36170e7e4956fd268c810ec5731632
|
||||
|
|
|
@ -55,7 +55,6 @@ MY_USER="gitlab_ci_runner"
|
|||
DEST_DIR="/opt/${MY_NAME}"
|
||||
LOGS_DIR="/var/log/${MY_NAME}"
|
||||
TEMP_DIR="/var/tmp/${MY_NAME}"
|
||||
RUN_DIR="/run/${MY_NAME}"
|
||||
|
||||
# When updating ebuild to newer version, check list of the queues in
|
||||
# https://gitlab.com/gitlab-org/gitlab-ci/blob/v${PV}/script/background_jobs
|
||||
|
@ -75,11 +74,10 @@ all_ruby_install() {
|
|||
local dest=${DEST_DIR}
|
||||
local logs=${LOGS_DIR}
|
||||
local temp=${TEMP_DIR}
|
||||
local runs=${RUN_DIR}
|
||||
|
||||
# prepare directories
|
||||
diropts -m750
|
||||
dodir ${logs} ${temp} ${runs}
|
||||
dodir ${logs} ${temp}
|
||||
|
||||
diropts -m755
|
||||
dodir ${dest}
|
||||
|
@ -120,7 +118,7 @@ all_ruby_install() {
|
|||
rm -Rf vendor/bundle/ruby/*/cache
|
||||
|
||||
# fix permissions
|
||||
fowners -R ${MY_USER}:${MY_USER} ${dest} ${temp} ${logs} ${runs}
|
||||
fowners -R ${MY_USER}:${MY_USER} ${dest} ${temp} ${logs}
|
||||
|
||||
## RC script ##
|
||||
|
||||
|
|
Loading…
Reference in a new issue