Skip to content

Commit

Permalink
Remove obsolete ops (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndpnt authored Jan 18, 2023
2 parents 7a669d3 + b37012a commit cd49c99
Show file tree
Hide file tree
Showing 33 changed files with 11 additions and 1,065 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/deploy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test
on:
push:
branches-ignore:
- main # tests will be launched by workflow_call from the deploy workflow
- main # tests will be launched by workflow_call from the "Release" workflow
pull_request:
types: [ opened, reopened ]
workflow_call:
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.DS_Store
node_modules
/.env
.vagrant
vault.key
data
yarn.lock
tmp
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and the format is based on [Common Changelog](https://common-changelog.org).\
Unlike Common Changelog, the `unreleased` section of [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) is preserved with the addition of a tag to specify which type of release should be published and to foster discussions about it inside pull requests. This tag should be one of the names mandated by SemVer, within brackets: `[patch]`, `[minor]` or `[major]`. For example: `## Unreleased [minor]`.

## Unreleased
## Unreleased [minor]

### Removed
- **Breaking:** Remove obsolete ansible deployment recipes as it was extracted in a [dedicated repository](https://github.com/OpenTermsArchive/deployment). Look at the [README](https://github.com/OpenTermsArchive/deployment#readme) to know how to deploy the engine.
## 0.22.0 - 2023-01-17
### Changed
- Replace embedded terms types list with the one defined in the dedicated repository `@opentermsarchive/terms-types`.
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To help reviewers, make sure to describe your pull request with a **clear text e

### Continuous delivery

GitHub Actions is used to deploy the application on every merge to the main branch.
GitHub Actions is used to release the package on every merge to the main branch.

Branch protection is active, meaning that a merge to the main branch can only take place once all tests pass in CI, and that the peer review policy has been fulfilled.

Expand Down Expand Up @@ -90,8 +90,8 @@ For command-line examples and documentation, we follow the [docopt usage pattern
- mutually exclusive elements are given between `(` and `)` and separated by `|`.

```diff
- npm start [ $service_id ] [, $service_id, ...]
+ npm start [service_id]...
- ota track --services [ $service_id ] [, $service_id, ...]
+ ota track [--services <service_id>...]
```

##### Long options
Expand All @@ -100,8 +100,8 @@ In order to improve the understandability of commands, we document all CLI optio


```diff
- ansible-playbook -i production.yml app.yml -l france -t stop
+ ansible-playbook --inventory production.yml app.yml --limit france --tag stop
- ota track -s $service_id -r
+ ota track --services <service_id> --refilter-only
```

## Naming
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ The default configuration can be found in `config/default.json`. The full refere
}
```

The default configuration is merged with (and overridden by) environment-specific configuration that can be specified at startup with the `NODE_ENV` environment variable. For example, running `NODE_ENV=vagrant npm start` will load the `vagrant.json` configuration file. See [node-config](https://github.com/node-config/node-config) for more information about configuration files.
The default configuration is merged with (and overridden by) environment-specific configuration that can be specified at startup with the `NODE_ENV` environment variable. See [node-config](https://github.com/node-config/node-config) for more information about configuration files.

In order to have a local configuration that override all exisiting config, it is recommended to create a `config/development.json` file with overridden values.

Expand Down Expand Up @@ -426,8 +426,7 @@ If an outgoing HTTP/HTTPS proxy to access the Internet is required, it is possib

## Deploying

Deployment is managed with [Ansible](https://www.ansible.com). See the [Open Terms Archive deployment Ansible collection](https://github.com/OpenTermsArchive/ota.deployment-ansible-collection).

Deployment recipes are available in a [dedicated repository](https://github.com/OpenTermsArchive/deployment). Look at the [README](https://github.com/OpenTermsArchive/deployment#readme) to know how to deploy the engine.
## Contributing

### Getting a copy
Expand Down
38 changes: 0 additions & 38 deletions Vagrantfile

This file was deleted.

13 changes: 0 additions & 13 deletions ansible.cfg

This file was deleted.

35 changes: 0 additions & 35 deletions config/contrib.json

This file was deleted.

37 changes: 0 additions & 37 deletions config/dating.json

This file was deleted.

40 changes: 0 additions & 40 deletions config/france.json

This file was deleted.

40 changes: 0 additions & 40 deletions config/p2b-compliance.json

This file was deleted.

40 changes: 0 additions & 40 deletions config/pga.json

This file was deleted.

3 changes: 0 additions & 3 deletions config/production.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"services": {
"declarationsPath": "../declarations/declarations"
},
"recorder": {
"versions": {
"storage": {
Expand Down
Loading

0 comments on commit cd49c99

Please sign in to comment.