Skip to content

Commit

Permalink
add path to release-manager script
Browse files Browse the repository at this point in the history
  • Loading branch information
Siarhei Harbuz committed Jul 27, 2023
1 parent a4d3454 commit b2a4ba7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .buildkite/scripts/dra_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ mkdir -p ${BASE_DIR}/reports
./dev-tools/dependencies-report --csv ${BASE_DIR}/reports/dependencies-${VERSION}.csv
cd ${BASE_DIR}/reports && shasum -a 512 dependencies-${VERSION}.csv > dependencies-${VERSION}.csv.sha512

cd ${WORKSPACE}
cd $(dirname ${WORKSPACE})
export FOLDER="${FOLDER_PATH}"
export OUTPUT_FILE="${DRA_OUTPUT}"
echo "$(pwd)"
ls -la
./.buildkite/scripts/release-manager.sh #TODO use "echo" for rollback
4 changes: 2 additions & 2 deletions .buildkite/scripts/release-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ readonly TYPE=${TYPE:-snapshot}
readonly OUTPUT_FILE=${OUTPUT_FILE:-release-manager-report.out}

# set required permissions on artifacts and directory
chmod -R a+r "$FOLDER"/*
chmod -R a+w "$FOLDER"
chmod -R a+r "${WORKSPACE}"/"$FOLDER"/*
chmod -R a+w "${WORKSPACE}"/"$FOLDER"

# ensure the latest image has been pulled
IMAGE=docker.elastic.co/infra/release-manager:latest
Expand Down

0 comments on commit b2a4ba7

Please sign in to comment.