File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545fetch :
4646 just external::fetch
4747
48+ # Test deploy on minikube instance
49+ test :
50+ bash ./ tests/ minikube_deploy
51+ minikube stop
52+
4853# Manage OCI images.
4954[group (' modules' )]
5055mod image ' tools/just/image.just'
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -euo pipefail
4+
5+ minikube start
6+
7+ helm uninstall presidio || true
8+ helm install --create-namespace presidio ./src/chart
9+ kubectl port-forward svc/presidio-deid-presidio-analyzer 8080:80 &
10+ sleep 10
11+ curl http://localhost:8080/analyze -s \
12+ --header " Content-Type: application/json" \
13+ --request POST \
14+ --data ' {"text": "numéro de téléphone de Jean est +41781231212 et son code postal est 1234. Son numéro AVS le 756.2222.2222.2c","language": "fr"}' \
15+ | jq
You can’t perform that action at this time.
0 commit comments