Deployment job

stages:
  - 🛂

☸️:
  image:
    name: dtzar/helm-kubectl
  stage: 🛂
  script:
    - kubectl config use-context gitlabuniversity/solutions/devoxx-2023/kub-agent:solution
    - helm upgrade ${CI_COMMIT_BRANCH}-env ./helm/ --set labName=${CI_PROJECT_NAME}-${CI_COMMIT_BRANCH} --install --set pod.version=latest --create-namespace -n ${CI_PROJECT_NAME}-${CI_COMMIT_BRANCH}
  environment:
    name: ${CI_COMMIT_BRANCH}
    url : https://${CI_PROJECT_NAME}-${CI_COMMIT_BRANCH}.devfest-lille.yodamad.fr