Trying fix

pull/1416/head
Quentin VIGNAUD 3 months ago
parent 9bf64dfbe1
commit 86818ce0d7

@ -13,11 +13,15 @@ env:
jobs: jobs:
ciUbuntuLatest: ciUbuntuLatest:
uses: melodium-tech/github-actions/.github/workflows/melodium-ubuntu.yml@v0.9.0 runs-on: ubuntu-latest
with: steps:
version: 0.9.0 - run: |
command: | .melodium-ci/melodium run .melodium-ci/Compo.toml buildTestAya --logs_directory '"logs/"' --github_contexts '$''{{{{ { "github": ${{ toJSON(github) }}, "vars": ${{ toJSON(vars) }}, "secrets": { "GITHUB_TOKEN": "'"$GITHUB_TOKEN"'" } } }}}}'
run .melodium-ci/Compo.toml buildTestAya --logs_directory '"logs/"' --github_contexts '$''{{{{ { "github": ${{ toJSON(github) }}, "vars": ${{ toJSON(vars) }}, "secrets": { "GITHUB_TOKEN": "'"$GITHUB_TOKEN"'" } } }}}}' # uses: melodium-tech/github-actions/.github/workflows/melodium-ubuntu.yml@v0.9.0
artifact-path: logs/ # with:
secrets: # version: 0.9.0
token: "${{ secrets.GITHUB_TOKEN }}" # command: |
# run .melodium-ci/Compo.toml buildTestAya --logs_directory '"logs/"' --github_contexts '$''{{{{ { "github": ${{ toJSON(github) }}, "vars": ${{ toJSON(vars) }}, "secrets": { "GITHUB_TOKEN": "'"$GITHUB_TOKEN"'" } } }}}}'
# artifact-path: logs/
# secrets:
# token: "${{ secrets.GITHUB_TOKEN }}"

@ -171,6 +171,7 @@ cargo hack test --doc --feature-powerset \
jobResult.finished -> step2.post_trigger jobResult.finished -> step2.post_trigger
} }
/*
#[generated(true)] #[generated(true)]
#[job(buildTestAyaEbpf)] #[job(buildTestAyaEbpf)]
treatment buildTestAyaEbpf[logger: Logger]( treatment buildTestAyaEbpf[logger: Logger](
@ -472,13 +473,11 @@ rm -rf test/.tmp/boot test/.tmp/lib
) )
extractDebianKernels: runAction[contexts = contexts, logger = logger]( extractDebianKernels: runAction[contexts = contexts, logger = logger](
commands = ${{set -euxo pipefail commands = ${{set -euxo pipefail
# The wildcard '**/boot/*' extracts kernel images and config.
# The wildcard '**/modules/*' extracts kernel modules.
# Modules are required since not all parts of the kernel we want to # Modules are required since not all parts of the kernel we want to
# test are built-in. # test are built-in.
find test/.tmp -name '*.deb' -print0 | xargs -t -0 -I {} \ find test/.tmp -name '*.deb' -print0 | xargs -t -0 -I {} \
sh -c "dpkg --fsys-tarfile {} | tar -C test/.tmp \ sh -c "dpkg --fsys-tarfile {} | tar -C test/.tmp \
--wildcards --extract '**/boot/*' '**/modules/*' --file -" --wildcards --extract '** /boot/ *' '** /modules/ *' --file -"
}}, }},
display_name = "Extract debian kernels", display_name = "Extract debian kernels",
name = "extractDebianKernels" name = "extractDebianKernels"
@ -617,3 +616,4 @@ cargo xtask integration-test vm --cache-dir test/.tmp \
jobResult.finished -> step8.post_trigger jobResult.finished -> step8.post_trigger
} }
*/

@ -10,7 +10,7 @@ use json/value::|null
use json::Json use json::Json
use log/logger::Logger use log/logger::Logger
use std/data/string_map::|map use std/data/string_map::|map
/*
#[job(codegen)] #[job(codegen)]
#[generated(true)] #[generated(true)]
treatment codegen[logger: Logger]( treatment codegen[logger: Logger](
@ -97,3 +97,4 @@ libbpf commit: ${{ steps.libbpf.outputs.sha }}
jobResult.finished -> step2.post_trigger jobResult.finished -> step2.post_trigger
} }
*/

Binary file not shown.

@ -1,10 +1,10 @@
use root/github/ci::buildTestAyaAll use root/github/ci::buildTestAyaAll
use root/github/ci::buildTestAya /*use root/github/ci::buildTestAya
use root/github/ci::buildTestAyaEbpf use root/github/ci::buildTestAyaEbpf
use root/github/ci::buildWorkflowComplete use root/github/ci::buildWorkflowComplete
use root/github/ci::lint use root/github/ci::lint
use root/github/ci::runIntegrationTest use root/github/ci::runIntegrationTest
use root/github/gen::codegen use root/github/gen::codegen*/
use cicd/logging::manageLogs use cicd/logging::manageLogs
use json/value::|null use json/value::|null
use json::Json use json::Json
@ -233,6 +233,7 @@ treatment cimatrixOsEntrypoint(
} }
*/ */
/*
#[github_workflow(/.github/workflows/gen.yml)] #[github_workflow(/.github/workflows/gen.yml)]
#[generated(true)] #[generated(true)]
treatment gen[logger: Logger]( treatment gen[logger: Logger](
@ -274,3 +275,4 @@ treatment genEntrypoint(
gen.finished -> manageLogs.stop gen.finished -> manageLogs.stop
} }
*/
Loading…
Cancel
Save