Remove osbs-on-openshift on stg
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
a6fc58fa93
commit
7023422105
1 changed files with 1 additions and 6 deletions
|
@ -381,12 +381,6 @@
|
|||
}
|
||||
|
||||
tasks:
|
||||
- name: set custom build policy for koji builder in openshift for osbs
|
||||
shell: "oc adm policy add-role-to-user -n default osbs-custom-build {{ osbs_koji_stg_username }} --role-namespace=default && touch /etc/origin/koji-custom-build-policy-added"
|
||||
args:
|
||||
creates: "/etc/origin/koji-builder-policy-added"
|
||||
when: env == "staging"
|
||||
environment: "{{ osbs_environment }}"
|
||||
- name: set custom build policy for koji builder in openshift for osbs
|
||||
shell: "oc adm policy add-role-to-user -n default osbs-custom-build {{ osbs_koji_prod_username }} --role-namespace=default && touch /etc/origin/koji-custom-build-policy-added"
|
||||
args:
|
||||
|
@ -397,6 +391,7 @@
|
|||
shell: "oc adm policy add-role-to-user -n default osbs-custom-build system:serviceaccount:default:builder --role-namespace=default && touch /etc/origin/koji-builder-policy-added"
|
||||
args:
|
||||
creates: "/etc/origin/koji-builder-policy-added"
|
||||
when: env == "production"
|
||||
environment: "{{ osbs_environment }}"
|
||||
|
||||
- name: Create worker namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue