<commit_before>version: 2.1
orbs:
  datacamp-ecr: datacamp/ecr@1
  datacamp-deploy: datacamp/deploy@2
workflows:
  version: 2
  # BEGIN ANSIBLE MANAGED BLOCK
  build-and-deploy-eks:
    jobs:
      - queue/block_workflow:
          name: queue
          context: org-global
          time: '10'
          filters:
            branches:
              ignore:
                - /backstage\/.*/

      - datacamp-artifactory/build_and_push_image_to_artifactory: &dockerBuild
          name: docker-build
          context: org-global
          extra-docker-args: "--build-arg NPM_TOKEN=${NPM_TOKEN}"
          dockerfile: apps/main-service/Dockerfile
          docker-version: "20.10.2"
          repo: skill-assessment-api
          executor: datacamp-artifactory/buildkit
          git_tag_filter: '--match "[0-9]*.[0-9]*.[0-9]*"'
          requires:
           - queue

      - datacamp-artifactory/tag_repository:
          name: tag
          context: org-global
          git_tag_filter: '--match "[0-9]*.[0-9]*.[0-9]*"'<commit_msg>add orbs<commit_after>version: 2.1
orbs:
  datacamp-ecr: datacamp/ecr@1
  datacamp-deploy: datacamp/deploy@2
  queue: eddiewebb/queue@1.7.0
  datacamp-deploy-branch: datacamp/deploy-branch@1
  datacamp-artifactory: datacamp/artifactory@1
workflows:
  version: 2
  # BEGIN ANSIBLE MANAGED BLOCK
  build-and-deploy-eks:
    jobs:
      - queue/block_workflow:
          name: queue
          context: org-global
          time: '10'
          filters:
            branches:
              ignore:
                - /backstage\/.*/

      - datacamp-artifactory/build_and_push_image_to_artifactory: &dockerBuild
          name: docker-build
          context: org-global
          extra-docker-args: "--build-arg NPM_TOKEN=${NPM_TOKEN}"
          dockerfile: apps/main-service/Dockerfile
          docker-version: "20.10.2"
          repo: skill-assessment-api
          executor: datacamp-artifactory/buildkit
          git_tag_filter: '--match "[0-9]*.[0-9]*.[0-9]*"'
          requires:
           - queue

      - datacamp-artifactory/tag_repository:
          name: tag
          context: org-global
          git_tag_filter: '--match "[0-9]*.[0-9]*.[0-9]*"'
{'fraction_non_alphanumeric': 0.1244302643573382, 'fraction_numerical': 0.02415679124886053, 'mean_word_length': 1.9150066401062418, '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': '4904514', 'n_tokens_mistral': 789, 'n_tokens_neox': 752, 'n_words': 120}