5-node: oss
Building offline packages for 5 major OS distro simultaneously.
Categories:
The oss
template is a local build template used by Pigsty to build offline packages in parallel.
Overview
- Conf Name:
oss
- Node Count: 5-node,
pigsty/vagrant/spec/oss.rb
- Description: Building offline packages for 5 major OS distro simultaneously.
- Content:
pigsty/conf/build/oss.yml
- OS Distro:
el8
,el9
,d12
,u22
,u24
- OS Arch:
x86_64
- Related: ext
Usage: replace the pigsty.yml
config with it:
cp conf/build/oss.yml pigsty.yml
IP address of this template is hard-coded
Content
Source: pigsty/conf/oss.yml
all:
vars:
version: v3.2.0
admin_ip: 10.10.10.9
region: default
etcd_clean: true
proxy_env:
no_proxy: "localhost,127.0.0.1,10.0.0.0/8,192.168.0.0/16,*.pigsty,*.aliyun.com,mirrors.*,*.myqcloud.com,*.tsinghua.edu.cn,*.pigsty.cc"
# building spec
pg_version: 17
cache_pkg_dir: 'dist/${version}/'
repo_modules: infra,node,pgsql,docker #kube,mssql,ivory
repo_packages: [ node-bootstrap, infra-package, infra-addons, node-package1, node-package2, pgsql-utility, docker ]
repo_extra_packages: [ pg17-core ,pg17-time ,pg17-gis ,pg17-rag ,pg17-fts ,pg17-olap ,pg17-feat ,pg17-lang ,pg17-type ,pg17-func ,pg17-admin ,pg17-stat ,pg17-sec ,pg17-fdw ,pg17-sim ,pg17-etl ,citus ]
pg_extensions: [ pg17-time ,pg17-gis ,pg17-rag ,pg17-fts ,pg17-feat ,pg17-lang ,pg17-type ,pg17-func ,pg17-admin ,pg17-stat ,pg17-sec ,pg17-fdw ,pg17-sim ,pg17-etl ]
children:
infra:
hosts:
10.10.10.9: { infra_seq: 2, admin_ip: 10.10.10.9 ,ansible_host: el9 }
10.10.10.12: { infra_seq: 3, admin_ip: 10.10.10.12 ,ansible_host: d12 }
10.10.10.22: { infra_seq: 4, admin_ip: 10.10.10.22 ,ansible_host: u22 }
vars: { node_conf: oltp }
etcd: { hosts: { 10.10.10.9: { etcd_seq: 1 }}, vars: { etcd_cluster: etcd } }
el9:
hosts: { 10.10.10.9: { pg_seq: 1, pg_role: primary } }
vars: { pg_cluster: pg-el9 }
d12:
hosts: { 10.10.10.12: { pg_seq: 1, pg_role: primary } }
vars: { pg_cluster: pg-d12 }
u22:
hosts: { 10.10.10.22: { pg_seq: 1, pg_role: primary } }
vars: { pg_cluster: pg-u22 }
Caveat
This building config aims to building offline packages on local network, and it is not suitable for building packages on the public internet.
The http://10.10.10.1 repo can be replaced with https://repo.pigsty.io
to complete the building.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.