Skip to content

Commit

Permalink
debug cert permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Sep 9, 2024
1 parent 401730a commit 18e87bf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ upload() {
exit 1
fi

docker run $DOCKER_OPTIONS --user root -e C8Y_USER="$C8Y_USER" -e "C8Y_PASSWORD=$C8Y_PASSWORD" -v "$DEVICE_CERTS:/etc/tedge/device-certs" ghcr.io/thin-edge/tedge:latest tedge cert upload
# c8y devicemanagement certificates create \
# --force \
# --name "$COMMON_NAME" \
# --file "$DEVICE_CERTS/tedge-certificate.pem" \
# --autoRegistrationEnabled \
# --status ENABLED \
# --silentStatusCodes 409 \
# --silentExit \
# | c8y devicemanagement certificates get
c8y devicemanagement certificates create \
-n \
--force \
--name "$COMMON_NAME" \
--file "$DEVICE_CERTS/tedge-certificate.pem" \
--autoRegistrationEnabled \
--status ENABLED \
--silentStatusCodes 409 \
--silentExit \
| c8y devicemanagement certificates get
}

main() {
Expand Down

1 comment on commit 18e87bf

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
6 0 1 6 100 14.364352999s

Passed Tests

Name ⏱️ Duration Suite
Get Logfile Request 2.510 s Operations
Get Configuration File 5.001 s Operations
Execute Shell Command 2.500 s Operations
Cloud Connecion is Online 0.178 s Telemetry
Service status 0.336 s Telemetry
Sends measurements 3.838 s Telemetry

Please sign in to comment.