File tree Expand file tree Collapse file tree 23 files changed +100
-20
lines changed Expand file tree Collapse file tree 23 files changed +100
-20
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,23 @@ endif
1515
1616export AWS_FOLDER GOARCH ARCHITECTURE
1717
18+ check-licenses :
19+ go install github.com/elastic/go-licenser@v0.4.0
20+ go run github.com/elastic/go-licenser@v0.4.0 -d .
21+
22+ update-licenses :
23+ go install github.com/elastic/go-licenser@v0.4.0
24+ go run github.com/elastic/go-licenser@v0.4.0 .
25+
1826lint :
1927 go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.0
2028 golangci-lint --version
2129 golangci-lint run
2230
23- build :
31+ build : check-licenses
2432 GOOS=linux go build -o bin/extensions/apm-lambda-extension main.go
2533 chmod +x bin/extensions/apm-lambda-extension
26- build-and-publish : validate-layer-name validate-aws-default-region
34+ build-and-publish : check-licenses validate-layer-name validate-aws-default-region
2735ifndef AWS_ACCESS_KEY_ID
2836 $(error AWS_ACCESS_KEY_ID is undefined)
2937endif
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V. under one or more contributor
2+ // license agreements. See the NOTICE file distributed with
3+ // this work for additional information regarding copyright
4+ // ownership. Elasticsearch B.V. licenses this file to you under
5+ // the Apache License, Version 2.0 (the "License"); you may
6+ // not use this file except in compliance with the License.
7+ // You may obtain a copy of the License at
8+ //
9+ // http://www.apache.org/licenses/LICENSE-2.0
10+ //
11+ // Unless required by applicable law or agreed to in writing,
12+ // software distributed under the License is distributed on an
13+ // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ // KIND, either express or implied. See the License for the
15+ // specific language governing permissions and limitations
16+ // under the License.
17+
118package e2eTesting
219
320import (
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V. under one or more contributor
2+ // license agreements. See the NOTICE file distributed with
3+ // this work for additional information regarding copyright
4+ // ownership. Elasticsearch B.V. licenses this file to you under
5+ // the Apache License, Version 2.0 (the "License"); you may
6+ // not use this file except in compliance with the License.
7+ // You may obtain a copy of the License at
8+ //
9+ // http://www.apache.org/licenses/LICENSE-2.0
10+ //
11+ // Unless required by applicable law or agreed to in writing,
12+ // software distributed under the License is distributed on an
13+ // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ // KIND, either express or implied. See the License for the
15+ // specific language governing permissions and limitations
16+ // under the License.
17+
118package e2eTesting
219
320import (
Original file line number Diff line number Diff line change 66// not use this file except in compliance with the License.
77// You may obtain a copy of the License at
88//
9- // http://www.apache.org/licenses/LICENSE-2.0
9+ // http://www.apache.org/licenses/LICENSE-2.0
1010//
1111// Unless required by applicable law or agreed to in writing,
1212// software distributed under the License is distributed on an
Original file line number Diff line number Diff line change 66// not use this file except in compliance with the License.
77// You may obtain a copy of the License at
88//
9- // http://www.apache.org/licenses/LICENSE-2.0
9+ // http://www.apache.org/licenses/LICENSE-2.0
1010//
1111// Unless required by applicable law or agreed to in writing,
1212// software distributed under the License is distributed on an
Original file line number Diff line number Diff line change 66// not use this file except in compliance with the License.
77// You may obtain a copy of the License at
88//
9- // http://www.apache.org/licenses/LICENSE-2.0
9+ // http://www.apache.org/licenses/LICENSE-2.0
1010//
1111// Unless required by applicable law or agreed to in writing,
1212// software distributed under the License is distributed on an
Original file line number Diff line number Diff line change 66// not use this file except in compliance with the License.
77// You may obtain a copy of the License at
88//
9- // http://www.apache.org/licenses/LICENSE-2.0
9+ // http://www.apache.org/licenses/LICENSE-2.0
1010//
1111// Unless required by applicable law or agreed to in writing,
1212// software distributed under the License is distributed on an
Original file line number Diff line number Diff line change 66// not use this file except in compliance with the License.
77// You may obtain a copy of the License at
88//
9- // http://www.apache.org/licenses/LICENSE-2.0
9+ // http://www.apache.org/licenses/LICENSE-2.0
1010//
1111// Unless required by applicable law or agreed to in writing,
1212// software distributed under the License is distributed on an
Original file line number Diff line number Diff line change 66// not use this file except in compliance with the License.
77// You may obtain a copy of the License at
88//
9- // http://www.apache.org/licenses/LICENSE-2.0
9+ // http://www.apache.org/licenses/LICENSE-2.0
1010//
1111// Unless required by applicable law or agreed to in writing,
1212// software distributed under the License is distributed on an
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V. under one or more contributor
2+ // license agreements. See the NOTICE file distributed with
3+ // this work for additional information regarding copyright
4+ // ownership. Elasticsearch B.V. licenses this file to you under
5+ // the Apache License, Version 2.0 (the "License"); you may
6+ // not use this file except in compliance with the License.
7+ // You may obtain a copy of the License at
8+ //
9+ // http://www.apache.org/licenses/LICENSE-2.0
10+ //
11+ // Unless required by applicable law or agreed to in writing,
12+ // software distributed under the License is distributed on an
13+ // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ // KIND, either express or implied. See the License for the
15+ // specific language governing permissions and limitations
16+ // under the License.
17+
118package extension
219
320import (
You can’t perform that action at this time.
0 commit comments