Skip to content

Commit c455880

Browse files
committed
Removing readthedocs.io
1 parent 41dbb8d commit c455880

File tree

5 files changed

+32
-79
lines changed

5 files changed

+32
-79
lines changed

.readthedocs.yml

-19
This file was deleted.

CHANGELOG.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- Add firewall manager to principal IAM policy.
1919

2020
## v0.33.3
21-
- Remove apigatewayv2 from the principal IAM policy.
21+
- Remove apigatewayv2 from the principal IAM policy.
2222
- Update to the principal IAM policy name lex-models.
2323

2424
## v0.33.2
@@ -37,14 +37,14 @@
3737
- Fix gosec issue related to G601 (CWE-118): Implicit memory aliasing in for loop
3838

3939
## v0.33.0
40-
- Upgrade aws-nuke to v1.3.0
40+
- Upgrade aws-nuke to v1.3.0
4141

4242
## v0.32.0
4343
- Upgrade go to 1.15
4444
- Upgrade go mod dependencies version.
4545
- Improved test scenarios.
4646
- Add `iotanalytics:*` policy to the set of allowed services.
47-
- Increase timeout for functional test execution.
47+
- Increase timeout for functional test execution.
4848

4949
## v0.31.3
5050
- Fix data and update visualization for codebuild reset widget and error scrappers.
@@ -116,7 +116,7 @@ DCE API clients will need to be updated accordingly, to handle this response.
116116

117117
**Migration Notes**
118118

119-
This release changes the list of allowed regions to only include `us-east-1` by default. This is in order to reduce the time it takes for account reset CodeBuilds to run. Previously, these codebuilds would take 1h+ to nuke the 18 default regions, even on an empty account.
119+
This release changes the list of allowed regions to only include `us-east-1` by default. This is in order to reduce the time it takes for account reset CodeBuilds to run. Previously, these codebuilds would take 1h+ to nuke the 18 default regions, even on an empty account.
120120

121121
The list of allowed regions is configurable as an `allowed_regions` Terraform variable, and may be set to any region names supported by AWS.
122122

