Skip to content

Commit 0b8202d

Browse files
committed
Fix containered build with Deployer driver #4
1 parent 136d26e commit 0b8202d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/containered.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ WORKDIR /app
3939
COPY --from=deployer-builder /app/deployer/target/release/depl .
4040
{cache-strategy}
4141
ENV DEPLOYER_CONTAINERED_RUN=1
42-
CMD ["/app/depl", "--config", "{depl-config-file}", "run", "{pipeline-name}", "--current"{no-pipe}]
42+
CMD ["/app/depl", "--config", "deploy-config.yaml", "run", "{pipeline-name}", "--current"{no-pipe}]
4343
4444
"#;
4545

src/entities/containered_opts.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,8 @@ impl ContainerizedRunStrategy {
147147
match env.driver {
148148
PipelineDriver::Deployer => {
149149
format!(
150-
"ENV DEPLOYER_CONTAINERED_BUILD=1\nRUN /app/depl --config {} run {} --current --no-pipe\nENV DEPLOYER_CONTAINERED_BUILD=0",
150+
"ENV DEPLOYER_CONTAINERED_BUILD=1\nRUN /app/depl --config deploy-config.yaml run {} --current --no-pipe\nENV DEPLOYER_CONTAINERED_BUILD=0",
151151
config_filepath,
152-
env.master_pipeline,
153152
)
154153
}
155154
PipelineDriver::Shell => {

0 commit comments

Comments
 (0)