File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 If applicable, provide the version number or release tag where this
3131 issue was encountered
3232 options :
33- - v1.1 .1
33+ - v1.2 .1
3434 default : 0
3535 validations :
3636 required : false
Original file line number Diff line number Diff line change 6363 - changes
6464 uses : ./.github/workflows/reusable-test-sdk.yaml
6565 with :
66- image_repo : ghcr.io/agntcy
67- image_tag : ${{ github.sha }}
66+ dir_chart_version : 1.2.0
67+ dirctl_image_tag : v1.2.0
6868
6969 success :
7070 name : Success
Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ name: Test SDK
66on :
77 workflow_call :
88 inputs :
9- image_repo :
9+ dir_chart_version :
1010 required : true
1111 type : string
12- description : " Image repo to use ."
13- image_tag :
12+ description : " The version of the dir Helm chart to install for the tests ."
13+ dirctl_image_tag :
1414 required : true
1515 type : string
16- description : " Image tag to use."
16+ description : " The tag of the dir-ctl Docker image to use in the tests ."
1717
1818permissions :
1919 id-token : write
4747
4848 - name : Test Python SDK
4949 env :
50- CHART_VERSION : " 0.0.0-latest "
51- IMAGE_TAG : latest
50+ DIR_CHART_VERSION : ${{ inputs.dir_chart_version }}
51+ DIRCTL_IMAGE_TAG : ${{ inputs.dirctl_image_tag }}
5252 run : |
5353 task sdk:test:python
Original file line number Diff line number Diff line change 33[ agntcy/dir ] : https://github.com/agntcy/dir
44[ agntcy/dir-sdk-python ] : https://github.com/agntcy/dir-sdk-python
55
6- ## 1.1 .1 (2026-04-02)
6+ ## 1.2 .1 (2026-04-02)
77
88### Added
99
Original file line number Diff line number Diff line change 8888 internal : true
8989 run : once
9090 vars :
91- IMAGE_TAG : " {{ .IMAGE_TAG }}"
91+ DIRCTL_IMAGE_TAG : " {{ .DIRCTL_IMAGE_TAG }}"
9292 preconditions :
9393 - which docker
9494 cmds :
95- - docker image pull ghcr.io/agntcy/dir-ctl:{{.IMAGE_TAG }}
95+ - docker image pull ghcr.io/agntcy/dir-ctl:{{ .DIRCTL_IMAGE_TAG }}
Original file line number Diff line number Diff line change 7979 source /tmp/dir-htpasswd-creds.env
8080
8181 {{ .HELM_BIN }} install dir oci://ghcr.io/agntcy/dir/helm-charts/dir \
82- --version="{{ .CHART_VERSION }}" \
83- --set apiserver.image.tag="{{ .IMAGE_TAG }}" \
82+ --version="{{ .DIR_CHART_VERSION }}" \
8483 --set apiserver.image.pullSecrets="" \
8584 --set apiserver.service.type="NodePort" \
8685 --set apiserver.service.nodePort="{{.API_NODEPORT}}" \
@@ -100,7 +99,6 @@ tasks:
10099 {{ if .DIRECTORY_SERVER_RATELIMIT_PER_CLIENT_RPS }}--set apiserver.config.ratelimit.per_client_rps="{{ .DIRECTORY_SERVER_RATELIMIT_PER_CLIENT_RPS }}"{{ end }} \
101100 {{ if .DIRECTORY_SERVER_RATELIMIT_PER_CLIENT_BURST }}--set apiserver.config.ratelimit.per_client_burst="{{ .DIRECTORY_SERVER_RATELIMIT_PER_CLIENT_BURST }}"{{ end }} \
102101 {{ if .DIRECTORY_SERVER_OASF_API_VALIDATION_SCHEMA_URL }}--set apiserver.config.oasf_api_validation.schema_url="{{ .DIRECTORY_SERVER_OASF_API_VALIDATION_SCHEMA_URL }}"{{ end }} \
103- --set apiserver.reconciler.image.tag="{{ .IMAGE_TAG }}" \
104102 --set apiserver.reconciler.config.regsync.interval="10s" \
105103 --set apiserver.reconciler.config.indexer.interval="10s" \
106104 --set apiserver.reconciler.config.name.interval="5s" \
Original file line number Diff line number Diff line change 44version : " 3"
55
66vars :
7- CHART_VERSION : ' {{ .CHART_VERSION | default "0.0.0-latest" }}'
8- IMAGE_TAG : ' {{ .IMAGE_TAG | default "latest" }}'
7+ DIR_CHART_VERSION : ' {{ .DIR_CHART_VERSION | default "0.0.0-latest" }}'
8+ DIRCTL_IMAGE_TAG : ' {{ .DIRCTL_IMAGE_TAG | default "latest" }}'
99 BIN_DIR : " {{ .ROOT_DIR }}/.bin"
1010 HELM_VERSION : " 4.1.3"
1111 HELM_BIN : " {{ .BIN_DIR }}/helm-{{.HELM_VERSION}}"
Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ tasks:
6565 - defer : { task: sdk:test-env:delete }
6666 - task : sdk:test-env:create
6767 - |
68- export DIRCTL_IMAGE_TAG="{{ .IMAGE_TAG }}"
68+ export DIRCTL_IMAGE_TAG="{{ .DIRCTL_IMAGE_TAG }}"
6969 export COSIGN_PATH="$(printf "%s" "${COSIGN_PATH:-{{ .COSIGN_BIN }}}")"
7070
7171 # Run SDK tests
72- '{{.UV_BIN}}' run pytest
72+ '{{ .UV_BIN }}' run pytest
7373
7474 # Run SDK example to verify it works
7575 cd {{ .ROOT_DIR }}/examples
Original file line number Diff line number Diff line change 11[project ]
22name = " agntcy-dir"
3- version = " 1.1 .1"
3+ version = " 1.2 .1"
44description = " Directory SDK"
55readme = " README.md"
66requires-python = " >=3.10"
77dependencies = [
8- " agntcy-dir-grpc-python==1.78.0.1.20260319131759+f3a65f0dc151 " ,
9- " agntcy-dir-protocolbuffers-python==34.0.0.1.20260319131759+f3a65f0dc151 " ,
8+ " agntcy-dir-grpc-python==1.78.0.1.20260413212701+cb1fb6353ac1 " , # v1.2.0
9+ " agntcy-dir-protocolbuffers-python==34.0.0.1.20260413212701+cb1fb6353ac1 " , # v1.2.0
1010 " authlib>=1.6.9" ,
1111 " httpx>=0.28.1" ,
1212 " grpcio>=1.78.0" ,
You can’t perform that action at this time.
0 commit comments