repo init
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -8,7 +8,7 @@ pipeline {
|
|||||||
base64File(name: "rootca", description: "RootCA (only for 'Install Rproxy')")
|
base64File(name: "rootca", description: "RootCA (only for 'Install Rproxy')")
|
||||||
base64File(name: "rootca_key", description: "RootCA key (only for 'Install Rproxy')")
|
base64File(name: "rootca_key", description: "RootCA key (only for 'Install Rproxy')")
|
||||||
booleanParam(name: "config_add", defaultValue: true, description: "Add config")
|
booleanParam(name: "config_add", defaultValue: true, description: "Add config")
|
||||||
string(name: "rproxy_service_name", defaultValue: "", trim: true, description: "Service name (for 'Add config' job only)")
|
string(name: "rproxy_service_name", defaultValue: "", trim: true, description: "Service name, ex. jenkins (for 'Add config' job only)")
|
||||||
string(name: "rproxy_service_port", defaultValue: "", trim: true, description: "Service port (for 'Add config' job only)")
|
string(name: "rproxy_service_port", defaultValue: "", trim: true, description: "Service port (for 'Add config' job only)")
|
||||||
string(name: "rproxy_service_address", defaultValue: "", trim: true, description: "Service address (for 'Add config' job only)")
|
string(name: "rproxy_service_address", defaultValue: "", trim: true, description: "Service address (for 'Add config' job only)")
|
||||||
|
|
||||||
|
|||||||
@@ -51,6 +51,12 @@
|
|||||||
path: "{{ rproxy_dir }}/sites"
|
path: "{{ rproxy_dir }}/sites"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- name: Create repo dir
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ rproxy_dir }}/repo"
|
||||||
|
state: directory
|
||||||
|
mode: 0777
|
||||||
|
|
||||||
- name: Create certs dir
|
- name: Create certs dir
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ rproxy_dir }}/certs"
|
path: "{{ rproxy_dir }}/certs"
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ services:
|
|||||||
- {{ rproxy_dir }}/nginx.conf:/etc/nginx/nginx.conf
|
- {{ rproxy_dir }}/nginx.conf:/etc/nginx/nginx.conf
|
||||||
- {{ rproxy_dir }}/sites:/etc/nginx/sites
|
- {{ rproxy_dir }}/sites:/etc/nginx/sites
|
||||||
- {{ rproxy_dir }}/certs:/etc/nginx/certs
|
- {{ rproxy_dir }}/certs:/etc/nginx/certs
|
||||||
|
- {{ rproxy_dir }}/certs:/repo
|
||||||
ports:
|
ports:
|
||||||
- 443:443
|
- 443:443
|
||||||
- 80:80
|
- 80:80
|
||||||
|
- 9000:9000
|
||||||
Reference in New Issue
Block a user