]> git.corax.cc Git - foundry/commit
include/context: Use cp to add files and logs to a context
authorMatthias Kruk <m@m10k.eu>
Wed, 1 Dec 2021 08:17:15 +0000 (17:17 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 1 Dec 2021 08:17:15 +0000 (17:17 +0900)
commita078dd84efa6bff586ab978589779b6d6bc8677b
treecc0ac2886966238e2056a2de960b6b0b8f56ba7d
parenta5b14fee934ca162ada88804b4c9ab70d9bf1dc2
include/context: Use cp to add files and logs to a context

Files and logs are moved when they are added to a context. However,
this will fail if there are multiple processes trying to move
artifacts from one context to another.
This commit modifies the context module to copy files and logs
instead of moving them.
include/context.sh