1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Azfaar Qureshi
0682db1e23
Adding Security Workflows to GitHub Actions (2/2): gosec workflow (#1429)
* adding gosec gha workflow

* removing PR and commit triggers

* adding cronjob

Co-authored-by: Azfaar Qureshi <azfaarq@amazon.com>
2021-01-06 12:06:16 -08:00
Azfaar Qureshi
11f732b85c
Adding Security Workflows to GitHub Actions (1/2): codeql workflow (#1428)
* adding codeql workfklow

* removing PR and commit triggers

* updating changelog

* removing push trigger

Co-authored-by: Azfaar Qureshi <azfaarq@amazon.com>
2021-01-06 11:54:09 -08:00
Azfaar Qureshi
3fb80fb2df
Fix duplicate checkout action in GitHub workflow (#1407)
* remove duplicate checkout

* adding changelog
2020-12-17 08:59:44 -08:00
Tyler Yahn
2051927b9b
Correct CI workflow syntax (#1403)
Remove duplicate strategy that is causing an error.
2020-12-15 18:25:04 -05:00
Azfaar Qureshi
bdf87a7896
Migrate CircleCI ci.yml workflow to GitHub Actions (#1382)
* migrating CircleCI jobs to GitHub Actions

* using container matrix instead

* prevent entire workflow from stopping if one go version job fails

* updating github ci to use setup-go

* updating changelog
2020-12-14 19:40:15 -08:00
Krzesimir Nowak
0021ab0a3a
Rework proto generation (#1371)
* Rework proto generation

The changes here are:

- Fix the default goal (using "default" target is not doing it).

- Bail out with a useful message if proto submodule is not checked
  out.

- Replace the use of docker image with downloading the protoc binary
  and building the gogofast plugin ourselves. This gives us a greater
  control over the invocation of protoc.

- Use rsync to copy the generated code, instead of pax. Pax did not
  work for me (it was complaining about the unknown -0 flag).

The control over the protoc invocation will be useful later, when we
will want to generate a code with data structures in one place and the
collector code elsewhere. The collector code may or may not depend on
gRPC, but data structures have no need for it. This split will happen
when we move the gRPC code out of the OTLP exporter module into a
submodule.

Getting rid of docker has the upside that the generated files do not
belong to root, so there is no hassle of changing the ownership of the
files, and it is not requires to use sudo for the `clean` target. And
not using docker is faster.

The downside of this work is that it depends on more tools: rsync,
unzip and wget. I can only hope that macOS users have those tools too,
and that those tools are invoked the same.

* Update protogen workflow
2020-12-07 09:36:06 -08:00
Anthony Mirabella
1d2189088d
Add workflow to check for presence of CHANGELOG changes on PRs (#1067) 2020-09-08 20:50:05 -04:00
Tyler Yahn
8f9f2d84cf
Move OTLP to the OTLP exporter (#1050)
* Move proto to OTLP exporter

* Update OTLP exporter import of proto

* Use gogo protobuf

To stop using the deprecated github.com/golang/protobuf and match what
the collector is doing, switch to generating OTLP with the
github.com/gogo/protobuf/proto instead of
github.com/golang/protobuf/proto.

* Clean dependencies

Remove all protobuf dependencies from otel package and all of its
dependencies.

* Update CHANGELOG

* Clean OTLP exporter go mod

Remove submodule beforehand to avoid unneeded direct dependencies.

* Use default ref for GitHub workflow

* Update path that triggers proto gen action

* Correct license-check exclusion for OTLP

* Update commented location of the OTLP and code
2020-08-10 19:55:52 -07:00
ET
dd79483e20
Create protobuf generation GitHub action (#938)
* Add protogen workflow

* Move out protobuf generation to Makefile.proto

* Include in Changelog

* Update Makefile.proto

Move file-local mode variable to line by itself.

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-07-16 10:07:59 -07:00
ET
2f59a27a28
Allow changes to go.sum *and* go.mod when running dependabot tidy-up (#871)
Transitive dependency changes sometimes do require a change to go.mod
files as well as go.sum. This is already live in the
opentelemetry-go-contrib repo, and this PR brings it here.
2020-06-24 13:35:14 -07:00
ET
f29cc497bf
Apply transitive dependabot go.mod dependency updates as part of automatic Github workflow (#844) 2020-06-22 12:34:11 -04:00