forked from fluent/fluent-bit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: windows release artefacts (fluent#5270)
* workflows: fix wildcard error Signed-off-by: Patrick Stephens <[email protected]> * workflows: remove region Signed-off-by: Patrick Stephens <[email protected]> * packaging: add test and Windows scripts Signed-off-by: Patrick Stephens <[email protected]> * workflows: add Windows container build Signed-off-by: Patrick Stephens <[email protected]> * workflows: switch path separator Signed-off-by: Patrick Stephens <[email protected]> * workflows: windows CI Signed-off-by: Patrick Stephens <[email protected]> * workflows: remove --delete Signed-off-by: Patrick Stephens <[email protected]> * workflows: fix schema upload Signed-off-by: Patrick Stephens <[email protected]> * workflows: minor tweak Signed-off-by: Patrick Stephens <[email protected]> * workflows: REVERT - test this branch Signed-off-by: Patrick Stephens <[email protected]> * workflows: direct container build rather than action Signed-off-by: Patrick Stephens <[email protected]> * workflows: fix Windows tags Signed-off-by: Patrick Stephens <[email protected]> * workflows: fix Windows multi-line shell Signed-off-by: Patrick Stephens <[email protected]> * workflows: remove buildx support on Windows Signed-off-by: Patrick Stephens <[email protected]> * workflows: reverted branch for testing Signed-off-by: Patrick Stephens <[email protected]> * workflows: fix linkage for MacOS Signed-off-by: Patrick Stephens <[email protected]> * workflows: remove overwriting Windows latest version Signed-off-by: Patrick Stephens <[email protected]> Signed-off-by: Manal Geries <[email protected]>
- Loading branch information
1 parent
4536475
commit b57c062
Showing
7 changed files
with
109 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ if [ -z "$1" ]; then | |
exit 1 | ||
fi | ||
VERSION="$1" | ||
MAJOR_VERSION=${MAJOR_VERSION:-VERSION##\.*} | ||
|
||
if [[ ! -d "$SOURCE_DIR" ]]; then | ||
echo "Missing source directory: $SOURCE_DIR" | ||
|
@@ -114,4 +115,7 @@ if ! aptly -config="$APTLY_CONFIG" publish switch -gpg-key="[email protected] | |
fi | ||
|
||
# Sign YUM repo meta-data | ||
find "/var/www/apt.fluentbit.io" -name repomd.xml -exec gpg --detach-sign --armor --yes -u "[email protected]" {} \; | ||
find "/var/www/apt.fluentbit.io" -name repomd.xml -exec gpg --detach-sign --armor --yes -u "[email protected]" {} \; | ||
|
||
# Windows | ||
cp -v "$SOURCE_DIR/windows/*$VERSION*" /var/www/releases.fluentbit.io/releases/"$MAJOR_VERSION"/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -eux | ||
# Verify package install for a latest release version | ||
docker run --rm -it ubuntu:20.04 sh -c "apt-get update && apt-get install -y sudo gpg curl;curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh" | ||
docker run --rm -it ubuntu:18.04 sh -c "apt-get update && apt-get install -y sudo gpg curl;curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh" | ||
docker run --rm -it debian:10 sh -c "apt-get update && apt-get install -y sudo gpg curl;curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh" | ||
docker run --rm -it debian:11 sh -c "apt-get update && apt-get install -y sudo gpg curl;curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh" | ||
docker run --rm -it centos:7 sh -c "yum install -y curl sudo;curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh" | ||
docker run --rm -it rockylinux:8 sh -c "yum install -y curl sudo;curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh" | ||
docker run --rm -it amazonlinux:2 sh -c "yum install -y curl sudo;curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
SOURCE_DIR=${SOURCE_DIR:?} | ||
|
||
pushd "$SOURCE_DIR" | ||
for i in *.exe | ||
do | ||
echo "$i" | ||
sha256sum "$i" > "$i".sha256 | ||
done | ||
|
||
for i in *.zip | ||
do | ||
echo "$i" | ||
sha256sum "$i" > "$i".sha256 | ||
done | ||
popd |