Skip to content

Commit

Permalink
Merge pull request #843 from input-output-hk/KtorZ/fix-nightlies
Browse files Browse the repository at this point in the history
Attempt to fix issues with nightly builds
  • Loading branch information
KtorZ authored Oct 16, 2019
2 parents 66fa8a5 + 18c0513 commit 6966d10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .buildkite/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ steps:
- label: 'Restore benchmark - testnet'
command: "./.buildkite/bench-restore.sh"
env:
HOME: "/cache/cardano-wallet"
HOME: "/cache/cardano-wallet.home"
NETWORK: testnet
timeout_in_minutes: 60
agents:
Expand All @@ -18,7 +18,7 @@ steps:
- label: 'Restore benchmark - mainnet'
command: "./.buildkite/bench-restore.sh"
env:
HOME: "/cache/cardano-wallet"
HOME: "/cache/cardano-wallet.home"
NETWORK: mainnet
timeout_in_minutes: 120
agents:
Expand All @@ -30,20 +30,23 @@ steps:
agents:
system: x86_64-linux

- block: 'Delete CI Caches'

- label: 'Clean up CI cache'
command:
- "nix-build .buildkite/default.nix -o sr"
- "./sr/bin/rebuild cleanup-cache --build-dir=$BUILD_DIR --cache-dir=$CACHE_DIR"
agents:
system: x86_64-linux

- block: 'Delete CI Caches'
- label: 'Purge CI cache'
command:
- "nix-build .buildkite/default.nix -o sr"
- "./sr/bin/rebuild purge-cache --build-dir=$BUILD_DIR --cache-dir=$CACHE_DIR"
agents:
system: x86_64-linux

- wait

- label: "Rebuild master branch"
trigger: "cardano-wallet"
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ AnyAddressState
anyAddressStateCheckpointSlot W.SlotId sql=slot
anyAddressStateProportion Double sql=proportion

UniqueAnyAddressState anyAddressStateWalletId anyAddressStateCheckpointSlot
UniqueAnyAddressState anyAddressStateWalletId anyAddressStateCheckpointSlot ! ON DELETE CASCADE
deriving Show Generic
|]

0 comments on commit 6966d10

Please sign in to comment.