@@ -145,25 +145,25 @@ If you would like to maintain previous behavior and run aws-nuke in _Dry Run Mod
145145
reset_nuke_toggle = false
146146
```
147147

148-
See documentation on [_Configuring Terraform Variables_](https://dce.readthedocs.io/en/latest/terraform.html#configuring-terraform-variables).
148+
See documentation.
149149

150150
## v0.23.0
151151

152152
- Added `/accounts?accountStatus=<status>` URL for querying accounts by status.
153153
- Added Lease Validation for check against max budget amount, max budget period, principal budget amount and principal budget period
154154
- Increase the threshold for Reset CodeBuild alarms to 10 failures over 5 hours.
155155
- Support `metadata` field in `POST /leases` endpoint
156-
- Fix bug where lease expiredOn/budgets/etc. were not being updated, if the account was previously used by the lease principal.
156+
- Fix bug where lease expiredOn/budgets/etc. were not being updated, if the account was previously used by the lease principal.
157157

158158
## v0.22.0
159159

160160
**BREAKING CHANGES**
161161

162-
This release includes changes to rename every reference of "Redbox" to "DCE".
162+
This release includes changes to rename every reference of "Redbox" to "DCE".
163163
In many cases, we removed namespaces entirely: for example, we'll refer to an `account` rather
164164
than a `dceAccount` wherever possible.
165165

166-
This release breaks a number of interfaces, which may require updates to DCE clients.
166+
This release breaks a number of interfaces, which may require updates to DCE clients.
167167

168168
For example:
169169

@@ -193,15 +193,15 @@ DynamoDB does not support in-place table renaming, so we will need to migrate da
193193

194194
To do this, you may run the migration script in [/scripts/migrations/v0.21.0_rename_db_tables_dce](https://github.com/Optum/dce/blob/master/scripts/migrations/v0.21.0_rename_db_tables_dce/main.go). This script will copy all data from the old tables to the new tables.
195195

196-
Note that this release does ***not*** delete the old tables, to provide the opportunity to migrate data. Subsequent releases _will_ destroy the old tables.
196+
Note that this release does ***not*** delete the old tables, to provide the opportunity to migrate data. Subsequent releases _will_ destroy the old tables.
197197

198198

199199
## v0.20.0
200200

201201
- Fixed a bug in a migration script
202202
- Fixed output from publish_lease_events that was generating confusing log entries.
203203
- Cleaned up naming for scheduling the update_lease_status lambda
204-
- Cleaned up naming for scheduling populate_reset_queue lambda to remove
204+
- Cleaned up naming for scheduling populate_reset_queue lambda to remove
205205
"weekly" and scheduled the lambda for every six hours instead of weekly.
206206
- Add `POST /leases/:id/auth` script, to generate STS creds for a leased account
207207

@@ -242,7 +242,7 @@ In order to upgrade your DCE deployment to v0.19.0, you will need to:
242242
- Sets a default expiration date for all existing `Lease` records
243243
- **IMPORTANT** you must override [the default expiration date](https://github.com/Optum/dce/blob/master/scripts/migrations/v0.19.0_db_expiring_leases/main.go#L65)
244244
- Marks all `*Locked` leases as `Inactive`
245-
- Update any DCE API clients to include the `expiresOn` property in their `Lease` record.
245+
- Update any DCE API clients to include the `expiresOn` property in their `Lease` record.
246246

247247

248248
### _Expiring Leases Model_
@@ -258,7 +258,7 @@ Changes for this new behavior include:
258258
- Changed SQS and SNS notifications for lease status change to be triggered by lease status change in DB.
259259
- Added https://readthedocs.org/ style documentation, `make documentation` target
260260
- Added generation for API documentation from Swagger YAML to https://readthedocs.org/ format.
261-
- Added defaults for leases; if ID isn't specified upon save in the DB a new one will be assigned, and if
261+
- Added defaults for leases; if ID isn't specified upon save in the DB a new one will be assigned, and if
262262
the expiration date isn't defined the environment variable `DEFAULT_LEASE_LENGTH_IN_DAYS` will be used and
263263
if that is not defined, a default of seven (7) days will be used.
264264
- Added migration for the leases to all be set to Inactive if they're anything but Active.
@@ -313,7 +313,7 @@ This release removes a number of Optum-specific configurations from the default
313313

314314
To specify a override nuke config, upload your own YAML file to an S3 bucket, and specify the S3 location using the `reset_nuke_template_bucket` and `reset_nuke_template_key` Terraform variables.
315315

316-
This release also disables `aws-nuke` by default, to prevent accidental destruction of critical AWS account resources. To re-enable `aws-nuke`, set the `reset_nuke_toggle` Terraform variable to `"true"`.
316+
This release also disables `aws-nuke` by default, to prevent accidental destruction of critical AWS account resources. To re-enable `aws-nuke`, set the `reset_nuke_toggle` Terraform variable to `"true"`.
317317

318318
## v0.12.3
319319

Makefile

+4-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ all: test build
44

55
default: test build
66

7-
fmt:
7+
fmt:
88
go fmt ./...
99

1010
format: fmt
1111

12-
vendor:
12+
vendor:
1313
go mod vendor
1414

15-
mod:
15+
mod:
1616
-go mod init github.com/Optum/dce
1717

1818
vet:
@@ -56,7 +56,6 @@ deploy: clean build
5656
# - Install [Python v3+](https://www.python.org/downloads/)
5757
# - Run `pip install -r ./docs/requirements.txt` to install Sphinx
5858
#
59-
# Public-facing docs are served by readthedocs.io
6059
documentation:
6160
./scripts/generate-awsnuke-docs.sh
6261
cd docs && make html
@@ -73,7 +72,7 @@ serve_docs: documentation
7372

7473

7574
install:
76-
go install
75+
go install
7776

7877
clean:
7978
rm -rf ./bin ./vendor ./html-doc ./site

README.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,22 @@
22

33
> **DCE<sup>TM</sup> is your playground in the cloud**
44
5-
DCE helps you quickly and safely explore the public cloud by managing temporary AWS accounts.
5+
DCE helps you quickly and safely explore the public cloud by managing temporary AWS accounts.
66

7-
Common use cases for a public cloud account include:
7+
Common use cases for a public cloud account include:
88
- Developing, testing, or operating cloud networks and applications
9-
- Improving infrastructure utilization with autoscaling
10-
- Leveraging cloud-native developer tooling
11-
- Exploring data with analytical and machine learning services
12-
- And much [more](https://aws.amazon.com/)!
9+
- Improving infrastructure utilization with autoscaling
10+
- Leveraging cloud-native developer tooling
11+
- Exploring data with analytical and machine learning services
12+
- And much [more](https://aws.amazon.com/)!
1313

14-
DCE users can "lease" an AWS account for a defined period of time and with a limited budget.
14+
DCE users can "lease" an AWS account for a defined period of time and with a limited budget.
1515

1616
At the end of the lease, or if the lease's budget is reached, the account is wiped clean and returned to the account pool so it may be leased again.
1717

1818
## Getting Started & Documentation
1919

20-
Deploy your own Disposable Cloud Environment by following the [quickstart](./docs/quickstart.md), also available on our documentation website:
21-
22-
[dce.readthedocs.io](https://dce.readthedocs.io)
20+
Documentation coming soon.
2321

2422
## DCE CLI
2523

docs/develop.md

+7-32
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ You will need the following:
2424

2525
### Configuring AWS CLI 2
2626

27-
The AWS CLI version 2 includes a breaking change that creates problems with the automation scripts. See
27+
The AWS CLI version 2 includes a breaking change that creates problems with the automation scripts. See
2828
https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html for more information.
2929

30-
For DCE, the recommeonded solution to this problem is to add the following line
30+
For DCE, the recommeonded solution to this problem is to add the following line
3131
in your `~/aws/config` file:
3232

3333
```ini
@@ -78,7 +78,7 @@ Execute unit tests by running:
7878

