Skip to content
Snippets Groups Projects
Commit 62e9f976 authored by Albin Stjerna's avatar Albin Stjerna
Browse files

Add koji list-permissions etc

parent 7bb3e7bb
No related branches found
No related tags found
No related merge requests found
...@@ -52,18 +52,21 @@ deploy: ...@@ -52,18 +52,21 @@ deploy:
# - tags # - tags
before_script: before_script:
- bash -c "base64 -d <(echo \"$KRB_KEYTAB_CONTENTS\") > $KRB_USERNAME.keytab"
- kinit -k -t $KRB_USERNAME.keytab $KRB_USERNAME@CERN.CH
- yum install -y koji - yum install -y koji
- mkdir -p ~/.koji/ - mkdir -p ~/.koji/
- > - >
echo '[koji]\n echo "[koji]\n
server = http://koji.cern.ch/kojihub\n server = http://koji.cern.ch/kojihub\n
weburl = http://koji.cern.ch/koji\n weburl = http://koji.cern.ch/koji\n
topurl = http://koji.cern.ch/kojifiles\n topurl = http://koji.cern.ch/kojifiles\n
cert = /not/existing/file\n' cert = /not/existing/file\n"
> ~/.koji/config > ~/.koji/config
script: script:
- cat ~/.koji/config - cat ~/.koji/config
- koji list-permissions --mine
# - make build
# rpm: # rpm:
# image: ubuntu:latest # image: ubuntu:latest
# stage: build # stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment