Skip to content

Commit 646a79f

Browse files
gdamskarianna
andauthored
add license checker GH action (adoptium#3721)
* add license checker GH action * test * update dates to be correct * review fixes --------- Co-authored-by: Martijn Verburg <[email protected]>
1 parent 59e7ee9 commit 646a79f

File tree

95 files changed

+1181
-650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1181
-650
lines changed

.azure-devops/build/build.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
# Build Stages Template
215
#
316
# supported platform & versions:

.azure-devops/build/steps/macOS/before.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
# before.yml
215
# install macOS platform dependencies & set environment variables
316

.azure-devops/build/steps/macOS/build_hotspot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
# build_hotspot.yml
215
# run the ./makejdk-any-platform.sh and upload generated files to artifacts
316

.azure-devops/build/steps/shared/after.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
steps:
215
# display all environment variables when system.debug is set to true
316
- bash: |

.azure-devops/build/steps/shared/before.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
# before.yml
215
# 1. check required environment variables
316
# 2. checkout openjdk-build repo

.azure-devops/build/steps/shared/set_boot_jdk_version.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
steps:
215
- bash: |
316
BOOTJDK_VERSION=

.azure-devops/build/steps/windows/before.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
# before.yml
215
# install Windows platform dependencies & set environment variables
316

.azure-devops/build/steps/windows/build_hotspot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
# build_hotspot.yml
215
# run the ./makejdk-any-platform.sh and upload generated files to artifacts
316

.azure-devops/openjdk-pipelines.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
name: "Adoptium-$(JAVA_TO_BUILD)-$(Date:yyyy-MM-dd)"
215

316
trigger: none

.azure-devops/test/jobs/steps/parallel.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
steps:
215
- script: |
316
brew update

.azure-devops/test/jobs/steps/test.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
steps:
215
- script: |
316
brew update

.azure-devops/test/jobs/template.yml

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
113

214
jobs:
315
- job: generate_parallelList_${{ parameters.buildList }}

.azure-devops/test/sanity.yml

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
113

214
stages:
315
- stage: Test_openjdk_hs_sanity_functional_x86_64_mac

.github/dependabot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2022 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
version: 2
215
updates:
316
- package-ecosystem: github-actions

.github/labeler.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2021 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
# Config file used by .github/workflows/labeler.yml
215

316
# This file matches file/folder changes to labels. See https://github.com/actions/labeler for more information.

.github/linters/suppressed-java.xml

+15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
<?xml version="1.0"?>
2+
<!--
3+
~ ********************************************************************************
4+
~ Copyright (c) 2021 Contributors to the Eclipse Foundation
5+
~
6+
~ See the NOTICE file(s) with this work for additional
7+
~ information regarding copyright ownership.
8+
~
9+
~ This program and the accompanying materials are made
10+
~ available under the terms of the Apache Software License 2.0
11+
~ which is available at https://www.apache.org/licenses/LICENSE-2.0.
12+
~
13+
~ SPDX-License-Identifier: Apache-2.0
14+
~ ********************************************************************************
15+
-->
16+
217

318
<!DOCTYPE suppressions PUBLIC
419
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"

.github/regex_labeler.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2021 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
# Config file used by .github/workflows/labeler.yml
215

316
# This file matches issue/pr contents using regex to labels. See Multi Labeller https://github.com/marketplace/actions/multi-labeler for more information.

.github/workflows/build-autotriage.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2023 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
---
215
name: Build Autotriage
316

.github/workflows/build.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2020 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
---
215
name: Build
316

.github/workflows/ca-cert-updater.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2021 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
name: CA Certs Update
215
on:
316
workflow_dispatch:

.github/workflows/code-freeze.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2023 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
name: Code Freeze Bot
215

316
# Controls when the workflow will run

.github/workflows/comment-bot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2021 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
name: "Comment Bot"
215

316
on:

.github/workflows/dependabot-auto-merge.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2022 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
name: Dependabot auto-merge
215
on: pull_request_target
316

0 commit comments

Comments
 (0)