7979
```bash
8080
make test
81-
```
81+
```
8282

8383
## Code Linting
8484

@@ -89,7 +89,7 @@ the linting by itself by using the command:
8989
make lint
9090
```
9191

92-
During `make lint`, the `scripts/lint.sh` script executes [golangci-lint](https://github.com/golangci/golangci-lint). The configuration file is `.golangci.yml`. Enabled linters and
92+
During `make lint`, the `scripts/lint.sh` script executes [golangci-lint](https://github.com/golangci/golangci-lint). The configuration file is `.golangci.yml`. Enabled linters and
9393
rule exceptions can be found in this file.
9494

9595
The `make lint` target also executes [tflint](https://github.com/terraform-linters/tflint)
@@ -111,8 +111,8 @@ terraform apply
111111

112112
# Deploy application code to AWS
113113
cd ..
114-
make deploy
115-
```
114+
make deploy
115+
```
116116

117117
See `Deploying DCE With Terraform <terraform.html#deploy-with-terraform>`_ for more details.
118118

@@ -138,29 +138,4 @@ make test
138138

139139
## Building the documentation
140140

141-
The documentation is located in `docs` and is based on the [Sphinx project](https://docs.readthedocs.io/en/stable/intro/getting-started-with-sphinx.html) and hosted on http://readthedocs.io.
142-
143-
If you are making changes to documenation and would like to verify the build of the
144-
documentation, you will need to make sure Python 3 is installed. It is _highly recommended_
145-
that you use `virtualenv` and configure your workspace with the commands shown here:
146-
147-
```bash
148-
virtualenv -p python3 ENV
149-
source ENV/bin/activate
150-
pip install -r docs/requirements.txt
151-
```
152-
153-
With the Python requirements installed and the virtualenv sourced, use the
154-
following command from the base project directory:
155-
156-
```bash
157-
make documentation
158-
```
159-
160-
To serve the documentation locally, run the following command:
161-
162-
```bash
163-
make serve_docs
164-
```
165-
166-
By default, the documenation will be served at `http://127.0.0.1:8000`.
141+
Directions coming soon.

0 commit comments

Comments
 (0)