Skip to content
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

feat: Added changes for upgrading some of the binaries & Go-Version in Litmuschecker #389

Merged
merged 6 commits into from
Jul 21, 2023

Conversation

Jonsy13
Copy link
Contributor

@Jonsy13 Jonsy13 commented Jun 29, 2023

What this PR does / why we need it:

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

neelanjan00
neelanjan00 previously approved these changes Jun 29, 2023
gdsoumya
gdsoumya previously approved these changes Jul 21, 2023
Signed-off-by: Jonsy13 <[email protected]>
@@ -1,10 +1,10 @@
module github.com/litmuschaos/dns_interceptor

go 1.19
go 1.20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has cgo dependency - we can test the binary once

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested -

vedant_shrotria@qa-lci-vm-2:~/test-tools/custom/dns_interceptor$ go mod tidy
go: downloading github.com/miekg/dns v1.1.41
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading golang.org/x/sys v0.5.0
go: downloading github.com/stretchr/testify v1.7.0
go: downloading golang.org/x/net v0.7.0
go: downloading golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
vedant_shrotria@qa-lci-vm-2:~/test-tools/custom/dns_interceptor$ go build
vedant_shrotria@qa-lci-vm-2:~/test-tools/custom/dns_interceptor$ ls
README.md  dns_interceptor  go.mod  go.sum  main.go  server
vedant_shrotria@qa-lci-vm-2:~/test-tools/custom/dns_interceptor$ ./dns_interceptor
[INFO] No PID mentioned running in current ns
INFO[0000] DNS Interceptor Port                          port=53
INFO[0000] Upstream DNS Server                           server="127.0.0.53:53"
INFO[0000] Chaos Error Targets                           targets="[]"
INFO[0000] Chaos Spoof Map                               spoof_map="map[]"
FATA[0000] Failed to create Interceptor                  error="wrong chaos type for dns chaos"
vedant_shrotria@qa-lci-vm-2:~/test-tools/custom/dns_interceptor$ cat go.mod
module github.com/litmuschaos/dns_interceptor

go 1.20

require (
        github.com/miekg/dns v1.1.41
        github.com/sirupsen/logrus v1.9.3
)

require (
        golang.org/x/net v0.0.0-20220906165146-f3363e06e74c // indirect
        golang.org/x/sys v0.5.0 // indirect
)

replace golang.org/x/net => golang.org/x/net v0.7.0
vedant_shrotria@qa-lci-vm-2:~/test-tools/custom/dns_interceptor$ go version
go version go1.20.3 linux/amd64

@uditgaurav uditgaurav merged commit a23296b into litmuschaos:master Jul 21, 2023
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants