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