Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

3 changes: 0 additions & 3 deletions acceptance/bundle/apps/job_permissions/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ Add the following section to the jobs permissions:



=== After first deploy
>>> has_manage_run

=== After second deploy
>>> [CLI] bundle deploy -qq
Warning: app "my_app" references jobs "my_job" which has permissions set. To prevent permission override after deploying the app, please add the app service principal to the jobs permissions
Expand Down
4 changes: 0 additions & 4 deletions acceptance/bundle/apps/job_permissions/script
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ has_manage_run() {
| jq 'any(.access_control_list[].all_permissions[]; .permission_level == "CAN_MANAGE_RUN")'
}

title "After first deploy"
trace has_manage_run > out.after_first_deploy.txt
# This is flaky on direct, because there are (at least) two ways to complete deployment:
# sequence 1:
# job is deployed
Expand All @@ -23,8 +21,6 @@ trace has_manage_run > out.after_first_deploy.txt
# job is deployed
# app is deployed, updates job permissions
# job permissions are deployed
# (It does not appear flaky on TF, maybe there is enough delay in one of the resources)
rm -f out.after_first_deploy.direct.txt

title "After second deploy"
trace $CLI bundle deploy -qq
Expand Down
Loading