A repository configuration file must be created for the DAS Service on the DPS host.
The file is required to identify the path to the repository data, and establish whether a GPG
signature check should be performed on the repository packages. You need only one repository
configuration file.
- Navigate to the repository directory.
- Create a repository file.
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: DAS-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-1
[DAS-APP-1.0.0.0-59]
name=DAS-APP Version - DAS-APP-1.0.0.0-1
baseurl=http://<your_webserver>:port/DAS-APP/centos7/1.0.0.0
gpgcheck=1
gpgkey=http://<your_webserver>:port/DAS-APP/centos7/1.0.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1