Skip to content

Commit

Permalink
restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
xlionjuan committed Oct 14, 2024
1 parent e017d4a commit 397959b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions createrepo/1_sign_rpm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

set -oue pipefail

rpm --addsign wwwroot/latest/*.rpm & \
rpm --addsign wwwroot/latest-suse/*.rpm & \
rpm --addsign wwwroot/nightly/*.rpm & \
rpm --addsign wwwroot/nightly-suse/*.rpm
8 changes: 8 additions & 0 deletions createrepo/2_createrepo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

set -oue pipefail

createrepo_c wwwroot/latest & \
createrepo_c wwwroot/latest-suse & \
createrepo_c wwwroot/nightly & \
createrepo_c wwwroot/nightly-suse
8 changes: 8 additions & 0 deletions createrepo/3_sign_repo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

set -oue pipefail

gpg --detach-sign --armor wwwroot/latest/repodata/repomd.xml & \
gpg --detach-sign --armor wwwroot/latest-suse/repodata/repomd.xml & \
gpg --detach-sign --armor wwwroot/nightly/repodata/repomd.xml & \
gpg --detach-sign --armor wwwroot/nightly-suse/repodata/repomd.xml

0 comments on commit 397959b

Please sign in to comment.