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

Promu does not fail if expected directories are not present for crossbuild tarballs #183

Open
bwplotka opened this issue May 22, 2020 · 2 comments

Comments

@bwplotka
Copy link
Member

Version: 9583e5a6448f97c6294dca72dd1d173e28f8d4a4

Output:

make tarballs-release
>> Publishing tarballs
/go/bin/promu-9583e5a6448f97c6294dca72dd1d173e28f8d4a4 crossbuild -v tarballs
Using config file: .promu.yml
Running command: crossbuild [-v tarballs]
>> building release tarballs
 +  cp -a .build/darwin-amd64/thanos .release/thanos-0.13.0-rc.0.darwin-amd64
cp: cannot stat '.build/darwin-amd64/thanos': No such file or directory
 >   thanos-0.13.0-rc.0.darwin-amd64.tar.gz
 +  tar zcf .tarballs/thanos-0.13.0-rc.0.darwin-amd64.tar.gz -C .release thanos-0.13.0-rc.0.darwin-amd64
 +  rm -rf .release
 +  cp -a .build/freebsd-amd64/thanos .release/thanos-0.13.0-rc.0.freebsd-amd64
cp: cannot stat '.build/freebsd-amd64/thanos': No such file or directory
 >   thanos-0.13.0-rc.0.freebsd-amd64.tar.gz
 +  tar zcf .tarballs/thanos-0.13.0-rc.0.freebsd-amd64.tar.gz -C .release thanos-0.13.0-rc.0.freebsd-amd64
 +  rm -rf .release
 +  cp -a .build/linux-amd64/thanos .release/thanos-0.13.0-rc.0.linux-amd64
cp: cannot stat '.build/linux-amd64/thanos': No such file or directory
 >   thanos-0.13.0-rc.0.linux-amd64.tar.gz
 +  tar zcf .tarballs/thanos-0.13.0-rc.0.linux-amd64.tar.gz -C .release thanos-0.13.0-rc.0.linux-amd64
 +  rm -rf .release
 +  cp -a .build/linux-arm64/thanos .release/thanos-0.13.0-rc.0.linux-arm64
cp: cannot stat '.build/linux-arm64/thanos': No such file or directory
 >   thanos-0.13.0-rc.0.linux-arm64.tar.gz
 +  tar zcf .tarballs/thanos-0.13.0-rc.0.linux-arm64.tar.gz -C .release thanos-0.13.0-rc.0.linux-arm64
 +  rm -rf .release
 +  cp -a .build/windows-amd64/thanos.exe .release/thanos-0.13.0-rc.0.windows-amd64
cp: cannot stat '.build/windows-amd64/thanos.exe': No such file or directory
 >   thanos-0.13.0-rc.0.windows-amd64.tar.gz
 +  tar zcf .tarballs/thanos-0.13.0-rc.0.windows-amd64.tar.gz -C .release thanos-0.13.0-rc.0.windows-amd64
 +  rm -rf .release
/go/bin/promu-9583e5a6448f97c6294dca72dd1d173e28f8d4a4 checksum -v .tarballs
Using config file: .promu.yml
Running command: checksum [-v .tarballs]
/go/bin/promu-9583e5a6448f97c6294dca72dd1d173e28f8d4a4 release -v .tarballs
Using config file: .promu.yml
Running command: release [-v .tarballs]
 > uploaded sha256sums.txt
 > uploaded thanos-0.13.0-rc.0.darwin-amd64.tar.gz
 > uploaded thanos-0.13.0-rc.0.freebsd-amd64.tar.gz
 > uploaded thanos-0.13.0-rc.0.linux-amd64.tar.gz
 > uploaded thanos-0.13.0-rc.0.linux-arm64.tar.gz
 > uploaded thanos-0.13.0-rc.0.windows-amd64.tar.gz
@bwplotka
Copy link
Member Author

bwplotka commented May 22, 2020

This causes Thanos release to produce empty tarballs without any notification

@bwplotka
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant