A repository configuration file must be created for the DSS Service on the DPS host.
The file is required to identify the path to the repository data, establish whether a GPG
signature check should be performed on the repository packages, etc. Only one repository
configuration file is needed.
- Navigate to the repository directory.
cd /etc/yum.repos.d/
- Create a repository file.
vi dss-app.repo
Alternatively, you can copy an existing repository file to edit.
-
Add the following content in the repository file:
#VERSION_NUMBER=<downloaded-version#>
[<service-name-abbreviation>]
This is composed of the service name abbreviation and version number (includes the
build number). Example: DSS-APP-1.0.0.0-59
name=<service-name-abbreviation> Version - <service-name-abbreviation>
baseurl=http://<webserver-host-name>/<directory-containing-repo>
<webserver-host-name> is the FQDN of the web server host that contains the
repository. This is the same base URL that you used in the task to prepare the
repositories.
<directory-containing-repo> is the path expanded from the tarball.
gpgcheck=1
gpgkey=http://<webserver-host-name>/<directory-containing-repo>/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
Example Repository File
#VERSION_NUMBER=1.0.0.0-59
[DSS-APP-1.0.0.0-59]
name=DSS-APP Version - DSS-APP-1.0.0.0-59
baseurl=http://<your_webserver>:port/DSS-APP/centos7/1.0.0.0
gpgcheck=1
gpgkey=http://<your_webserver>:port/DSS-APP/centos7/1.0.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1