<commit_before>####################################################################################
## NOT FOR UPSTREAM PROPOSAL; INTENDED FOR CI OF AZURE EXAMPLES IN THIS REPO ONLY ##
####################################################################################

sudo: required

services:
  - docker

language: generic


# on branches: ignore multiple commits that will queue build jobs, just run latest commit
git:
  depth: 1

# establish environment variables
env:
  - TEST_DIR=examples/azure-vm-simple-linux-managed-disk
  - TEST_DIR=examples/azure-vm-from-user-image

branches:
  only:
    - master
    - /^(?i:topic)-.*$/

# install terraform
before_deploy:
  - export KEY=$(cat /dev/urandom | tr -cd 'a-z' | head -c 12)
  - export PASSWORD=$KEY$(cat /dev/urandom | tr -cd 'A-Z' | head -c 2)$(cat /dev/urandom | tr -cd '0-9' | head -c 2)
  - export EXISTING_IMAGE_URI=https://permanentstor.blob.core.windows.net/permanent-vhds/permanent-osdisk1.vhd
  - export EXISTING_STORAGE_ACCOUNT_NAME=permanentstor
  - export EXISTING_RESOURCE_GROUP=permanent

# terraform deploy + script<commit_msg>on this branch, only build test_dir; master will aggregate all the examples<commit_after>####################################################################################
## NOT FOR UPSTREAM PROPOSAL; INTENDED FOR CI OF AZURE EXAMPLES IN THIS REPO ONLY ##
####################################################################################

sudo: required

services:
  - docker

language: generic


# on branches: ignore multiple commits that will queue build jobs, just run latest commit
git:
  depth: 1

# establish environment variables
env:
  - TEST_DIR=examples/azure-vm-from-user-image

branches:
  only:
    - master
    - /^(?i:topic)-.*$/

# install terraform
before_deploy:
  - export KEY=$(cat /dev/urandom | tr -cd 'a-z' | head -c 12)
  - export PASSWORD=$KEY$(cat /dev/urandom | tr -cd 'A-Z' | head -c 2)$(cat /dev/urandom | tr -cd '0-9' | head -c 2)
  - export EXISTING_IMAGE_URI=https://permanentstor.blob.core.windows.net/permanent-vhds/permanent-osdisk1.vhd
  - export EXISTING_STORAGE_ACCOUNT_NAME=permanentstor
  - export EXISTING_RESOURCE_GROUP=permanent

# terraform deploy + script
{'fraction_non_alphanumeric': 0.2507922136713445, 'fraction_numerical': 0.007243096423721141, 'mean_word_length': 4.623409669211196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3767366', 'n_tokens_mistral': 725, 'n_tokens_neox': 687, 'n_words': 179}