<commit_before># GitLab Serverless template

image: alpine:latest

stages:
  - build
  - test
  - deploy

.serverless:build:image:
  stage: build
  image: registry.gitlab.com/gitlab-org/gitlabktl:latest
  script: /usr/bin/gitlabktl app build

.serverless:deploy:image:
  stage: deploy
  image: gcr.io/triggermesh/tm@sha256:3cfdd470a66b741004fb02354319d79f1598c70117ce79978d2e07e192bfb336  # v0.0.11
  environment: development
  script:
    - echo "$CI_REGISTRY_IMAGE"
    - tm -n "$KUBE_NAMESPACE" --config "$KUBECONFIG" deploy service "$CI_PROJECT_NAME" --from-image "$CI_REGISTRY_IMAGE" --wait

.serverless:build:functions:
  stage: build
  environment: development
  image: registry.gitlab.com/gitlab-org/gitlabktl:latest
  script: /usr/bin/gitlabktl serverless build

.serverless:deploy:functions:
  stage: deploy
  environment: development
  image: registry.gitlab.com/gitlab-org/gitlabktl:latest
  script: /usr/bin/gitlabktl serverless deploy<commit_msg>Deploy serverless apps with `gitlabktl`<commit_after># GitLab Serverless template

image: alpine:latest

stages:
  - build
  - test
  - deploy

.serverless:build:image:
  image: registry.gitlab.com/gitlab-org/gitlabktl:latest
  stage: build
  script: /usr/bin/gitlabktl app build

.serverless:deploy:image:
  image: registry.gitlab.com/gitlab-org/gitlabktl:latest
  stage: deploy
  environment: development
  script: /usr/bin/gitlabktl app deploy

.serverless:build:functions:
  image: registry.gitlab.com/gitlab-org/gitlabktl:latest
  stage: build
  script: /usr/bin/gitlabktl serverless build

.serverless:deploy:functions:
  image: registry.gitlab.com/gitlab-org/gitlabktl:latest
  stage: deploy
  environment: development
  script: /usr/bin/gitlabktl serverless deploy
{'fraction_non_alphanumeric': 0.1033487297921478, 'fraction_numerical': 0.03002309468822171, 'mean_word_length': 4.7574750830564785, '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': '3624456', 'n_tokens_mistral': 661, 'n_tokens_neox': 625, 'n_words': 116}