You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,4 +58,40 @@ A repository can be deleted by clicking the *Delete repository...* link in the A
58
58
There are links on the Edit Repository pages, and the Debian Repositories page (in the breadcrumb of the Edit page) to browse a repository.
59
59

60
60
61
-
61
+
### Configuring a Debian server to use tcDebRepository
62
+
The `/etc/apt/sources.list` file needs to be modified on your Debian computer to include the APT line entry of the Debian Repository located on the TeamCity server. Alternatively, a new file created in `/etc/apt/sources.list.d/` named something like `teamcity.list` containing the APT line.
63
+
64
+
Browse your Debian Repository (see section prior to this). Navigate into `dists/<dist_name>/<component_name>` and the exact APT line to add is displayed to allow copy and paste. It will look similar to this following example:
65
+
66
+
deb http://teamcity.mycompany.com/app/debrepo/MyRepoName/ jessie main
67
+
68
+
Then run the following on the Debian machine:
69
+
70
+
sudo apt-get update
71
+
sudo apt-get --force-yes install <package_name>
72
+
73
+
The `--force-yes` command tells Debian to trust unsigned packages from the repository. This is only applicable until version 1.1 of tcDebRepository plugin is released which will provide support for authenticated repositories. See [this GitHub issue](https://github.com/tcplugins/tcDebRepository/issues/3"GitHub issue about signed repositories") for an update. I simply ran out of time to implement that before the December 6th competition deadline.
74
+
75
+
### tcDebRepository compatibility
76
+
#### TeamCity versions
77
+
The tcDebRepository plugin has been tested on TeamCity 8.1.5, 9.1.7, 10.0.2 on Oracle Java versions 8 or 7.
78
+
79
+
TeamCity version | Java Version | Result
80
+
---------------- | ------------ | ------
81
+
10.0.2 | 1.8.0_65-b17 | All services and UI working correctly
82
+
9.1.7 | 1.7.0_65-b17 | All services and UI working correctly
83
+
8.1.5 | 1.7.0_65-b17 | All services working correctly. Repositories need to be manually edited* - .BuildServer/config/deb-repositories.xml
84
+
85
+
I do intend to resolve UI issues on TC8 in future.
86
+
87
+
#### Debian Versions
88
+
Distro | Version | Result
89
+
------ | ------- | ------
90
+
Debian | wheezy | Packages install correctly when pass in `--force-yes` option
91
+
Debian | jessie | Packages install correctly when pass in `--force-yes` option
92
+
Ubuntu | precise | Packages install correctly when pass in `--force-yes` option
93
+
Ubuntu | wily | Packages install correctly when pass in `--force-yes` option
94
+
Ubuntu | xenial | Packages fail to install. Probably due to unsigned repository
95
+
Ubuntu | zesty | Packages fail to install. Probably due to unsigned repository
0 commit comments