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: _data/snippets.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -152,7 +152,7 @@ github_oauth_access_rights: |
152
152
git_repository_settings_forks_general: |
153
153
> Repository security settings for forked repositories on Git are available starting March 1st, 2022.
154
154
155
-
For Git repositories, you may manage per repository how the [environment variables](/user/environment-variables/) and the custom SSH keys](/user/private-dependencies/#user-key) will be handled in Travis CI when a build triggered as an effect of filing a Pull Request from a forked repository. Two settings are available specifically for this purpose, allowing you to customize your security vs. collaboration setup.
155
+
For Git repositories, you may manage per repository how the [environment variables](/user/environment-variables/) and the [custom SSH keys](/user/private-dependencies/#user-key) will be handled in Travis CI when a build triggered as an effect of filing a Pull Request from a forked repository. Two settings are available specifically for this purpose, allowing you to customize your security vs. collaboration setup.
156
156
157
157
**base repository** - a Git repository, which is forked by someone else
158
158
**fork** or **forked repository** - any Git repository forked from the **base repository**
Copy file name to clipboardExpand all lines: user/enterprise/tcie-3.x-migrating-db-from-2.x-to-3.x.md
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ This document describes steps necessary for database migration from existing Tra
11
11
The TCIE 3.x runs over Postgresql v11 and features a bit different database schema, synchronized with Travis CI Hosted solution. Since TCIE 3.x is deployed as Kubernetes cluster, PostgreSQL is now one of the pods (TCIE 2.x had every dependency embedded in one large Docker image).
12
12
13
13
The main schema differences are:
14
-
* databases for *logs* and *main* are now separated
15
-
* the *_configs* schema in new *main* database is a bit different and thus this part will be not migrated during the following process; that means for builds done before the migration the users won't have the `.travis.yml` contents relevant to these builds available in the web User Interface
14
+
*In TCIE 3 databases for *logs* and *main* are now separated
15
+
* the *_configs* schema in new TCIE 3 *main* database is a bit different from the one in TCIE 2.2 and thus this part will be not migrated during the following process; that means for builds done before the migration the users won't have the `.travis.yml` contents relevant to these builds available in the web User Interface
16
16
17
17
## Preparing to the Migration
18
18
@@ -70,11 +70,25 @@ As a result, you should have both database files available for further processin
70
70
71
71
### Alter the Database Dumps
72
72
73
-
Perform replacement of DB owner identifiers in the database dumps:
73
+
74
+
Assuming you have used Travis CI Enterprsie 2.2 internal datbase (one delivered with the 2.2 release in master image) please perform replacement of DB owner identifiers in the database dumps:
75
+
74
76
```bash
75
77
sed -i '''s/Owner: travis/Owner: postgres/g' TCI_E_2_0_db_schema_dump_main_tables_platform_docker_20200324.sql
76
78
sed -i '''s/OWNER TO travis/OWNER TO postgres/g' TCI_E_2_0_db_schema_dump_main_tables_platform_docker_20200324.sql
77
79
```
80
+
81
+
**PLEASE NOTE**:
82
+
1. Please reconfirm existing database owner name directly via PSQL query or command line tool. If required, unify/change it to a single user using psql tooling/queries before any further operation is executed.
83
+
1. If you use external database (not from the Travis CI Enterprise 2.2 release) and wish to continue so: you do not have to perform above step. Just use the database owner credentials from Travis CI Enterprise 2.2 in Travis Ci Enterprsie 3.x configuration.
84
+
2. If you use external database (not from the Travis CI Enterprise 2.2 release) and wish to cease to do so and use database delivered as a pod in Travis CI Enterprsie 3.3, in above bash commands change following fragments
85
+
86
+
`Owner: travis` to `Owner: {your external tcie 2.2 database owner}`
87
+
88
+
`OWNER TO travis` to `OWNER TO {your external tcie 2.2 database owner}`
89
+
90
+
91
+
78
92
### Make the Altered Dumps Available
79
93
80
94
Make your dump files available under any `http` address visible for your target Enterprise 3.0 cluster. This serves the purpose of TCIE 3.x installer to be able to download them and migrate the data automatically.
Copy file name to clipboardExpand all lines: user/travis-ci-vcs-proxy-get-started.md
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,18 @@ For more information read the [Setting up Travis CI VCS Proxy](/user/travis-ci-v
28
28
#### Steps to geting started
29
29
30
30
1. Open the received link to Travis CI and select the *Sign up with TCI Proxy* option.
31
+
When you do it for the first time, a Travis CI VCS Proxy page will pop-up with an `Authorize` button present. Pressing the button will tell Travis CI VCS Proxy that Travis CI is authorized to obtain organizations, repositories, commit notifications and user emails (for build status notifications, shall you enable these) from Travis CI VCS Proxy. After first authorization it will occur automatically if you log into Travis CI Beta application in the same browser (and site data is not removed).
31
32
32
-
2. Accept the Travis CI´s Authorization email.
33
+
2. Accept the Travis CI´s Authorization email.
34
+
> *Please note:* The Beta Travis CI application with support for Travis CI VCS Proxy and regular application are both working in the same Production environment (so once the beta is closed, you can preserve all set up if you wish to). Thus Travis CI Authorization email link may lead you to the main *app.travis-ci.com*. In such case please return to the Travis CI beta application url. You can find it in the Travis CI VCS Proxy welcome e-mail.
33
35
34
-
3. On the top right of the Travis Dashboard, click on your profile picture and select the *Settings* option. Next, click on the ‘Sync account’ button on the left menu and toggle the repositories you want to use with Travis CI.
36
+
3. On the top right of the Travis Dashboard, click on your profile picture and select the *Settings* option. Next, click on the ‘Sync account’ button on the left menu and toggle the repositories you want to use with Travis CI.
37
+
> *Please note:* If the synchronization operation doesn't refresh your Travis CI screen automatically within 1 minute, please refresh your browser window manually (Ctrl/Cmd + F5).
35
38
36
-
4. Add a `.travis.yml` file to your repository to tell Travis CI what to do.
39
+
4. Please select a Trial Plan or wait for us to assign special Beta Plan to your account and/or organization(s). In Travis CI each individual User account and each Organization entity must have a separate plans assigned.
40
+
> *Please note:* If assigning a plan doesn't remove automatically the insufficient user license/lack of credits error message in your Travis CI Beta application screen, please refresh your browser window manually (Ctrl/Cmd + F5).
41
+
42
+
5. Add a `.travis.yml` file to your repository to tell Travis CI what to do.
37
43
38
44
The following example specifies a Ruby project built with Ruby 2.2 and the latest versions of JRuby.
39
45
@@ -47,7 +53,7 @@ The following example specifies a Ruby project built with Ruby 2.2 and the lates
47
53
48
54
The defaults for Ruby projects are a `bundle install` to [install dependencies](/user/job-lifecycle/#customizing-the-installation-phase), and `rake` to build the project.
49
55
50
-
5. Add the `.travis.yml` file to repository, commit to the repository to trigger a Travis CI build:
56
+
6. Add the `.travis.yml` file to repository, commit to the repository to trigger a Travis CI build:
51
57
52
58
> Travis only runs builds on the commits you push *after* you've added a `.travis.yml` file.
0 commit comments