Skip to content

Commit

Permalink
workflows: build: Set up and run in own docker
Browse files Browse the repository at this point in the history
Remove github's docker engine and replace it by setting up a
docker environment that is run in the background. Stop and remove
the docker environment at the end of the workflow.

Run the commands in the created container. In order for this to work
all the jobs needed to be switched to use docker, since the
local build action now uses the docker command as its shell, which
breaks non-dockerized use.

Any Node16 issues are solved by running commands in the
container.

Signed-off-by: Louis Peens <[email protected]>
Co-developed-by: Annemie Potgieter <[email protected]>
Reviewed-by: Charles Murcott <[email protected]>
Reviewed-by: Ryno Swart <[email protected]>
Reviewed-by: Shivasen Govender <[email protected]>
  • Loading branch information
louis-peens committed Dec 3, 2024
1 parent f3a9280 commit f5071cb
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/actions/unpack-rpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
using: "composite"
steps:
- name: Unpack
shell: sh
shell: docker exec ci_drv_container bash {0}
run: |
mkdir -p "${{ inputs.output-path }}"
find "${{ inputs.input-path }}" -type f -name "*.rpm" -print0 | \
Expand Down
Loading

0 comments on commit f5071cb

Please sign in to comment.