Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark type exec #200

Merged
merged 7 commits into from
Aug 12, 2019
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
27 changes: 20 additions & 7 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ steps:
- export DOCKER_REPO=none
- export LANG=en_US.UTF-8
- export SSTATE_CACHE_DIR=/scratch/sstate-cache
- echo "build number $DRONE_BUILD_NUMBER"
- echo "Started build# $DRONE_BUILD_NUMBER"
- echo "sstate cache dir = $SSTATE_CACHE_DIR"
- echo "building $${DRONE_GIT_HTTP_URL}, branch $${DRONE_REPO_BRANCH}"
- echo "building $DRONE_GIT_HTTP_URL, branch $DRONE_SOURCE_BRANCH"
- git submodule update --recursive --init
- echo export DOCKER_REPO=none > local.sh
- echo export LANG=en_US.UTF-8 >> local.sh
Expand All @@ -40,18 +40,31 @@ steps:
- /bin/bash -c ". ./qemux86-64-envsetup.sh && ./sources/openembedded-core/scripts/sstate-cache-management.sh -d -y"
---
kind: pipeline
name: clean workspace
type: exec
name: cleanup

platform:
os: linux
arch: arm64

clone:
disable: true

steps:
- name: cleanup
trigger:
status:
trigger:
branch:
- master
- feature-drone-exec-runner
event:
- push
- pull_request
status:
- success
- failure

steps:
- name: clean
commands:
- echo "Deleting tmpdir for build# $DRONE_BUILD_NUMBER"
- rm -rf /scratch/tmp-$DRONE_BUILD_NUMBER

depends_on:
Expand Down