diff --git a/.circleci/real_config.yml b/.circleci/real_config.yml index 9c5a7f833527..b21e4082eaea 100644 --- a/.circleci/real_config.yml +++ b/.circleci/real_config.yml @@ -627,6 +627,8 @@ commands: DD_CIVISIBILITY_AGENTLESS_ENABLED=true DD_SITE='datadoghq.com' DD_ENV=ci DD_SERVICE='pytest-<>' \ # Remove prior test results rm -f "<>" + echo "Determined user list from master '<>:<>'" + det --master "<>:<>" user list DET_MASTER_CERT_FILE=<> DET_MASTER_CERT_NAME=<> \ IS_CIRCLECI_JOB=1 XDG_CONFIG_HOME=/tmp \ pytest --capture=tee-sys -vv \ diff --git a/tools/slurm/scripts/slurmcluster.yaml b/tools/slurm/scripts/slurmcluster.yaml index 1ce551d5f3fb..67690fb292e9 100644 --- a/tools/slurm/scripts/slurmcluster.yaml +++ b/tools/slurm/scripts/slurmcluster.yaml @@ -38,6 +38,8 @@ stages: curl -H "Authorization: Bearer $(cat /tmp/slurmcluster-token)" -X PATCH -d '{"agent_user_group": {"agent_uid": $OPT_REMOTE_UID, "agent_gid": $OPT_REMOTE_GID, "agent_user": "$OPT_REMOTE_USER", "agent_group": "$OPT_REMOTE_GROUP"}}' localhost:8080/api/v1/users/1 - sh: > curl -H "Authorization: Bearer $(cat /tmp/slurmcluster-token)" -X PATCH -d '{"agent_user_group": {"agent_uid": $OPT_REMOTE_UID, "agent_gid": $OPT_REMOTE_GID, "agent_user": "$OPT_REMOTE_USER", "agent_group": "$OPT_REMOTE_GROUP"}}' localhost:8080/api/v1/users/2 + - sh: > + echo -e "Determined user list from master '$(hostname):8080'\n" && curl -H "Authorization: Bearer $(cat /tmp/slurmcluster-token)" -X GET localhost:8080/api/v1/users cmdline: - $OPT_PROJECT_ROOT/master/build/determined-master - --config-file