Skip to content

Commit 78660f7

Browse files
authored
DLPX-96562 eliminate docker from the delphix-platform package build (#382)
DLPX-96562 eliminate docker from the delphix-platform package build PR URL: https://www.github.com/delphix/linux-pkg/pull/382
1 parent e9b4da8 commit 78660f7

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

packages/delphix-platform/config.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Copyright 2018, 2020 Delphix
3+
# Copyright 2018, 2026 Delphix
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -18,11 +18,14 @@
1818

1919
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-platform.git"
2020

21+
function prepare() {
22+
logmust cd "$WORKDIR/repo"
23+
logmust sudo make build-deps
24+
}
25+
2126
function build() {
2227
logmust cd "$WORKDIR/repo"
23-
logmust ansible-playbook bootstrap/playbook.yml
24-
logmust ./scripts/docker-run.sh make packages \
25-
VERSION="1.0.0-$PACKAGE_REVISION"
28+
logmust sudo make packages VERSION="1.0.0-$PACKAGE_REVISION"
2629
logmust sudo chown -R "$USER:" artifacts
27-
logmust mv artifacts/*deb "$WORKDIR/artifacts/"
30+
logmust sudo mv artifacts/*deb "$WORKDIR/artifacts/"
2831
}

0 commit comments

Comments
 (0)