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

setup Dependabot for go mod #1753

Closed
wants to merge 65 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
fda8dbc
Update dependabot.yml
CharlieTLe Oct 25, 2024
96aa5a6
add genproto
CharlieTLe Oct 25, 2024
57d09a2
Merge pull request #16 from CharlieTLe/setup-dependabot-gomod
CharlieTLe Oct 25, 2024
cb997f8
build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/htt…
dependabot[bot] Oct 25, 2024
8f55dc3
Merge pull request #21 from CharlieTLe/dependabot/go_modules/src/chec…
CharlieTLe Oct 26, 2024
ef8bf3f
Update dependabot.yml
CharlieTLe Oct 26, 2024
8f0f3a8
build(deps): bump google.golang.org/grpc/cmd/protoc-gen-go-grpc
dependabot[bot] Oct 26, 2024
e842878
Merge pull request #20 from CharlieTLe/dependabot/go_modules/src/chec…
CharlieTLe Oct 26, 2024
b95ea83
build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o…
dependabot[bot] Oct 26, 2024
8e19269
build(deps): bump google.golang.org/protobuf in /src/checkoutservice
dependabot[bot] Oct 26, 2024
365fe24
Merge pull request #17 from CharlieTLe/dependabot/go_modules/src/chec…
CharlieTLe Oct 26, 2024
5a5307c
Merge pull request #19 from CharlieTLe/dependabot/go_modules/src/chec…
CharlieTLe Oct 26, 2024
dd6ef49
Update dependabot.yml
CharlieTLe Oct 26, 2024
4b0251b
build(deps): bump go.opentelemetry.io/contrib/instrumentation/runtime
dependabot[bot] Oct 26, 2024
4e43f46
build(deps): bump go.opentelemetry.io/otel/sdk/metric
dependabot[bot] Oct 26, 2024
22b2a3e
build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.…
dependabot[bot] Oct 26, 2024
cc4e4e2
build(deps): bump github.com/open-feature/go-sdk in /src/checkoutservice
dependabot[bot] Oct 26, 2024
4715642
build(deps): bump github.com/open-feature/go-sdk-contrib/providers/flagd
dependabot[bot] Oct 26, 2024
52b10c7
build(deps): bump go.opentelemetry.io/otel/sdk
dependabot[bot] Oct 26, 2024
9c287c9
Create dependabot-prs.yml
CharlieTLe Oct 26, 2024
136dbb5
Merge pull request #35 from CharlieTLe/dependabot/go_modules/src/prod…
CharlieTLe Oct 26, 2024
5576f48
build(deps): bump go.opentelemetry.io/otel/sdk/metric
dependabot[bot] Oct 26, 2024
b098b69
Update dependabot-prs.yml
CharlieTLe Oct 26, 2024
e0ef72a
build(deps): bump google.golang.org/protobuf
dependabot[bot] Oct 26, 2024
b041ef0
Update dependabot-prs.yml
CharlieTLe Oct 26, 2024
e73a4c7
build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/…
dependabot[bot] Oct 26, 2024
4227f2c
Update checks.yml
CharlieTLe Oct 26, 2024
f99a8c7
Update dependabot.yml
CharlieTLe Oct 26, 2024
6fa7d34
Update dependabot-prs.yml
CharlieTLe Oct 26, 2024
8019c9c
Merge pull request #34 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
da2d47b
Update dependabot.yml
CharlieTLe Oct 26, 2024
9aa0589
Merge pull request #27 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
6d4460d
Merge pull request #33 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
0129751
Merge pull request #32 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
f53f8a9
Merge pull request #30 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
3b76d6f
Merge pull request #28 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
1b24a8e
Merge pull request #26 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
72d2db8
build(deps): bump google.golang.org/grpc/cmd/protoc-gen-go-grpc
dependabot[bot] Oct 26, 2024
1d53040
Merge pull request #31 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
62e2bda
build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o…
dependabot[bot] Oct 26, 2024
34292cf
Merge pull request #29 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
231f6e9
Update dependabot.yml
CharlieTLe Oct 26, 2024
5f8b021
build(deps): bump github.com/open-feature/go-sdk-contrib/hooks/open-t…
dependabot[bot] Oct 26, 2024
ef04a11
Merge pull request #36 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
48101a3
build(deps): bump go.opentelemetry.io/contrib/instrumentation/runtime
dependabot[bot] Oct 26, 2024
505ef0e
build(deps): bump github.com/IBM/sarama in /src/checkoutservice
dependabot[bot] Oct 26, 2024
b07423d
build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/…
dependabot[bot] Oct 26, 2024
192ef07
build(deps): bump go.opentelemetry.io/contrib/instrumentation/runtime
dependabot[bot] Oct 26, 2024
eb1a710
Merge pull request #38 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
5910f10
build(deps): bump github.com/open-feature/go-sdk
dependabot[bot] Oct 26, 2024
85cd801
Merge pull request #39 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
437473f
build(deps): bump github.com/open-feature/go-sdk-contrib/providers/flagd
dependabot[bot] Oct 26, 2024
0dee020
Merge pull request #37 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
34f0083
Merge pull request #40 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
360db56
Merge pull request #41 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
10f3dd2
Merge pull request #43 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
ac06e23
build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.…
dependabot[bot] Oct 26, 2024
6f54664
Merge pull request #42 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
5230fe6
Merge pull request #25 from CharlieTLe/dependabot/go_modules/src/chec…
github-actions[bot] Oct 26, 2024
25427a1
build(deps): bump github.com/open-feature/go-sdk-contrib/hooks/open-t…
dependabot[bot] Oct 26, 2024
cc9b43f
Merge pull request #44 from CharlieTLe/dependabot/go_modules/src/prod…
github-actions[bot] Oct 26, 2024
bb2c5c0
Update component-build-images.yml
CharlieTLe Oct 26, 2024
6604252
Update dependabot-prs.yml
CharlieTLe Oct 26, 2024
6d4512e
Update dependabot.yml
CharlieTLe Oct 26, 2024
eb1de63
Update dependabot-prs.yml
CharlieTLe Oct 26, 2024
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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ updates:
interval: "daily"
labels:
- "infra"
- package-ecosystem: "gomod"
directories:
# - "/src/checkoutservice"
- "/src/productcatalogservice"
open-pull-requests-limit: 20
schedule:
interval: "daily"
2 changes: 0 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
name: Checks

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
Expand Down
144 changes: 72 additions & 72 deletions .github/workflows/component-build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,86 +39,86 @@
fail-fast: false
matrix:
file_tag:
- file: ./src/accountingservice/Dockerfile
tag_suffix: accountingservice
context: ./
setup-qemu: true
- file: ./src/adservice/Dockerfile
tag_suffix: adservice
context: ./
setup-qemu: true
- file: ./src/cartservice/src/Dockerfile
tag_suffix: cartservice
context: ./
setup-qemu: false
# - file: ./src/accountingservice/Dockerfile
# tag_suffix: accountingservice
# context: ./
# setup-qemu: true
# - file: ./src/adservice/Dockerfile
# tag_suffix: adservice
# context: ./
# setup-qemu: true
# - file: ./src/cartservice/src/Dockerfile
# tag_suffix: cartservice
# context: ./
# setup-qemu: false
- file: ./src/checkoutservice/Dockerfile
tag_suffix: checkoutservice
context: ./
setup-qemu: true
- file: ./src/currencyservice/Dockerfile
tag_suffix: currencyservice
context: ./
setup-qemu: true
- file: ./src/emailservice/Dockerfile
tag_suffix: emailservice
context: ./
setup-qemu: true
- file: ./src/frauddetectionservice/Dockerfile
tag_suffix: frauddetectionservice
context: ./
setup-qemu: true
- file: ./src/frontend/Dockerfile
tag_suffix: frontend
context: ./
setup-qemu: true
- file: ./src/frontendproxy/Dockerfile
tag_suffix: frontendproxy
context: ./
setup-qemu: true
- file: ./src/frontend/Dockerfile.cypress
tag_suffix: frontend-tests
context: ./
setup-qemu: true
- file: ./src/imageprovider/Dockerfile
tag_suffix: imageprovider
context: ./
setup-qemu: true
- file: ./src/kafka/Dockerfile
tag_suffix: kafka
context: ./
setup-qemu: true
- file: ./src/loadgenerator/Dockerfile
tag_suffix: loadgenerator
context: ./
setup-qemu: true
- file: ./src/paymentservice/Dockerfile
tag_suffix: paymentservice
context: ./
setup-qemu: true
# - file: ./src/currencyservice/Dockerfile
# tag_suffix: currencyservice
# context: ./
# setup-qemu: true
# - file: ./src/emailservice/Dockerfile
# tag_suffix: emailservice
# context: ./
# setup-qemu: true
# - file: ./src/frauddetectionservice/Dockerfile
# tag_suffix: frauddetectionservice
# context: ./
# setup-qemu: true
# - file: ./src/frontend/Dockerfile
# tag_suffix: frontend
# context: ./
# setup-qemu: true
# - file: ./src/frontendproxy/Dockerfile
# tag_suffix: frontendproxy
# context: ./
# setup-qemu: true
# - file: ./src/frontend/Dockerfile.cypress
# tag_suffix: frontend-tests
# context: ./
# setup-qemu: true
# - file: ./src/imageprovider/Dockerfile
# tag_suffix: imageprovider
# context: ./
# setup-qemu: true
# - file: ./src/kafka/Dockerfile
# tag_suffix: kafka
# context: ./
# setup-qemu: true
# - file: ./src/loadgenerator/Dockerfile
# tag_suffix: loadgenerator
# context: ./
# setup-qemu: true
# - file: ./src/paymentservice/Dockerfile
# tag_suffix: paymentservice
# context: ./
# setup-qemu: true
- file: ./src/productcatalogservice/Dockerfile
tag_suffix: productcatalogservice
context: ./
setup-qemu: true
- file: ./src/quoteservice/Dockerfile
tag_suffix: quoteservice
context: ./
setup-qemu: true
- file: ./src/recommendationservice/Dockerfile
tag_suffix: recommendationservice
context: ./
setup-qemu: true
- file: ./src/shippingservice/Dockerfile
tag_suffix: shippingservice
context: ./
setup-qemu: true
- file: ./src/flagd-ui/Dockerfile
tag_suffix: flagdui
context: ./
setup-qemu: true
- file: ./test/tracetesting/Dockerfile
tag_suffix: traceBasedTests
context: ./
setup-qemu: true
# - file: ./src/quoteservice/Dockerfile

Check warning on line 102 in .github/workflows/component-build-images.yml

View workflow job for this annotation

GitHub Actions / yamllint

102:11 [comments-indentation] comment not indented like content
# tag_suffix: quoteservice
# context: ./
# setup-qemu: true
# - file: ./src/recommendationservice/Dockerfile
# tag_suffix: recommendationservice
# context: ./
# setup-qemu: true
# - file: ./src/shippingservice/Dockerfile
# tag_suffix: shippingservice
# context: ./
# setup-qemu: true
# - file: ./src/flagd-ui/Dockerfile
# tag_suffix: flagdui
# context: ./
# setup-qemu: true
# - file: ./test/tracetesting/Dockerfile
# tag_suffix: traceBasedTests
# context: ./
# setup-qemu: true

steps:
- uses: actions/checkout@v4
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/dependabot-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
name: Dependabot auto-merge
on:
pull_request:
branches: [ main ]
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'charlietle/opentelemetry-demo'
CharlieTLe marked this conversation as resolved.
Show resolved Hide resolved
needs: [build_images, markdownlint, yamllint, misspell, markdownlinkcheck, sanity, checklicense]
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Loading
Loading