<commit_before>#!/usr/bin/env bash
set -o errexit

# This script is used for integration testing AEM environments using local
# repos, which allows the user to decide whether to use master or a feature
# branch that's being worked on for each of the repos.
# The AEM environments are created using examples user configurations.

test_id=$1
aem_version=aem63
os_type=rhel7
s3_bucket=aem-stack-builder
integration_config_file=examples/user-config/common/zzz-test-integration-local.yaml
workspace_dir=..

# Download dependencies and run lint checks
cd "${workspace_dir}/puppet-aem-resources" && make clean deps lint
cd "${workspace_dir}/puppet-aem-curator" && make clean deps lint
cd "${workspace_dir}/puppet-aem-orchestrator" && make clean deps lint
cd "${workspace_dir}/aem-aws-stack-provisioner" && make clean deps lint
cd "${workspace_dir}/aem-aws-stack-builder" && make clean deps lint
cd "${workspace_dir}/aem-stack-manager-messenger" && make clean deps lint

# Build AEM AWS Stack Provisioner and upload it to S3<commit_msg>Reorder so stack builder is processed last since it's the trigger of the test.<commit_after>#!/usr/bin/env bash
set -o errexit

# This script is used for integration testing AEM environments using local
# repos, which allows the user to decide whether to use master or a feature
# branch that's being worked on for each of the repos.
# The AEM environments are created using examples user configurations.

test_id=$1
aem_version=aem63
os_type=rhel7
s3_bucket=aem-stack-builder
integration_config_file=examples/user-config/common/zzz-test-integration-local.yaml
workspace_dir=..

# Download dependencies and run lint checks
cd "${workspace_dir}/puppet-aem-resources" && make clean deps lint
cd "${workspace_dir}/puppet-aem-curator" && make clean deps lint
cd "${workspace_dir}/puppet-aem-orchestrator" && make clean deps lint
cd "${workspace_dir}/aem-aws-stack-provisioner" && make clean deps lint
cd "${workspace_dir}/aem-stack-manager-messenger" && make clean deps lint
cd "${workspace_dir}/aem-aws-stack-builder" && make clean deps lint

# Build AEM AWS Stack Provisioner and upload it to S3
{'fraction_non_alphanumeric': 0.09618104667609619, 'fraction_numerical': 0.005657708628005658, 'mean_word_length': 5.29673590504451, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1997180', 'n_tokens_mistral': 689, 'n_tokens_neox': 671, 'n_words': 226}