2 # SPDX-License-Identifier: EPL-1.0
3 ##############################################################################
4 # Copyright (c) 2017 The Linux Foundation and others.
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Eclipse Public License v1.0
8 # which accompanies this distribution, and is available at
9 # http://www.eclipse.org/legal/epl-v10.html
10 ##############################################################################
11 echo "---> sigul-install.sh"
13 # Ensure we fail the job if any steps fail.
16 if command -v sigul &>/dev/null; then
17 echo "Sigul already installed; skipping installation."
19 # Setup sigul RPM repo
20 echo "[fedora-infra-sigul]
21 name=Fedora builder packages for sigul
22 baseurl=https://kojipkgs.fedoraproject.org/repos-dist/epel\$releasever-infra/latest/\$basearch/
25 gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
27 skip_if_unavailable=True" > fedora-infra-sigul.repo
29 sudo cp fedora-infra-sigul.repo /etc/yum.repos.d
30 rm fedora-infra-sigul.repo
33 sudo yum install -y -q sigul