Skip to content

Commit 617b1e1

Browse files
committed
fix(ci): oci-test: wait for SUCCEEDED work-request state on terminate
Newer OCI CLI returns a work request from `instance terminate`, so --wait-for-state expects work-request states, not the instance lifecycle state TERMINATED.
1 parent 6f7531e commit 617b1e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/oci-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ jobs:
257257
oci compute instance terminate \
258258
--instance-id "${INSTANCE_OCID}" \
259259
--force \
260-
--wait-for-state TERMINATED
260+
--wait-for-state SUCCEEDED
261261
262262
- name: Send notification to Mattermost
263263
uses: mattermost/action-mattermost-notify@master

0 commit comments

Comments
 (0)