Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions packages/delphix-platform/config.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Copyright 2018, 2020 Delphix
# Copyright 2018, 2026 Delphix
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -18,11 +18,14 @@

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

function prepare() {
logmust cd "$WORKDIR/repo"
logmust sudo make build-deps
}

function build() {
logmust cd "$WORKDIR/repo"
logmust ansible-playbook bootstrap/playbook.yml
logmust ./scripts/docker-run.sh make packages \
VERSION="1.0.0-$PACKAGE_REVISION"
logmust sudo make packages VERSION="1.0.0-$PACKAGE_REVISION"
logmust sudo chown -R "$USER:" artifacts
logmust mv artifacts/*deb "$WORKDIR/artifacts/"
logmust sudo mv artifacts/*deb "$WORKDIR/artifacts/"
}