gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-grid5k] 166/189: use centos for db only


From: gnunet
Subject: [taler-grid5k] 166/189: use centos for db only
Date: Thu, 28 Apr 2022 10:48:56 +0200

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository grid5k.

commit be3ceb3b446764a24726a5e84d746630683ca88f
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Wed Apr 20 13:17:59 2022 +0200

    use centos for db only
---
 image/centos8/taler-centos8.yaml | 102 +++++----------------------------------
 1 file changed, 11 insertions(+), 91 deletions(-)

diff --git a/image/centos8/taler-centos8.yaml b/image/centos8/taler-centos8.yaml
index efc069c..5b931a5 100644
--- a/image/centos8/taler-centos8.yaml
+++ b/image/centos8/taler-centos8.yaml
@@ -38,16 +38,9 @@ global:
   # g5k_kernel_params: ""
   ## Environment visibility
   # g5k_visibility: "shared"
-  taler_build_packages: "recutils autoconf uncrustify autopoint libtool 
python3-pip libgcrypt20-dev libjansson-dev libcurl4-gnutls-dev libsodium-dev 
libidn2-dev libunistring-dev libmicrohttpd-dev libsqlite3-dev libqrencode-dev 
valgrind libpq-dev texinfo gdb make npm zip python3-distutils pkg-config wget 
curl vim"
-  taler_packages: "nginx postgresql-13 postgresql-contrib curl jq bc sudo git 
zile dnsutils prometheus-postgres-exporter prometheus-nginx-exporter net-tools 
netcat parallel nodejs tshark dnsmasq bind9 systemd-coredump bash-completion 
pgbouncer pgstat prometheus prometheus-node-exporter 
prometheus-pgbouncer-exporter"
-  taler_disable_services: "nginx postgresql prometheus 
prometheus-postgres-exporter prometheus-nginx-exporter prometheus-node-exporter 
named gettext-base dnsmasq prometheus-pgbouncer-exporter pgbouncer"
-  taler_loki_version: "v2.4.0"
+  taler_packages: "postgresql13 postgresql-contrib postgresql13-contrib curl 
jq bc sudo git dnsutils net-tools netcat parallel dnsmasq bash-completion 
pgstats_13 vim"
+  taler_disable_services: "nginx postgresql"
   taler_path: /root/taler
-  gnunet_commit_sha: master
-  exchange_commit_sha: master
-  merchant_commit_sha: master
-  wallet_commit_sha: master
-  grid5k_commit_sha: master
   ## Other parameters can be changed, see kameleon info taler-centos8.yaml
 
 bootstrap:
@@ -65,76 +58,15 @@ setup:
   - install:
     - packages:
       - exec_in: |
+         yum install -y yum install 
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
+         dnf install 
https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
+         dnf -qy module disable postgresql
          yum update -y
          yum upgrade -y
-         yum install -y $${taler_packages} $${taler_build_packages}
+         yum install -y $${taler_packages} 
 
          mkdir -p $${taler_path}
 
-    - gnunet: 
-      - exec_in: |
-         cd $${taler_path} 
-
-         git clone https://git.gnunet.org/gnunet.git
-         cd gnunet
-         git checkout $${gnunet_commit_sha} || true
-         git pull || true
-
-         sudo ./bootstrap
-         CFLAGS="-O0 -g" ./configure --enable-logging=verbose --prefix=/usr # 
--enable-sanitizer
-         make || true
-         make install
-         ldconfig
-
-    - exchange:
-      - exec_in: |
-         cd $${taler_path}
-
-         pip install jinja2
-
-         git clone https://git.taler.net/exchange.git
-         cd exchange
-         git checkout $${exchange_commit_sha} || true
-         git pull || true
-
-         sudo ./bootstrap
-         CFLAGS="-O0 -g" ./configure --enable-logging=verbose --prefix=/usr # 
--enable-sanitizer
-         make || true
-         make install
-         ldconfig
-
-    - merchant:
-      - exec_in: |
-         cd $${taler_path}
-
-         git clone https://git.taler.net/merchant.git
-         cd merchant
-         git checkout $${merchant_commit_sha} || true
-         git pull || true
-
-         sudo ./bootstrap
-
-         ./configure --enable-logging=verbose --prefix=/usr # 
--enable-sanitizer
-         make || true
-         make install
-         ldconfig
-
-    - wallet: 
-      - exec_in: |
-         cd $${taler_path}
-
-         git clone https://git.taler.net/wallet-core.git
-         cd wallet-core
-         git checkout $${wallet_commit_sha} || true
-         git pull || true
-
-         sudo ./bootstrap
-
-         npm install -g pnpm
-         ./configure
-         make || true
-         make install
-
     - grid5k:
       - exec_in: |
          cd $${taler_path}
@@ -145,29 +77,17 @@ setup:
 
          ./experiment/scripts/createusers.sh
 
-    - loki-promtail:
-      - exec_in: |
-         apt-get install -y unzip curl
-
-         curl -O -L 
"https://github.com/grafana/loki/releases/download/$${taler_loki_version}/loki-linux-amd64.zip";
-         unzip loki-linux-amd64.zip
-         rm loki-linux-amd64.zip
-         mv loki-linux-amd64 /usr/local/bin/loki
-         chmod 770 /usr/local/bin/loki
-
-         curl -O -L 
"https://github.com/grafana/loki/releases/download/$${taler_loki_version}/promtail-linux-amd64.zip";
-         unzip promtail-linux-amd64.zip
-         rm promtail-linux-amd64.zip
-         mv promtail-linux-amd64 /usr/local/bin/promtail
-         chmod 770 /usr/local/bin/promtail
-
     - disable_services:
       - exec_in: |
-         /etc/init.d/pgbouncer stop
          systemctl daemon-reload
          systemctl stop $${taler_disable_services}
          systemctl disable $${taler_disable_services}
 
+    - prometheus_node_exporter:
+      - exec_in:
+         useradd -M -r -s /bin/false node_exporter
+         wget 
https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz
 -P /tmp
+
 export:
   ### The export section takes in charge the export of your customized 
Grid'5000
   ## environment. No modification should be needed here.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]