Skip to content

Commit

Permalink
use the latest repo.pigsty.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonng committed Oct 12, 2023
1 parent 90d863b commit b5947ee
Show file tree
Hide file tree
Showing 23 changed files with 172 additions and 143 deletions.
4 changes: 2 additions & 2 deletions docs/PARAM.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ repo_home: /www # repo home dir, `/www` by default
repo_name: pigsty # repo name, pigsty by default
repo_endpoint: http://${admin_ip}:80 # access point to this repo by domain or ip:port
repo_remove: true # remove existing upstream repo
repo_modules: node,pgsql,infra # which repo modules are installed in repo_upstream
repo_modules: infra,node,pgsql,redis,minio # which repo modules are installed in repo_upstream
repo_upstream: # where to download #
- { name: base ,description: 'EL 7 Base' ,module: node ,releases: [7 ] ,baseurl: { default: 'http://mirror.centos.org/centos/$releasever/os/$basearch/' ,china: 'https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os/$basearch/' ,europe: 'https://mirrors.xtom.de/centos/$releasever/os/$basearch/' }}
- { name: updates ,description: 'EL 7 Updates' ,module: node ,releases: [7 ] ,baseurl: { default: 'http://mirror.centos.org/centos/$releasever/updates/$basearch/' ,china: 'https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/updates/$basearch/' ,europe: 'https://mirrors.xtom.de/centos/$releasever/updates/$basearch/' }}
Expand Down Expand Up @@ -649,7 +649,7 @@ If you want to keep existing upstream repo, set this value to `false`.

name: `repo_modules`, type: `string`, level: `G/A`

which repo modules are installed in repo_upstream, default value: `node,pgsql,pgsql`
which repo modules are installed in repo_upstream, default value: `infra,node,pgsql,redis,minio`

