Skip to content
Closed
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
14 changes: 14 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
build --java_language_version=17
build --tool_java_language_version=17
build --java_runtime_version=remotejdk_17
build --tool_java_runtime_version=remotejdk_17

test --test_output=errors

# stop legacy behavior of creating __init__.py files
build --incompatible_default_to_explicit_init_py

common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
common --registry=https://bcr.bazel.build

common --incompatible_disallow_empty_glob
11 changes: 3 additions & 8 deletions tools/cr_checker/tool/BUILD → .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# *******************************************************************************
# Copyright (c) 2024 Contributors to the Eclipse Foundation
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -11,10 +11,5 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

py_binary(
name = "cr_checker",
srcs = [
"cr_checker.py",
],
visibility = ["//visibility:public"],
)
# Use Dockerfile to get dependabot version bumps after new image is released
FROM ghcr.io/eclipse-score/devcontainer:v1.10.0
7 changes: 7 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "eclipse-s-core",
"build": {
"dockerfile": "Dockerfile"
},
"updateContentCommand": "bazel run //:ide_support"
}
41 changes: 41 additions & 0 deletions .devcontainer/run-tool
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/env bash

# *******************************************************************************
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

# Unified entry point for running a CLI tool by name.
# Inside a container the tool is expected on PATH; outside, it is resolved via Bazel.
# See https://github.com/eclipse-score/devcontainer/tree/main/tools for further information.
#
# Do not modify this file. Its source of truth is managed by the
# SCORE devcontainer standardization policy.

set -euo pipefail

if [[ "$#" -lt 1 ]]; then
echo "Usage: $0 <tool> [args...]" >&2
exit 2
fi

tool_name="$1"
shift

if { [[ -f /.dockerenv ]] || [[ -f /run/.containerenv ]] || [[ -d /devcontainer ]]; } &&
command -v "${tool_name}" >/dev/null 2>&1; then
exec "${tool_name}" "$@"
elif command -v bazel >/dev/null 2>&1; then
exec bazel run "@score_devcontainer//tools:${tool_name}" -- "$@"
else
echo "Could not run '${tool_name}': not available on PATH in a container, and bazel was not found." >&2
exit 127
fi
21 changes: 0 additions & 21 deletions .github/actions/gitlint/action.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/copyright.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# *******************************************************************************
# Copyright (c) 2024 Contributors to the Eclipse Foundation
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -11,10 +11,20 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

filegroup(
name = "templates",
srcs = [
"templates.ini",
],
visibility = ["//visibility:public"],
)
name: Publish Documentation

on:
workflow_run:
workflows: ["PR Checks"]
types: [completed]

jobs:
docs-deploy:
if: github.event.workflow_run.conclusion == 'success'
uses: eclipse-score/cicd-workflows/.github/workflows/docs-publish.yml@206a795e30d45de82d541206fde17abe98d2b4bf
permissions:
actions: read
contents: write
id-token: write
pages: write
pull-requests: write
60 changes: 0 additions & 60 deletions .github/workflows/docs.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/format.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/gitlint.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

name: PR Checks

on:
pull_request:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
push:
branches:
- main
release:
types: [published]

jobs:
common:
uses: eclipse-score/cicd-workflows/.github/workflows/on-pr.yml@88cb460c47cb49efeb25cd7b73c8945dd1c5bce2 # on-pr/v0.0.0
permissions:
contents: read

docs-build:
uses: eclipse-score/cicd-workflows/.github/workflows/docs.yml@206a795e30d45de82d541206fde17abe98d2b4bf
with:
bazel-target: "//:docs"
30 changes: 22 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# Commonly used for local settings and secrets
.env

# Bazel
bazel-*
MODULE.bazel.lock
user.bazelrc

# Ruff
.ruff_cache
# docs build artifacts
_build/
ubproject.toml

# Python
.venv/
# Vale - editorial style guide
.vale.ini
styles/

# Environments
# direnv - folder-specific bash configuration
.envrc

# Sphinx builds
_build/
# Python
.venv*
__pycache__/
/.coverage

# bug: This file is created in repo root on test discovery.
.clwb

# AI
/.codex
/.claude
42 changes: 0 additions & 42 deletions .gitlint

This file was deleted.

Loading
Loading