Skip to content

Commit 006a156

Browse files
Manually repeat changes in deploy role and update deploy test after rebase
Before using the deploy role in the deploy playbook. Wait for the deploy tests to be reviewed, up and running. Every change in the deploy playbook has to be repeated manually back in the deploy role, in the meantime. Co-authored-by: Laura Barcziová <[email protected]>
1 parent 1a9e5bb commit 006a156

File tree

5 files changed

+36
-2
lines changed

5 files changed

+36
-2
lines changed

playbooks/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@
441441
when: workers_long_running > 0
442442

443443
- name: Wait for deploymentconfig rollouts to complete
444-
# timeout 10min to not wait indefinitely in case of a problem
444+
# timeout 15min to not wait indefinitely in case of a problem
445445
ansible.builtin.command: timeout 15m oc rollout status -w deploy/{{ item }}
446446
register: oc_rollout_status
447447
changed_when: false

playbooks/roles/deploy/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
- "{{ lookup('template', '{{ project_dir }}/openshift/secret-postgres.yml.j2') }}"
116116
- "{{ lookup('template', '{{ project_dir }}/openshift/secret-aws.yml.j2') }}"
117117
- "{{ lookup('template', '{{ project_dir }}/openshift/secret-splunk.yml.j2') }}"
118+
- "{{ lookup('template', '{{ project_dir }}/openshift/secret-centpkg-sig.yml.j2') }}"
118119
tags:
119120
- secrets
120121

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[centpkg-sig]
2+
lookaside = https://git.centos.org/sources
3+
lookasidehash = sha512
4+
lookaside_cgi = https://git.centos.org/sources/upload_sig.cgi
5+
# lookaside_cgi = https://git.centos.org/sources/upload.cgi
6+
distgit_namespaced = True
7+
distgit_namespaces = rpms
8+
gitbaseurl = git+ssh://[email protected]/CentOS/%(repo)s.git
9+
anongiturl = https://gitlab.com/CentOS/%(repo)s.git
10+
branchre = c\d+s?-sig-.+|master$
11+
kojiprofile = cbs
12+
build_client = cbs
13+
lookaside_namespaced = True
14+
git_excludes =
15+
i386/
16+
i686/
17+
x86_64/
18+
ppc/
19+
ppc64/
20+
ia64/
21+
mips/
22+
arm/
23+
noarch/
24+
/*.src.rpm
25+
/build*.log
26+
/.build-*.log
27+
results_*/
28+
clog
29+
30+
[centpkg-sig.distgit]
31+
apibaseurl = https://gitlab.com
32+
token = 111aaaAAA

playbooks/roles/generate_secrets/tasks/generate-configs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
- fedora.toml.j2
1414
- copr
1515
- ssh_config
16+
- centpkg-sig.conf.j2

playbooks/test_deploy_setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
check_up_to_date: false
9696
# Whether to deploy and check that pod
9797
# Let's preserve some resources
98-
with_tokman: true
98+
with_tokman: false
9999
with_beat: true
100100
with_fedmsg: true
101101
with_dashboard: true

0 commit comments

Comments
 (0)