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

Install krb5-user

parent 9b5f8fc4
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ test_2: ...@@ -16,6 +16,7 @@ test_2:
stage: test stage: test
before_script: before_script:
# Authenticate using the keytab: # Authenticate using the keytab:
- sudo apt-get update && sudo apt-get install -y krb5-user
- base64 --decode <(echo "$KRB_KEYTAB_CONTENTS") > $KRB_USERNAME.keytab - base64 --decode <(echo "$KRB_KEYTAB_CONTENTS") > $KRB_USERNAME.keytab
- kinit $KRB_USERNAME@CERN.CH -k -t $KRB_USERNAME.keytab - kinit $KRB_USERNAME@CERN.CH -k -t $KRB_USERNAME.keytab
script: script:
...@@ -29,6 +30,7 @@ test_3: ...@@ -29,6 +30,7 @@ test_3:
stage: test stage: test
image: python:3 image: python:3
before_script: before_script:
- sudo apt-get update && sudo apt-get install -y krb5-user
# Authenticate using the keytab: # Authenticate using the keytab:
- base64 --decode <(echo "$KRB_KEYTAB_CONTENTS") > $KRB_USERNAME.keytab - base64 --decode <(echo "$KRB_KEYTAB_CONTENTS") > $KRB_USERNAME.keytab
- kinit $KRB_USERNAME@CERN.CH -k -t $KRB_USERNAME.keytab - kinit $KRB_USERNAME@CERN.CH -k -t $KRB_USERNAME.keytab
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment