Skip to content

Commit

Permalink
fiddle with github action
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriWahl committed Jul 21, 2024
1 parent b497960 commit 7238e94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-release-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- run: /usr/bin/docker build -t ${{ github.job }} -f build/Dockerfile .
# actually build .mkp file
- run: /usr/bin/docker run --volume $PWD:/source ${{ github.job }}
- run: ls -l ./*.mkp
# upload results
- uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion build/build-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ chmod go+rw $CMK/local/lib/python3/cmk/base/cee/plugins/bakery
su - cmk -c "/omd/sites/cmk/bin/mkp package $CMK/tmp/check_mk/yum.manifest.temp"

# copy created extension package back into volume
cp $CMK/var/check_mk/packages_local/*.mkp /source
cp $CMK/var/check_mk/packages_local/*.mkp $SOURCE

# let runner user access the created mkp file which is owned by root now
chmod go+r $SOURCE/*.mkp

0 comments on commit 7238e94

Please sign in to comment.