-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Pants and removed deprecated Dockerfiles (#31)
- Loading branch information
1 parent
39587f7
commit fda35a1
Showing
24 changed files
with
157 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 2020 Pants project contributors. | ||
# Licensed under the Apache License, Version 2.0 (see LICENSE). | ||
|
||
# See https://pants.readme.io/docs/using-pants-in-ci for tips on how to set up your CI with Pants. | ||
|
||
name: Pants linting | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
PANTS_CONFIG_FILES: pants.ci.toml | ||
strategy: | ||
matrix: | ||
python-version: [3.9] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pantsbuild/actions/init-pants@v9 | ||
with: | ||
# cache0 makes it easy to bust the cache if needed | ||
gha-cache-key: cache0-py${{ matrix.python_version }} | ||
named-caches-hash: ${{ hashFiles('build-support/lockfiles/*.lock') }} | ||
|
||
- name: Bootstrap Pants | ||
run: | | ||
pants --version | ||
- name: Lint | ||
run: | | ||
pants update-build-files --check lint :: | ||
# - name: Upload pants log | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: pants-log | ||
# path: .pants.d/pants.log | ||
# if: always() # We want the log even on failures. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Pants workspace files | ||
/.pants.d/ | ||
/dist/ | ||
/.pids | ||
/.pants.workdir.file_lock* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
# Dockerfiles | ||
# Dockerfiles | ||
|
||
|
||
## Deprecations/Removals | ||
|
||
### TI-specific toolchains | ||
|
||
My usage of TI-specific toolchains was dropped in favour of using Yocto or Buildroot directly, as the TI pre-packaged toolchains have a slow release/support cycle. I considered these Dockerfiles deprecated as of March 31, 2022 - and they were removed on June 12, 2024 | ||
|
||
### arm-none-eabi-gcc | ||
|
||
Support was been dropped in favour of the similar (and more consistently named) `robotpajamas/gcc-arm-none-eabi` starting on March 31, 2022 - and the associated Dockerfile was removed on June 12, 2024. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
docker_image( | ||
name="buildroot", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
docker_image( | ||
name="gcc-arm-linux-gnueabihf", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
docker_image( | ||
name="gcc-arm-none-eabi", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
file( | ||
name="entrypoint", | ||
source="docker-entrypoint.sh", | ||
) | ||
|
||
docker_image( | ||
name="gcf-cythonize", | ||
dependencies=[":entrypoint"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
docker_image( | ||
name="linux-kernel-builder", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[GLOBAL] | ||
colors = true | ||
dynamic_ui = false | ||
pantsd = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[GLOBAL] | ||
pants_version = "2.21.0" | ||
pantsd = true | ||
build_patterns = ["BUILD.pants", "BUILD"] | ||
|
||
backend_packages = [ | ||
"pants.backend.docker", | ||
"pants.backend.docker.lint.hadolint", | ||
] | ||
|
||
[python] | ||
interpreter_constraints = [">=3.9,<4"] | ||
|
||
[anonymous-telemetry] | ||
enabled = false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.