Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 0 additions & 11 deletions .build/Dockerfile

This file was deleted.

26 changes: 0 additions & 26 deletions .build/googet/google-cloud-metrics-agent.goospec

This file was deleted.

52 changes: 0 additions & 52 deletions .build/googet/install.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

9 changes: 0 additions & 9 deletions .github/header-checker-lint.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/presubmit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Presubmit

on:
pull_request:
branches:
- master

env:
# Default minimum version of Go to support.
DEFAULT_GO_VERSION: 1.24.1
jobs:
build:
strategy:
matrix:
os: [ubuntu-24.04]
go: [1.24.1]
runs-on: ${{matrix.os}}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
cache: true
- name: Install Tools
run: make install-tools
- name: Run presubmit (GPU off)
run: make presubmit
- name: Run presubmit (GPU on)
run: GO_BUILD_TAGS=gpu make presubmit
37 changes: 0 additions & 37 deletions .github/workflows/presubmit.yml

This file was deleted.

44 changes: 11 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,16 @@
bin/
dist/
# Workspaces
go.work
go.work.sum

## Editors
# Tools from builds and dev environment
**/.tools

# GoLand IDEA
/.idea/
*.iml
# The ocb build directory
**/_build

# VS Code
# For VSCode users
.vscode

# Emacs
*~
\#*\#

# Miscellaneous files
*.sw[op]
*.DS_Store

# Coverage
coverage.txt
coverage.html

# Wix
*.wixobj
*.wixpdb

## Unwanted Files

# GPU receiver generated component tests

# These generated test files do not work with the "default off" build tag
# approach we use for the GPU receivers. As such we'll simply eschew these
# generated files and copy them manually into files with proper build tags.
# - @braydonk, 2024-05-22
receiver/nvmlreceiver/generated_component_test.go
receiver/dcgmreceiver/generated_component_test.go
# Binaries from builds
/google-otel/otelcol-google
/otelopscol/otelopscol
63 changes: 0 additions & 63 deletions .golangci.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
Loading
Loading