~pelpsi/lpci:jobs-cannot-run-as-root

Last commit made on 2023-04-20
Get this branch:
git clone -b jobs-cannot-run-as-root https://git.launchpad.net/~pelpsi/lpci
Only Simone Pelosi can upload to this branch. If you are Simone Pelosi please log in for upload directions.

Branch merges

Branch information

Name:
jobs-cannot-run-as-root
Repository:
lp:~pelpsi/lpci

Recent commits

dbc25c6... by Simone Pelosi

Add a root flag

New root flag to choose whether to run commands as root or as default user (_lpci).
Lpci runs jobs as root inside the container.
However, there are some reasonable jobs that call code that refuses to run as root.

LP: #1982954

Succeeded
[SUCCEEDED] test:0 (build)
[SUCCEEDED] build:0 (build)
12 of 2 results
cd5d60a... by Simone Pelosi

Removed policy-rc.d

The presence of the following file is preventing services from running in CI.

LP: #1995954

Succeeded
[SUCCEEDED] test:0 (build)
[SUCCEEDED] build:0 (build)
12 of 2 results
99cefd9... by Guruprasad

Fix the test for the validation of wrong values for classic snap installation

cdba9bc... by Guruprasad

Fix the yaml formatting in the snap deprecated format warning

de628ea... by Guruprasad

Switch to the development version 0.1.1.dev0

8580a7a... by Colin Watson

Release version 0.1.0

1131bd2... by Simone Pelosi

Rebased and NEWS updated

Succeeded
[SUCCEEDED] test:0 (build)
[SUCCEEDED] build:0 (build)
12 of 2 results
bd6f37e... by Simone Pelosi

Improved test coverage

Added a new step that throws a RuntimeException exhausting the for-loop without finding the recipe.
This step does not depend on the order of the files returned by .iterdir()

f783370... by Simone Pelosi

Added noise data to cover all test cases

Added a.txt file and b.txt file to cover the jump instruction in the for loop

5db66cb... by Simone Pelosi

Added new new configurable option recipe-folder

Added a new configurable option (default value ./info) called recipe-folder,
to be able to specify the recipe itself, or the recipe search path.
Using this approach the search path for variant config files will be scoped
to the recipe_folder and its parents.
Added test case.

LP: #1978715