<commit_before>steps:
  # Build and push the image to the registry only if the image has not been
  # built yet.
  - id: build-and-push
    name: gcr.io/$PROJECT_ID/docker-reuse
    args: [
        "-f",
        "deployment/Dockerfile",
        "-p",
        "IMAGE_PLACEHOLDER",
        ".",
        "gcr.io/$PROJECT_ID/hello-world",
        "deployment/deploy.sh", # the file to update
        "GREETING=Hello Earthlings!", # build-arg value is provided
        "PORT", # build-arg value is taken from the environment
      ]
    env:
      - "PORT=8080"
    timeout: 900s

  # Dump the contents of deployment.yaml.<commit_msg>Update comment in docker-reuse hello-world example<commit_after>steps:
  # Build and push the image to the registry only if the image has not been
  # built yet.
  - id: build-and-push
    name: gcr.io/$PROJECT_ID/docker-reuse
    args: [
        "-f",
        "deployment/Dockerfile",
        "-p",
        "IMAGE_PLACEHOLDER",
        ".",
        "gcr.io/$PROJECT_ID/hello-world",
        "deployment/deploy.sh", # the file to update
        "GREETING=Hello Earthlings!", # build-arg value is provided
        "PORT", # build-arg value is taken from the environment
      ]
    env:
      - "PORT=8080"
    timeout: 900s

  # The image is now ready to be deployed. The script below prints a simulated
  # Kubernetes Deployment resource.
{'fraction_non_alphanumeric': 0.11038011695906433, 'fraction_numerical': 0.01023391812865497, 'mean_word_length': 2.2673031026252985, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2760768', 'n_tokens_mistral': 450, 'n_tokens_neox': 425, 'n_words': 128}