Skip to content

Commit

Permalink
Debug changes -- to be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
dliappis committed Sep 21, 2023
1 parent 89efde4 commit 6d0dfc3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .buildkite/scripts/dra/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ echo "####################################################################"

source ./$(dirname "$0")/common.sh

# TODO remove
exit 0
#END TODO

# WORKFLOW_TYPE is a CI externally configured environment variable that could assume "snapshot" or "staging" values
case "$WORKFLOW_TYPE" in
snapshot)
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/scripts/dra/build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ echo "####################################################################"

source ./$(dirname "$0")/common.sh

# TODO remove
exit 0
#END TODO

# WORKFLOW_TYPE is a CI externally configured environment variable that could assume "snapshot" or "staging" values
case "$WORKFLOW_TYPE" in
snapshot)
Expand Down
8 changes: 4 additions & 4 deletions .buildkite/scripts/dra/generatesteps.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ def publish_dra_step(branch, workflow_type, depends_on):
diskSizeGb: 200
command: |
echo "+++ Restoring Artifacts"
buildkite-agent artifact download "build/logstash*" .
buildkite-agent artifact download "build/distributions/**/*" .
#buildkite-agent artifact download "build/logstash*" .
#buildkite-agent artifact download "build/distributions/**/*" .
echo "+++ Changing permissions for the release manager"
sudo chown -R :1000 build
#sudo chown -R :1000 build
echo "+++ Running DRA publish step"
ls -laRt build
#ls -laRt build
.buildkite/scripts/dra/publish.sh
'''

Expand Down
10 changes: 10 additions & 0 deletions .buildkite/scripts/dra/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ echo "##################### Starting $0"
echo "####################################################################"

source ./$(dirname "$0")/common.sh

# TODO remove
info "Setup docker credentials"
source ./$(dirname "$0")/docker-env-setup.sh
release_manager_login

# ensure the latest image has been pulled
docker pull docker.elastic.co/infra/release-manager:latest
# END TODO

PLAIN_STACK_VERSION=$STACK_VERSION

# This is the branch selector that needs to be passed to the release-manager
Expand Down

0 comments on commit 6d0dfc3

Please sign in to comment.