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

Add tink-agent binary #762

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

chrisdoherty4
Copy link
Member

Depends on #734

This PR adds the tink-agent binary to that includes minimal configuration to enable launching an agent with connectivity over gRPC to a server.

@chrisdoherty4 chrisdoherty4 force-pushed the feature/agent branch 2 times, most recently from 365f016 to d708e47 Compare June 22, 2023 01:07
@codecov
Copy link

codecov bot commented Jun 22, 2023

Codecov Report

Merging #762 (1f860e4) into main (f20a793) will increase coverage by 0.20%.
The diff coverage is 100.00%.

❗ Current head 1f860e4 differs from pull request most recent head 2946cc3. Consider uploading reports for the commit 2946cc3 to get more accurate results

@@            Coverage Diff             @@
##             main     #762      +/-   ##
==========================================
+ Coverage   51.70%   51.90%   +0.20%     
==========================================
  Files          32       32              
  Lines        1441     1441              
==========================================
+ Hits          745      748       +3     
+ Misses        655      650       -5     
- Partials       41       43       +2     
Impacted Files Coverage Δ
internal/agent/run.go 83.67% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@chrisdoherty4 chrisdoherty4 force-pushed the feature/agent branch 4 times, most recently from 011e7d0 to d1c781c Compare June 22, 2023 01:18

flgs := cmd.Flags()
flgs.StringVar(&opts.AgentID, "agent-id", "", "An ID that uniquely identifies the agent instance")
flgs.StringVar(&opts.TinkServerAddr, "tink-server-addr", "127.0.0.1:42113", "Tink server address")
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure about the option here. It might be better to use grpc-addr complimenting the idea that we could have multiple transports. Introducing the file transport may inform us better.

Signed-off-by: Chris Doherty <[email protected]>
@jacobweinstock jacobweinstock added the ready-to-merge Signal to Mergify to merge the PR. label Jul 11, 2023
@mergify mergify bot merged commit 7c4c6a0 into tinkerbell:main Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants