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: CONTRIBUTING.md
+27-71Lines changed: 27 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,132 +7,88 @@ For general contribution and community guidelines, please see the [community rep
7
7
1.[Fork the project](https://help.github.com/en/github/getting-started-with-github/fork-a-repo)
8
8
2.[Clone your fork](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository)
9
9
3. Make local changes to your fork by editing files
10
-
3.[Commit your changes](https://help.github.com/en/github/managing-files-in-a-repository/adding-a-file-to-a-repository-using-the-command-line)
11
-
4.[Push your local changes to the remote server](https://help.github.com/en/github/using-git/pushing-commits-to-a-remote-repository)
12
-
5.[Create new Pull Request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)
10
+
4.[Commit your changes](https://help.github.com/en/github/managing-files-in-a-repository/adding-a-file-to-a-repository-using-the-command-line)
11
+
5.[Push your local changes to the remote server](https://help.github.com/en/github/using-git/pushing-commits-to-a-remote-repository)
12
+
6.[Create new Pull Request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)
13
13
14
14
From here your pull request will be reviewed and once you've responded to all
15
15
feedback it will be merged into the project. Congratulations, you're a
16
16
contributor!
17
17
18
+
## Development
18
19
19
-
## Development (V5)
20
-
To develop and run tests against Conjur V5, use the `start` and `stop` scripts in the `dev` folder. The start script brings up an open source Conjur (and Postgres database), CLI container, and a "work" container, with the gem code mounted into the working directory.
20
+
To develop and run tests against Conjur, use the `start` and `stop` scripts in the `dev` folder. The start script brings up an open source Conjur (and Postgres database), CLI container, and a "work" container, with the gem code mounted into the working directory.
21
21
22
22
### Starting a Shell
23
+
23
24
To begin:
25
+
24
26
```sh
25
27
$ cd dev
26
28
$ ./start
27
29
...
28
30
root@9df0ac10ada2:/src/conjur-api#
29
31
```
32
+
30
33
You'll be dropped into development container upon completion. From there, install the development gems:
31
34
32
35
```sh
33
36
root@9df0ac10ada2:/src/conjur-api# bundle
34
37
```
35
38
36
39
#### Running Tests
37
-
*NOTE*: There are some existing challenges around running tests from the development console. For now, run tests
38
-
by using the `./test.sh` script utilized for Jenkins Pipelines.
39
-
40
-
<!--
41
-
Commented out until I can get tests running locally
42
40
43
41
Tests can be run with:
42
+
44
43
```sh
45
44
root@9df0ac10ada2:/src/conjur-api# bundle exec cucumber features
Copy file name to clipboardExpand all lines: README.md
+1-21Lines changed: 1 addition & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,6 @@ Programmatic Ruby access to the Conjur API.
4
4
5
5
RDocs are available from the through the [Ruby Gem details page](https://rubygems.org/gems/conjur-api)
6
6
7
-
# Server Versions
8
-
9
-
The Conjur server comes in two major versions:
10
-
11
-
***4.x** Conjur 4 is a commercial, non-open-source product, which is documented at [https://developer.conjur.net/](https://developer.conjur.net/).
12
-
***5.x** Conjur 5 is open-source software, hosted and documented at [https://www.conjur.org/](https://www.conjur.org/).
13
-
14
-
You can use the `main` branch of this project, which is `conjur-api` version `5.x`, to do all of the following things against either type of Conjur server:
15
-
16
-
* Authenticate
17
-
* Fetch secrets
18
-
* Check permissions
19
-
* List roles, resources, members, memberships and permitted roles.
20
-
* Create hosts using host factory
21
-
* Rotate API keys
22
-
23
-
Use the configuration setting `Conjur.configuration.version` to select your server version, or set the environment variable `CONJUR_VERSION`. In either case, the valid values are `4` and `5`; the default is `5`.
24
-
25
-
If you are using Conjur server version `4.x`, you can also choose to use the `conjur-api` version `4.x`. In this case, the `Configuration.version` setting is not required (actually, it doesn't exist).
26
-
27
7
## Using conjur-api-ruby with Conjur Open Source
28
8
29
9
Are you using this project with [Conjur Open Source](https://github.com/cyberark/conjur)? Then we
@@ -33,7 +13,7 @@ Conjur maintainers perform additional testing on the suite release versions to e
33
13
compatibility. When possible, upgrade your Conjur version to match the
34
14
[latest suite release](https://docs.conjur.org/Latest/en/Content/ReleaseNotes/ConjurOSS-suite-RN.htm);
35
15
when using integrations, choose the latest suite release that matches your Conjur version. For any
36
-
questions, please contact us on [Discourse](https://discuss.cyberarkcommons.org/c/conjur/5).
16
+
questions, please contact us on [Discourse](https://discuss.cyberarkcommons.org/).
0 commit comments