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: .github/PULL_REQUEST_TEMPLATE.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,10 @@
1
1
### Proposed changes
2
-
Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to that issue here in this description (not in the title of the PR).
2
+
3
+
Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to
4
+
that issue here in this description (not in the title of the PR).
3
5
4
6
### Checklist
7
+
5
8
Before creating a PR, run through this checklist and mark each as complete.
6
9
7
10
-[ ] I have read the [CONTRIBUTING](https://github.com/nginxinc/nginx-asg-sync/blob/main/CONTRIBUTING.md) doc
Copy file name to clipboardExpand all lines: CHANGELOG.md
+25-17
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,31 @@
1
+
# Changelog
2
+
1
3
## 0.5.0 (February 24, 2021)
2
4
3
5
IMPROVEMENTS:
4
6
5
-
* Add InService option for AWS [#39](https://github.com/nginxinc/nginx-asg-sync/pull/39)
6
-
* Update log format [#42](https://github.com/nginxinc/nginx-asg-sync/pull/42)
7
+
- Add InService option for AWS [#39](https://github.com/nginxinc/nginx-asg-sync/pull/39)
8
+
- Update log format [#42](https://github.com/nginxinc/nginx-asg-sync/pull/42)
7
9
8
10
## 0.4-1 (November 22, 2019)
9
11
10
12
IMPROVEMENTS:
11
13
12
-
* Add support to set upstream server parameters: `max_conns`, `max_fails`, `fail_timeout` and `slow_start` in the configuration file. https://github.com/nginxinc/nginx-asg-sync/pull/33
13
-
* Add support to use wildcards in the names of AWS Auto Scaling groups. https://github.com/nginxinc/nginx-asg-sync/pull/29/
14
-
* Allow nginx-asg-sync to detect the region where it is running (use `region: self` in the configuration file). https://github.com/nginxinc/nginx-asg-sync/pull/27
14
+
- Add support to set upstream server parameters: `max_conns`, `max_fails`, `fail_timeout` and `slow_start` in the
- Use new NGINX Plus API <https://github.com/nginxinc/nginx-asg-sync/pull/7>
41
47
42
48
UPGRADE:
43
49
44
-
The upgrade process requires changing both NGINX Plus configuration and nginx-asg-sync configuration. Below are the recommended steps to follow:
50
+
The upgrade process requires changing both NGINX Plus configuration and nginx-asg-sync configuration. Below are the
51
+
recommended steps to follow:
45
52
46
53
1. Upgrade NGINX Plus to R14 or R15
47
-
2. Enable the new API in the NGINX Plus configuration while keeping the upstream_conf and the status API enabled. See an example of configuring the new API in the configuration section, but make sure to keep the upstream_conf and the status API.
54
+
2. Enable the new API in the NGINX Plus configuration while keeping the upstream_conf and the status API enabled. See an
55
+
example of configuring the new API in the configuration section, but make sure to keep the upstream_conf and the
56
+
status API.
48
57
3. Reload NGINX Plus to apply the updated configuration
49
58
4. Modify the /etc/nginx/aws.yaml file:
50
-
* Remove the `upstream_conf_endpoint` and `status_endpoint` fields.
51
-
* Add the `api_endpoint` field. See an example in the configuration section of the README.md
59
+
- Remove the `upstream_conf_endpoint` and `status_endpoint` fields.
60
+
- Add the `api_endpoint` field. See an example in the configuration section of the README.md
52
61
5. Download the Release 0.2 nginx-asg-sync package for your OS and upgrade the package using the OS tools (dpkg or rpm).
53
62
6. Check the logs of nginx-asg-sync to make sure that it is working properly after the upgrade.
54
63
7. Finally remove the upstream_conf and the status API from NGINX Plus configuration.
@@ -60,8 +69,7 @@ Note: the supported versions of NGINX Plus are R14 and higher.
60
69
61
70
IMPROVEMENTS:
62
71
63
-
* Make sure nginx-asg-sync works with NGINX Plus R13
64
-
72
+
- Make sure nginx-asg-sync works with NGINX Plus R13
The following is a set of guidelines for contributing to the NGINX AWS Auto-Scale Group Sync tool. We really appreciate that you are considering contributing!
3
+
The following is a set of guidelines for contributing to the NGINX AWS Auto-Scale Group Sync tool. We really appreciate
4
+
that you are considering contributing!
4
5
5
-
####Table Of Contents
6
+
## Table Of Contents
6
7
7
8
[Ask a Question](#ask-a-question)
8
9
@@ -11,8 +12,9 @@ The following is a set of guidelines for contributing to the NGINX AWS Auto-Scal
11
12
[Contributing](#contributing)
12
13
13
14
[Style Guides](#style-guides)
14
-
*[Git Style Guide](#git-style-guide)
15
-
*[Go Style Guide](#go-style-guide)
15
+
16
+
-[Git Style Guide](#git-style-guide)
17
+
-[Go Style Guide](#go-style-guide)
16
18
17
19
[Code of Conduct](CODE_OF_CONDUCT.md)
18
20
@@ -24,57 +26,66 @@ You can also join our [Community Slack](https://community.nginx.org/joinslack) w
24
26
25
27
Please reserve GitHub issues for feature requests and bugs rather than general questions.
26
28
27
-
28
29
## Getting Started
29
30
30
31
Read the installation, configuration and building steps in the [README](README.md).
31
32
32
33
### Project Structure
33
34
34
-
* nginx-asg-sync is a service written in Go that works with NGINX Plus.
35
-
* The main code is found under `/cmd/sync/`
36
-
* Tools for building the service for supported Operating Systems are found under `/build/package`
37
-
* We use [Go modules](https://github.com/golang/go/wiki/Modules) for managing dependencies.
38
-
* There is a Makefile at the project root used in the build steps.
35
+
- nginx-asg-sync is a service written in Go that works with NGINX Plus.
36
+
- The main code is found under `/cmd/sync/`
37
+
- Tools for building the service for supported Operating Systems are found under `/build/package`
38
+
- We use [Go modules](https://github.com/golang/go/wiki/Modules) for managing dependencies.
39
+
- There is a Makefile at the project root used in the build steps.
39
40
40
41
## Contributing
41
42
42
43
### Report a Bug
43
44
44
-
To report a bug, open an issue on GitHub with the label `bug` using the available bug report issue template. Please ensure the issue has not already been reported.
45
+
To report a bug, open an issue on GitHub with the label `bug` using the available bug report issue template. Please
46
+
ensure the issue has not already been reported.
45
47
46
48
### Suggest an Enhancement
47
49
48
-
To suggest an enhancement, please create an issue on GitHub with the label `enhancement` using the available feature issue template.
50
+
To suggest an enhancement, please create an issue on GitHub with the label `enhancement` using the available feature
51
+
issue template.
49
52
50
53
### Open a Pull Request
51
54
52
-
* Fork the repo, create a branch, submit a PR when your changes are tested and ready for review
53
-
* Fill in [our pull request template](.github/PULL_REQUEST_TEMPLATE.md)
55
+
- Fork the repo, create a branch, submit a PR when your changes are tested and ready for review
56
+
- Fill in [our pull request template](.github/PULL_REQUEST_TEMPLATE.md)
54
57
55
58
> **Note**
56
59
>
57
-
> If you’d like to implement a new feature, please consider creating a feature request issue first to start a discussion about the feature.
60
+
> If you’d like to implement a new feature, please consider creating a feature request issue first to start a discussion
61
+
> about the feature.
58
62
59
63
### Issue lifecycle
60
64
61
-
* When an issue or PR is created, it will be triaged by the core development team and assigned a label to indicate the type of issue it is (bug, feature request, etc) and to determine the milestone. Please see the [Issue Lifecycle](ISSUE_LIFECYCLE.md) document for more information.
65
+
- When an issue or PR is created, it will be triaged by the core development team and assigned a label to indicate the
66
+
type of issue it is (bug, feature request, etc) and to determine the milestone. Please see the [Issue
67
+
Lifecycle](ISSUE_LIFECYCLE.md) document for more information.
62
68
63
69
## Style Guides
64
70
65
71
### Git Style Guide
66
72
67
-
* Keep a clean, concise and meaningful git commit history on your branch, rebasing locally and squashing before submitting a PR
68
-
* Follow the guidelines of writing a good commit message as described here https://chris.beams.io/posts/git-commit/ and summarized in the next few points
69
-
* In the subject line, use the present tense ("Add feature" not "Added feature")
70
-
* In the subject line, use the imperative mood ("Move cursor to..." not "Moves cursor to...")
71
-
* Limit the subject line to 72 characters or less
72
-
* Reference issues and pull requests liberally after the subject line
73
-
* Add more detailed description in the body of the git message (`git commit -a` to give you more space and time in your text editor to write a good message instead of `git commit -am`)
73
+
- Keep a clean, concise and meaningful git commit history on your branch, rebasing locally and squashing before
74
+
submitting a PR
75
+
- Follow the guidelines of writing a good commit message as described here <https://chris.beams.io/posts/git-commit/>
76
+
and summarized in the next few points
77
+
- In the subject line, use the present tense ("Add feature" not "Added feature")
78
+
- In the subject line, use the imperative mood ("Move cursor to..." not "Moves cursor to...")
79
+
- Limit the subject line to 72 characters or less
80
+
- Reference issues and pull requests liberally after the subject line
81
+
- Add more detailed description in the body of the git message (`git commit -a` to give you more space and time in
82
+
your text editor to write a good message instead of `git commit -am`)
74
83
75
84
### Go Style Guide
76
85
77
-
* Run `gofmt` over your code to automatically resolve a lot of style issues. Most editors support this running automatically when saving a code file.
78
-
* Run `go lint` and `go vet` on your code too to catch any other issues.
79
-
* Follow this guide on some good practice and idioms for Go - https://github.com/golang/go/wiki/CodeReviewComments
80
-
* To check for extra issues, install [golangci-lint](https://github.com/golangci/golangci-lint) and run `make lint` or `golangci-lint run`
86
+
- Run `gofmt` over your code to automatically resolve a lot of style issues. Most editors support this running
87
+
automatically when saving a code file.
88
+
- Run `go lint` and `go vet` on your code too to catch any other issues.
89
+
- Follow this guide on some good practice and idioms for Go - <https://github.com/golang/go/wiki/CodeReviewComments>
90
+
- To check for extra issues, install [golangci-lint](https://github.com/golangci/golangci-lint) and run `make lint` or
0 commit comments