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

build: Don't expose drone secrets on PR builds #431

Merged
merged 4 commits into from
Apr 19, 2023
Merged

Conversation

adriansr
Copy link
Contributor

@adriansr adriansr commented Apr 19, 2023

Due to security reasons Drone CI secrets are not exposed when the pull request is from a fork. That is why pipeline steps requiring secrets should be skipped.

@adriansr adriansr requested a review from a team as a code owner April 19, 2023 14:43
Drone runs for PRs don't have access to secrets anymore, so skip this
step for PR builds and keep it for releases and merges to main.
@adriansr adriansr changed the title Testing PR builds with drone, please ignore build: Don't expose drone secrets to PR builds Apr 19, 2023
@adriansr adriansr changed the title build: Don't expose drone secrets to PR builds build: Don't expose drone secrets on PR builds Apr 19, 2023
@adriansr adriansr merged commit 06a9cb7 into grafana:main Apr 19, 2023
@adriansr adriansr deleted the test branch April 19, 2023 17:22
adriansr added a commit that referenced this pull request Apr 19, 2023
* fix: Use Go 1.20.3 to build Agent (#430)
* build: Don't expose drone secrets on PR builds (#431)
* Chore(deps): Bump github.com/miekg/dns from 1.1.50 to 1.1.52
* Chore(deps): Bump kernel.org/pub/linux/libs/security/libcap/cap
* Chore(deps): Bump github.com/prometheus/prometheus from 0.42.0 to 0.43.0
* Chore(deps): Bump golang.org/x/text from 0.3.7 to 0.3.8 in /scripts/go
* Chore(deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
* Chore(deps): Bump google.golang.org/grpc from 1.52.3 to 1.54.0
* Add status to the log entry for publisher errors
* Update github.com/prometheus/common to v0.42.0
* Update github.com/prometheus/prometheus to v0.42.0 (2.42.0)

Signed-off-by: Adrian Serrano <adrisr83@gmail.com>
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.

None yet

2 participants