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
A sample illustration of [Bitbucket Cloud ](https://bitbucket.org/product?&aceid=&adposition=&adgroup=92542404895&campaign=1407242867&creative=544605032325&device=c&keyword=bitbucket%20cloud&matchtype=e&network=g&placement=&ds_kids=p51241240716&ds_e=GOOGLE&ds_eid=700000001551985&ds_e1=GOOGLE&gclid=EAIaIQobChMIsa_OyLy--AIV8pJmAh079go-EAAYASAAEgLsifD_BwE&gclsrc=aw.ds) code repo integration with OCI Devops.
1
+
A sample illustration of [Bitbucket Cloud ](https://bitbucket.org/product?&aceid=&adposition=&adgroup=92542404895&campaign=1407242867&creative=544605032325&device=c&keyword=bitbucket%20cloud&matchtype=e&network=g&placement=&ds_kids=p51241240716&ds_e=GOOGLE&ds_eid=700000001551985&ds_e1=GOOGLE&gclid=EAIaIQobChMIsa_OyLy--AIV8pJmAh079go-EAAYASAAEgLsifD_BwE&gclsrc=aw.ds) code repo integration with OCI DevOps.
2
2
3
3
--------
4
4
5
5
#### Objectives
6
6
7
-
- Create an APP Password on Bitbucket Cloud.
8
-
- Create vault ,policies as accordingly.
9
-
- Create a devops connection and integrate with OCI.
7
+
- Create an APP Password on Bitbucket Cloud.
8
+
- Create vault, and policies accordingly.
9
+
- Create a DevOps connection and integrate it with OCI.
10
10
- Test and validate the integrations.
11
11
12
12
* Specific instruction to clone only this example.
@@ -15,15 +15,15 @@ A sample illustration of [Bitbucket Cloud ](https://bitbucket.org/product?&aceid
- Follow Bitbucket Cloud documentation and do a signin. - https://bitbucket.org/product/guides
26
+
- Follow Bitbucket Cloud documentation and do a sign-in. - https://bitbucket.org/product/guides
27
27
- Click `profile` on the top right corner and click `Personal Setting`.
28
28
29
29

@@ -34,7 +34,7 @@ A sample illustration of [Bitbucket Cloud ](https://bitbucket.org/product?&aceid
34
34
35
35
- In the `left-side menu`, click `App passwords` and then click Create app password.
36
36
- Enter a `Label (name)` for the password.
37
-
- Select the following check boxes for Permissions:
37
+
- Select the following checkboxes for Permissions:
38
38
- Account: Read
39
39
- Workspace membership: Read
40
40
- Projects: Read
@@ -45,39 +45,39 @@ A sample illustration of [Bitbucket Cloud ](https://bitbucket.org/product?&aceid
45
45
- Click Create.
46
46
- Copy the app password immediately to a secure location, because you cannot retrieve it again after you navigate away from the page.
47
47
48
-
- In order to securely store and orchestrate Gitlab Personal Access token, we will create a new OCI Vault for now.
48
+
- To securely store and orchestrate Gitlab Personal Access token, we will create a new OCI Vault for now.
49
49
50
-
- Create a new vault under the concerned compartment. - https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Concepts/keyoverview.htm#Overview_of_Vault
50
+
- Create a new vault under the concerned compartment. - https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Concepts/keyoverview.htm#Overview_of_Vault
51
51
52
52

53
53
54
54
- Create a new `Encryption Key`.
55
55
56
56

57
57
58
-
- Create a new secrets and store the Bitbucket Cloud App password.
58
+
- Create a new secret and store the Bitbucket Cloud App password.
59
59
60
60

61
61
62
-
- Create a `Dynamic group` with below rules.
62
+
- Create a `Dynamic group` with the below rules.
63
63
64
64
```
65
65
ALL {resource.type = 'devopsconnection', resource.compartment.id = 'ocid1.compartment.oc1..xxxxx'}
66
66
```
67
67
68
-
- Create a policy (Ensure to create it under the ROOT of tenancy) for the dynamic groups with below policy statement.
68
+
- Create a policy (Ensure to create it under the ROOT of tenancy) for the dynamic groups with the below policy statement.
69
69
70
70
```
71
71
Allow dynamic-group mr-devops-policy-checker-dg-connection to read secret-family in compartment <compartmentname>
72
72
Allow dynamic-group mr-devops-policy-checker-dg-connection to use ons-topics in compartment <compartmentname>
73
73
```
74
74
75
-
- Create a notification topic ,that will be used for devops - https://docs.oracle.com/en-us/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createTopic
75
+
- Create a notification topic, that will be used for DevOps - https://docs.oracle.com/en-us/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createTopic
76
76
77
77

78
78
79
79
80
-
- Create a devops project - https://docs.oracle.com/en-us/iaas/Content/devops/using/create_project.htm#create_a_project
80
+
- Create a DevOps project - https://docs.oracle.com/en-us/iaas/Content/devops/using/create_project.htm#create_a_project
81
81
- Ensure to associate it with a `notification topic` created.
82
82
83
83

@@ -86,29 +86,29 @@ Allow dynamic-group mr-devops-policy-checker-dg-connection to use ons-topics in
86
86
87
87

88
88
89
-
- Select the logging details and enable.
89
+
- Select the logging details and enable.
90
90
91
91
- Create a new `external connection` - https://docs.oracle.com/en-us/iaas/Content/devops/using/create_connection.htm
92
92
93
93

94
94
95
-
- Select the type as `Bitbucket Cloud`.
96
-
- Provide the `Bitbucket username ` as username.
97
-
- Assocaite with the Vault and the `Secret` created
95
+
- Select the type as `Bitbucket Cloud`.
96
+
- Provide the `Bitbucket username ` as the username.
97
+
- Associate with the Vault and the `Secret` created
98
98
99
99

100
100
101
-
- Use devops `Code Repositories` and mirror Bitbucket Cloud to oci devops. - https://docs.oracle.com/en-us/iaas/Content/devops/using/mirror_repo.htm
101
+
- Use DevOps `Code Repositories` and mirror Bitbucket Cloud to oci DevOps. - https://docs.oracle.com/en-us/iaas/Content/devops/using/mirror_repo.htm
102
102
103
103

104
104
105
105
106
-
- Select the external connection created and select the Bitbucket Cloud repository. You may mention a custom name (as optional) which will be used when the external repo is cloned to OCI Code repo.
107
-
- You may alter the Scheduling type to a custom value if needed .The default sync is `15 minutes`.
106
+
- Select the external connection created and select the Bitbucket Cloud repository. You may mention a custom name (as optional) which will be used when the external repo is cloned to the OCI Code repo.
107
+
- You may alter the Scheduling type to a custom value if needed. The default sync is `15 minutes`.
108
108
109
109

110
110
111
-
- After a while the repo will be available via `OCI Code Repo`
111
+
- After a while, the repo will be available via `OCI Code Repo`
112
112
113
113

114
114
@@ -117,12 +117,13 @@ Allow dynamic-group mr-devops-policy-checker-dg-connection to use ons-topics in
117
117
Contributors
118
118
===========
119
119
120
-
- Author: Rahul M R.
121
-
- Collaborators: NA
122
-
- Last release: June 2022
120
+
- Author: Rahul M R.
121
+
- Collaborators: NA
122
+
- Last release: June 2022
123
123
124
124
### Back to examples.
125
125
----
126
126
127
127
- 🍿 [Back to OCI Devops Coderepo sample](./../README.md)
128
-
- 🏝️ [Back to OCI Devops sample](./../../README.md)
128
+
- 🏝️ [Back to OCI Devops sample](./../../README.md)
0 commit comments