Skip to content

Commit

Permalink
Generate dependencies report
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Jul 14, 2023
1 parent 6deb4a6 commit 00deb76
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .buildkite/pipeline.elastic-agent-binary-dra.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
env:
RUN_SNAPSHOT: "true"
steps:
- group: ":beats: DRA Elastic-Agent Core Snapshot :beats:"
key: "dra-core-snapshot"
Expand Down
5 changes: 5 additions & 0 deletions .buildkite/scripts/steps/dra-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ if [ "$WORKFLOW" == "snapshot" ]; then
fi
SNAPSHOT=$SNAPSHOT mage packageAgentCore
chmod -R 777 build/distributions

echo "+++ Generate dependencies report"
./dev-tools/dependencies-report
mkdir -p build/distributions/reports
mv dependencies.csv build/distributions/reports/dependencies.csv
4 changes: 2 additions & 2 deletions .buildkite/scripts/steps/dra-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ function run_release_manager() {
echo "+++ Publishing $BUILDKITE_BRANCH ${WORKFLOW} DRA artifacts..."
dry_run=""
if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then
dry_run="--dry-run"
# dry_run="--dry-run"
# force main branch on PR's or it won't execute
# because the PR branche does not have a project folder in release-manager
# because the PR branch does not have a project folder in release-manager
BRANCH=main
fi
docker run --rm \
Expand Down

0 comments on commit 00deb76

Please sign in to comment.