Skip to content

Commit

Permalink
Merge pull request #4060 from arnaldo2792/migrate-to-core-kit
Browse files Browse the repository at this point in the history
Migrate to core kit
  • Loading branch information
arnaldo2792 authored Jun 20, 2024
2 parents 2d4790f + 5e340b2 commit f36b20a
Show file tree
Hide file tree
Showing 1,976 changed files with 672 additions and 111,410 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
- '**.tpl'
# Sample config files and OpenAPI docs
- '**.yaml'
# Other files that don't affect the build
- 'packages/os/eni-max-pods'

concurrency:
group: ${{ github.ref }}
Expand Down Expand Up @@ -61,23 +59,12 @@ jobs:
- uses: actions/checkout@v4
- name: Preflight step to set up the runner
uses: ./.github/actions/setup-node
- if: contains(matrix.variant, 'nvidia')
run: |
cat <<-EOF > Licenses.toml
[nvidia]
spdx-id = "LICENSE-LicenseRef-NVIDIA-Customer"
licenses = [
{ path = "NVIDIA", license-url = "https://www.nvidia.com/en-us/drivers/nvidia-license/" }
]
EOF
- run: rustup component add rustfmt
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} unit-tests
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} check-fmt
# Avoid running Go lint check via `cargo make check-lints` since there's a separate golangci-lint workflow
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} check-clippy
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} check-shell
- run: |
cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} \
-e BUILDSYS_ARCH=${{ matrix.arch }} \
-e BUILDSYS_JOBS=12 \
-e BUILDSYS_UPSTREAM_LICENSE_FETCH="${{ contains(matrix.variant, 'nvidia') }}"
-e BUILDSYS_JOBS=12
30 changes: 0 additions & 30 deletions .github/workflows/golangci-lint.yaml

This file was deleted.

285 changes: 285 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[workspace]
resolver = "1"
members = [
"packages/settings-defaults",
"packages/settings-plugins",

"variants/aws-dev",
"variants/aws-ecs-1",
"variants/aws-ecs-2",
"variants/aws-ecs-1-nvidia",
"variants/aws-ecs-2-nvidia",
"variants/aws-k8s-1.23",
"variants/aws-k8s-1.23-nvidia",
"variants/aws-k8s-1.24",
"variants/aws-k8s-1.24-nvidia",
"variants/aws-k8s-1.25",
"variants/aws-k8s-1.25-nvidia",
"variants/aws-k8s-1.26",
"variants/aws-k8s-1.26-nvidia",
"variants/aws-k8s-1.27",
"variants/aws-k8s-1.28",
"variants/aws-k8s-1.29",
"variants/aws-k8s-1.30",
"variants/aws-k8s-1.27-nvidia",
"variants/aws-k8s-1.28-nvidia",
"variants/aws-k8s-1.29-nvidia",
"variants/aws-k8s-1.30-nvidia",
"variants/metal-dev",
"variants/metal-k8s-1.27",
"variants/metal-k8s-1.28",
"variants/metal-k8s-1.29",
"variants/vmware-dev",
"variants/vmware-k8s-1.27",
"variants/vmware-k8s-1.28",
"variants/vmware-k8s-1.29",
"variants/vmware-k8s-1.30",
]

[profile.dev]
debug = false
opt-level = 'z'

[profile.dev.build-override]
opt-level = 'z'
Loading

0 comments on commit f36b20a

Please sign in to comment.