Skip to content

Commit aa11052

Browse files
committed
add module build API script
1 parent 501afd3 commit aa11052

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mangle/modularity/module_build_810

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
set -x
3+
GIT_NAME="$1"
4+
GIT_HASH="$2"
5+
GIT_BRANCH="$3"
6+
TOKEN="TOKEN"
7+
8+
curl -H "Authorization: Bearer ${TOKEN}" -d '{"scmurl":"https://git.rockylinux.org/staging/modules/'${GIT_NAME}'?#'${GIT_HASH}'","branch":"'${GIT_BRANCH}'","buildrequire_overrides": {"platform": ["el8.10.0"]}}' https://mbsstg.rockylinux.org/module-build-service/1/module-builds/

0 commit comments

Comments
 (0)