diff options
author | Marc Mettke | 2017-08-24 08:48:00 +0200 |
---|---|---|
committer | Marc Mettke | 2017-08-24 08:48:00 +0200 |
commit | 213451ffb47aed0d56b0bcc39580787e8126a655 (patch) | |
tree | 9d6c7278f757a13cdb75d57f80f22c695a910dfb /lxc_update.patch | |
parent | 67f8366aa058b99e1fe355cc82bbcc7ddd50e7e9 (diff) | |
download | aur-213451ffb47aed0d56b0bcc39580787e8126a655.tar.gz |
[gitlab-runner-custom-executors] 9.5.0-1
Diffstat (limited to 'lxc_update.patch')
-rw-r--r-- | lxc_update.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/lxc_update.patch b/lxc_update.patch new file mode 100644 index 000000000000..afcbc45aedd5 --- /dev/null +++ b/lxc_update.patch @@ -0,0 +1,46 @@ +From c76d327a063514935696b7db321e42854cd55d08 Mon Sep 17 00:00:00 2001 +From: Xavier Leune <xleune@ccmbenchmark.com> +Date: Mon, 24 Jul 2017 14:44:26 +0200 +Subject: [PATCH] Update to new struct + +--- + executors/lxc/executor_lxc.go | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/executors/lxc/executor_lxc.go b/executors/lxc/executor_lxc.go +index f043efb..73af6b6 100644 +--- a/executors/lxc/executor_lxc.go ++++ b/executors/lxc/executor_lxc.go +@@ -13,8 +13,8 @@ type executor struct { + command lxc.Client + } + +-func (e *executor) Prepare(globalConfig *common.Config, config *common.RunnerConfig, build *common.Build) error { +- err := e.AbstractExecutor.Prepare(globalConfig, config, build) ++func (e *executor) Prepare(options common.ExecutorPrepareOptions) error { ++ err := e.AbstractExecutor.Prepare(options) + if err != nil { + return err + } +@@ -33,8 +33,8 @@ func (e *executor) Prepare(globalConfig *common.Config, config *common.RunnerCon + // Create LXC command + e.command = lxc.Client{ + Config: *e.Config.LXC, +- Stdout: e.BuildTrace, +- Stderr: e.BuildTrace, ++ Stdout: e.Trace, ++ Stderr: e.Trace, + } + + e.Debugln("Connecting to LXC server...") +@@ -50,7 +50,6 @@ func (e *executor) Run(cmd common.ExecutorCommand) error { + Environment: e.BuildShell.Environment, + Command: e.BuildShell.GetCommandWithArguments(), + Stdin: cmd.Script, +- Abort: cmd.Abort, + }) + return err + } +-- +libgit2 0.26.0 + |