This is a comma separated value string, it is used to filter entries in [`repo_upstream`](#repo_upstream) with corresponding `module` field.

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/PARAM.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ repo_home: /www # repo home dir, `/www` by default
repo_name: pigsty # repo name, pigsty by default
repo_endpoint: http://${admin_ip}:80 # access point to this repo by domain or ip:port
repo_remove: true # remove existing upstream repo
repo_modules: node,pgsql,infra # which repo modules are installed in repo_upstream
repo_modules: infra,node,pgsql,redis,minio # which repo modules are installed in repo_upstream
repo_upstream: # where to download #
- { name: base ,description: 'EL 7 Base' ,module: node ,releases: [7 ] ,baseurl: { default: 'http://mirror.centos.org/centos/$releasever/os/$basearch/' ,china: 'https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os/$basearch/' ,europe: 'https://mirrors.xtom.de/centos/$releasever/os/$basearch/' }}
- { name: updates ,description: 'EL 7 Updates' ,module: node ,releases: [7 ] ,baseurl: { default: 'http://mirror.centos.org/centos/$releasever/updates/$basearch/' ,china: 'https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/updates/$basearch/' ,europe: 'https://mirrors.xtom.de/centos/$releasever/updates/$basearch/' }}
Expand Down
2 changes: 1 addition & 1 deletion files/cmdb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ INSERT INTO pigsty.default_var VALUES
(112, 'repo_name', '"pigsty"', 'INFRA', 'REPO', 'string', 'G', 'repo name, pigsty by default', NULL),
(113, 'repo_endpoint', '"http://${admin_ip}:80"', 'INFRA', 'REPO', 'url', 'G', 'access point to this repo by domain or ip:port', NULL),
(114, 'repo_remove', 'true', 'INFRA', 'REPO', 'bool', 'G/A', 'remove existing upstream repo', NULL),
(115, 'repo_modules', '"node,pgsql,infra"', 'INFRA', 'REPO', 'string', 'G/A', 'which repo modules are installed in repo_upstream', NULL),
(115, 'repo_modules', '"infra,node,pgsql,redis,minio"', 'INFRA', 'REPO', 'string', 'G/A', 'which repo modules are installed in repo_upstream', NULL),
(116, 'repo_upstream', '[{"name": "base", "module": "node", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os/$basearch/", "europe": "https://mirrors.xtom.de/centos/$releasever/os/$basearch/", "default": "http://mirror.centos.org/centos/$releasever/os/$basearch/"}, "releases": [7], "description": "EL 7 Base"}, {"name": "updates", "module": "node", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/updates/$basearch/", "europe": "https://mirrors.xtom.de/centos/$releasever/updates/$basearch/", "default": "http://mirror.centos.org/centos/$releasever/updates/$basearch/"}, "releases": [7], "description": "EL 7 Updates"}, {"name": "extras", "module": "node", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/extras/$basearch/", "europe": "https://mirrors.xtom.de/centos/$releasever/extras/$basearch/", "default": "http://mirror.centos.org/centos/$releasever/extras/$basearch/"}, "releases": [7], "description": "EL 7 Extras"}, {"name": "epel", "module": "node", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/epel/$releasever/$basearch/", "europe": "https://mirrors.xtom.de/epel/$releasever/$basearch/", "default": "http://download.fedoraproject.org/pub/epel/$releasever/$basearch/"}, "releases": [7], "description": "EL 7 EPEL"}, {"name": "centos-sclo", "module": "node", "baseurl": {"china": "https://mirrors.aliyun.com/centos/$releasever/sclo/$basearch/sclo/", "europe": "https://mirrors.xtom.de/centos/$releasever/sclo/$basearch/sclo/", "default": "http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/"}, "releases": [7], "description": "EL 7 SCLo"}, {"name": "centos-sclo-rh", "module": "node", "baseurl": {"china": "https://mirrors.aliyun.com/centos/$releasever/sclo/$basearch/rh/", "europe": "https://mirrors.xtom.de/centos/$releasever/sclo/$basearch/rh/", "default": "http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/"}, "releases": [7], "description": "EL 7 SCLo rh"}, {"name": "baseos", "module": "node", "baseurl": {"china": "https://mirrors.aliyun.com/rockylinux/$releasever/BaseOS/$basearch/os/", "europe": "https://mirrors.xtom.de/rocky/$releasever/BaseOS/$basearch/os/", "default": "https://dl.rockylinux.org/pub/rocky/$releasever/BaseOS/$basearch/os/"}, "releases": [8, 9], "description": "EL 8+ BaseOS"}, {"name": "appstream", "module": "node", "baseurl": {"china": "https://mirrors.aliyun.com/rockylinux/$releasever/AppStream/$basearch/os/", "europe": "https://mirrors.xtom.de/rocky/$releasever/AppStream/$basearch/os/", "default": "https://dl.rockylinux.org/pub/rocky/$releasever/AppStream/$basearch/os/"}, "releases": [8, 9], "description": "EL 8+ AppStream"}, {"name": "extras", "module": "node", "baseurl": {"china": "https://mirrors.aliyun.com/rockylinux/$releasever/extras/$basearch/os/", "europe": "https://mirrors.xtom.de/rocky/$releasever/extras/$basearch/os/", "default": "https://dl.rockylinux.org/pub/rocky/$releasever/extras/$basearch/os/"}, "releases": [8, 9], "description": "EL 8+ Extras"}, {"name": "epel", "module": "node", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/epel/$releasever/Everything/$basearch/", "europe": "https://mirrors.xtom.de/epel/$releasever/Everything/$basearch/", "default": "http://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch/"}, "releases": [8, 9], "description": "EL 8+ EPEL"}, {"name": "powertools", "module": "node", "baseurl": {"china": "https://mirrors.aliyun.com/rockylinux/$releasever/PowerTools/$basearch/os/", "europe": "https://mirrors.xtom.de/rocky/$releasever/PowerTools/$basearch/os/", "default": "https://dl.rockylinux.org/pub/rocky/$releasever/PowerTools/$basearch/os/"}, "releases": [8], "description": "EL 8 PowerTools"}, {"name": "crb", "module": "node", "baseurl": {"china": "https://mirrors.aliyun.com/rockylinux/$releasever/CRB/$basearch/os/", "europe": "https://mirrors.xtom.de/rocky/$releasever/CRB/$basearch/os/", "default": "https://dl.rockylinux.org/pub/rocky/$releasever/CRB/$basearch/os/"}, "releases": [9], "description": "EL 9 CRB"}, {"name": "pgdg-common", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/common/redhat/rhel-$releasever-$basearch", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/common/redhat/rhel-$releasever-$basearch", "default": "https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-$releasever-$basearch"}, "releases": [7, 8, 9], "description": "PostgreSQL Common"}, {"name": "pgdg-extras", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/common/pgdg-rhel$releasever-extras/redhat/rhel-$releasever-$basearch", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/common/pgdg-rhel$releasever-extras/redhat/rhel-$releasever-$basearch", "default": "https://download.postgresql.org/pub/repos/yum/common/pgdg-rhel$releasever-extras/redhat/rhel-$releasever-$basearch"}, "releases": [7, 8, 9], "description": "PostgreSQL Extra"}, {"name": "pgdg-el8fix", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/common/pgdg-centos8-sysupdates/redhat/rhel-8-x86_64/", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/common/pgdg-centos8-sysupdates/redhat/rhel-8-x86_64/", "default": "https://download.postgresql.org/pub/repos/yum/common/pgdg-centos8-sysupdates/redhat/rhel-8-x86_64/"}, "releases": [8], "description": "PostgreSQL EL8FIX"}, {"name": "pgdg-el9fix", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/common/pgdg-rocky9-sysupdates/redhat/rhel-9-x86_64/", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/common/pgdg-rocky9-sysupdates/redhat/rhel-9-x86_64/", "default": "https://download.postgresql.org/pub/repos/yum/common/pgdg-rocky9-sysupdates/redhat/rhel-9-x86_64/"}, "releases": [9], "description": "PostgreSQL EL9FIX"}, {"name": "pgdg12", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/12/redhat/rhel-$releasever-$basearch", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/12/redhat/rhel-$releasever-$basearch", "default": "https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-$releasever-$basearch"}, "releases": [7, 8, 9], "description": "PostgreSQL 12"}, {"name": "pgdg13", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/13/redhat/rhel-$releasever-$basearch", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/13/redhat/rhel-$releasever-$basearch", "default": "https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-$releasever-$basearch"}, "releases": [7, 8, 9], "description": "PostgreSQL 13"}, {"name": "pgdg14", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/14/redhat/rhel-$releasever-$basearch", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/14/redhat/rhel-$releasever-$basearch", "default": "https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-$releasever-$basearch"}, "releases": [7, 8, 9], "description": "PostgreSQL 14"}, {"name": "pgdg15", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/15/redhat/rhel-$releasever-$basearch", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/15/redhat/rhel-$releasever-$basearch", "default": "https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-$releasever-$basearch"}, "releases": [7, 8, 9], "description": "PostgreSQL 15"}, {"name": "pgdg16", "module": "pgsql", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/16/redhat/rhel-$releasever-$basearch", "europe": "https://mirrors.xtom.de/postgresql/repos/yum/16/redhat/rhel-$releasever-$basearch", "default": "https://download.postgresql.org/pub/repos/yum/16/redhat/rhel-$releasever-$basearch"}, "releases": [7, 8, 9], "description": "PostgreSQL 16 Beta"}, {"name": "timescaledb", "module": "pgsql", "baseurl": {"default": "https://packagecloud.io/timescale/timescaledb/el/$releasever/$basearch"}, "releases": [7, 8, 9], "description": "TimescaleDB"}, {"name": "nginx", "module": "infra", "baseurl": {"default": "https://nginx.org/packages/centos/$releasever/$basearch/"}, "releases": [7, 8, 9], "description": "Nginx Repo"}, {"name": "docker-ce", "module": "infra", "baseurl": {"china": "https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/$releasever/$basearch/stable", "europe": "https://mirrors.xtom.de/docker-ce/linux/centos/$releasever/$basearch/stable", "default": "https://download.docker.com/linux/centos/$releasever/$basearch/stable"}, "releases": [7, 8, 9], "description": "Docker CE"}, {"name": "pigsty-misc", "module": "infra", "baseurl": {"default": "https://get.pigsty.cc/yum/el$releasever.$basearch"}, "releases": [7, 8, 9], "description": "Pigsty EL Misc"}, {"name": "prometheus", "module": "infra", "baseurl": {"default": "https://packagecloud.io/prometheus-rpm/release/el/$releasever/$basearch", "china": "https://get.pigsty.cc/yum/prometheus/el$releasever.$basearch"}, "releases": [7, 8, 9], "description": "Prometheus"}, {"name": "grafana", "module": "infra", "baseurl": {"default": "https://rpm.grafana.com", "china": "https://get.pigsty.cc/yum/grafana/$basearch"}, "releases": [7, 8, 9], "description": "Grafana"}]', 'INFRA', 'REPO', 'upstream[]', 'G', 'where to download upstream packages', NULL),
(117, 'repo_packages', '["ansible python3 python3-pip python3-requests python3.11-jmespath python3.11-pip dnf-utils modulemd-tools", "grafana loki logcli promtail prometheus2 alertmanager pushgateway", "node_exporter blackbox_exporter nginx_exporter redis_exporter mysqld_exporter mongodb_exporter kafka_exporter keepalived_exporter", "redis etcd minio mcli haproxy vip-manager pg_exporter ferretdb sealos nginx createrepo_c sshpass chrony dnsmasq docker-ce docker-compose-plugin flamegraph", "lz4 unzip bzip2 zlib yum pv jq git ncdu make patch bash lsof wget uuid tuned perf nvme-cli numactl grubby sysstat iotop htop rsync tcpdump", "netcat socat ftp lrzsz net-tools ipvsadm bind-utils telnet audit ca-certificates openssl openssh-clients readline vim-minimal keepalived", "postgresql13* wal2json_13* pg_repack_13* passwordcheck_cracklib_13* postgresql12* wal2json_12* pg_repack_12* passwordcheck_cracklib_12* postgresql16* timescaledb-tools", "postgresql15* citus_15* pglogical_15* wal2json_15* pg_repack_15* pgvector_15* timescaledb-2-postgresql-15* postgis33_15* passwordcheck_cracklib_15* pg_cron_15* pg_filedump_15", "postgresql14* citus_14* pglogical_14* wal2json_14* pg_repack_14* pgvector_14* timescaledb-2-postgresql-14* postgis33_14* passwordcheck_cracklib_14* pg_cron_14* pg_filedump_14", "patroni patroni-etcd pgbouncer pgbadger pgbackrest pgloader pg_activity pg_partman_15 pg_permissions_15 pgexportdoc_15 pgimportdoc_15 pg_statement_rollback_15* pg_hint_plan_15*", "orafce_15* mysqlcompat_15 mongo_fdw_15* tds_fdw_15* mysql_fdw_15 hdfs_fdw_15 sqlite_fdw_15 pgbouncer_fdw_15 multicorn2_15* powa_15* pg_stat_kcache_15* pg_stat_monitor_15* pg_qualstats_15 pg_track_settings_15 pg_wait_sampling_15 system_stats_15", "plprofiler_15* plproxy_15 plsh_15* pldebugger_15 plpgsql_check_15* pgtt_15 pgq_15* pgsql_tweaks_15 count_distinct_15 hypopg_15 timestamp9_15* semver_15* prefix_15* geoip_15 periods_15 ip4r_15 tdigest_15 hll_15 pgmp_15 extra_window_functions_15 topn_15", "pg_background_15 e-maj_15 pg_catcheck_15 pg_prioritize_15 pgcopydb_15 pg_filedump_15 pgcryptokey_15 logerrors_15 pg_top_15 pg_comparator_15 pg_ivm_15* pgsodium_15* pgfincore_15* ddlx_15 credcheck_15 safeupdate_15 pg_squeeze_15* pg_fkpart_15 pg_jobmon_15", "pg_auth_mon_15 pg_checksums_15 pg_failover_slots_15 pg_readonly_15* postgresql-unit_15* pg_store_plans_15* pg_uuidv7_15* set_user_15* scws zhparser_15* pg_embedding_15* pg_roaringbitmap_15* pg_tle_15* pgsql-http_15* apache-age_15* pg_graphql_15* pgjwt_15 pg_net_15* vault_15* postgresml_15*"]', 'INFRA', 'REPO', 'string[]', 'G', 'which packages to be included', NULL),
(118, 'repo_url_packages', '["https://repo.pigsty.cc/etc/pev.html", "https://repo.pigsty.cc/etc/chart.tgz"]', 'INFRA', 'REPO', 'string[]', 'G', 'extra packages from url', NULL),
Expand Down
Loading

0 comments on commit b5947ee

Please sign in to comment.