Skip to content

Release 0.4 1 #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 0.4-1 (November 22, 2019)

IMPROVEMENTS:

* 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
* Add support to use wildcards in the names of AWS Auto Scaling groups. https://github.com/nginxinc/nginx-asg-sync/pull/29/
* 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

## 0.3-1 (September 4, 2019)

IMPROVEMENTS:
Expand Down
7 changes: 7 additions & 0 deletions build/package/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
nginx-asg-sync (0.4-1-%%CODENAME%%) unstable; urgency=low

* 0.4-1
* Add support to set upstream server parameters (max_conns, max_fails, fail_timeout and slow_start)
* Add support to use wildcards in AWS autoscaling groups
* Allow to use the same AWS region as the instance where the nginx-asg-sync is running

nginx-asg-sync (0.3-1-%%CODENAME%%) unstable; urgency=low

* 0.3-1
Expand Down
8 changes: 7 additions & 1 deletion build/package/rpm/SPECS/nginx-asg-sync.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Summary: NGINX Plus Integration with Cloud Autoscaling
Name: nginx-asg-sync
Version: 0.3
Version: 0.4
Release: 1%{?dist}
Vendor: Nginx Software, Inc.
URL: https://github.com/nginxinc/nginx-asg-sync
Expand Down Expand Up @@ -110,6 +110,12 @@ if [ $1 -ge 1 ]; then
fi

%changelog
* Fri Nov 22 2019 Raul Marrero <raul.marrero@nginx.com>
- 0.4-1
- Add support to set upstream server parameters (max_conns, max_fails, fail_timeout and slow_start)
- Add support to use wildcards in AWS autoscaling groups
- Allow to use the same AWS region as the instance where the nginx-asg-sync is running

* Wed Sep 4 2019 Raul Marrero <raul.marrero@nginx.com>
- 0.3-1
- Add support for Azure Virtual Machine Scale Sets
Expand Down
2 changes: 1 addition & 1 deletion cmd/sync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (

var configFile = flag.String("config_path", "/etc/nginx/config.yaml", "Path to the config file")
var logFile = flag.String("log_path", "", "Path to the log file. If the file doesn't exist, it will be created")
var version = "0.3-1"
var version = "0.4-1"

const connTimeoutInSecs = 10

Expand Down
2 changes: 1 addition & 1 deletion cmd/sync/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ func getSlowStartOrDefault(slowStart string) string {
}

return slowStart
}
}
18 changes: 9 additions & 9 deletions cmd/sync/parameters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import (
)

func TestGetFailTimeoutOrDefault(t *testing.T) {
tests := []struct{
input string
tests := []struct {
input string
expected string
}{
{
input: "",
input: "",
expected: defaultFailTimeout,
},
{
input: "10s",
input: "10s",
expected: "10s",
},
}
Expand All @@ -28,16 +28,16 @@ func TestGetFailTimeoutOrDefault(t *testing.T) {
}

func TestGetSlowStartOrDefault(t *testing.T) {
tests := []struct{
input string
tests := []struct {
input string
expected string
}{
{
input: "",
input: "",
expected: defaultSlowStart,
},
{
input: "10s",
input: "10s",
expected: "10s",
},
}
Expand All @@ -48,4 +48,4 @@ func TestGetSlowStartOrDefault(t *testing.T) {
t.Errorf("getSlowStartOrDefault(%v) returned %v but expected %v", test.input, result, test.expected)
}
}
}
}