forked from aws/aws-for-fluent-bit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildspec_windows_plugins.yml
32 lines (31 loc) · 1.05 KB
/
buildspec_windows_plugins.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: 0.2
env:
exported-variables:
- PLUGINS_BUILD_VERSION
phases:
install:
commands:
- echo "Building the AWS managed Fluent-bit output plugins"
- apt-get update -y
build:
commands:
- |
KINESIS_PLUGIN_CLONE_URL="https://github.com/aws/amazon-kinesis-streams-for-fluent-bit.git" \
KINESIS_PLUGIN_TAG=$KINESIS_PLUGIN_TAG \
KINESIS_PLUGIN_BRANCH="" \
FIREHOSE_PLUGIN_CLONE_URL="https://github.com/aws/amazon-kinesis-firehose-for-fluent-bit.git" \
FIREHOSE_PLUGIN_TAG=$FIREHOSE_PLUGIN_TAG \
FIREHOSE_PLUGIN_BRANCH="" \
CLOUDWATCH_PLUGIN_CLONE_URL="https://github.com/aws/amazon-cloudwatch-logs-for-fluent-bit.git" \
CLOUDWATCH_PLUGIN_TAG=$CLOUDWATCH_PLUGIN_TAG \
CLOUDWATCH_PLUGIN_BRANCH="" \
make windows-plugins
post_build:
commands:
- export PLUGINS_BUILD_VERSION="$AWS_FOR_FLUENT_BIT_VERSION/$BUILD_NUMBER"
artifacts:
name: $PLUGINS_BUILD_VERSION
base-directory: $CODEBUILD_SRC_DIR
files:
- 'build/windows/*'
discard-paths: yes