Skip to content

Commit

Permalink
[AIRFLOW-3003] Pull the krb5 image instead of building (apache#3844)
Browse files Browse the repository at this point in the history
Pull the image instead of building it, this will speed up the CI
process since we don't have to build it every time.
  • Loading branch information
Fokko authored and odracci committed Jan 6, 2019
1 parent 46360f1 commit 3fa40e7
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 191 deletions.
2 changes: 1 addition & 1 deletion scripts/ci/2-setup-kdc.sh
Expand Up @@ -30,7 +30,7 @@ KRB5_KTNAME=/etc/airflow.keytab
cat /etc/hosts
echo "hostname: ${FQDN}"

sudo cp $DIRNAME/krb5/krb-conf/client/krb5.conf /etc/krb5.conf
sudo cp $DIRNAME/krb5/krb5.conf /etc/krb5.conf

echo -e "${PASS}\n${PASS}" | sudo kadmin -p ${ADMIN}/admin -w ${PASS} -q "addprinc -randkey airflow/${FQDN}"
sudo kadmin -p ${ADMIN}/admin -w ${PASS} -q "ktadd -k ${KRB5_KTNAME} airflow"
Expand Down
3 changes: 1 addition & 2 deletions scripts/ci/docker-compose.yml
Expand Up @@ -57,8 +57,7 @@ services:
- ./openldap/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom

krb5-kdc-server:
build: ./krb5
image: krb5-kdc-server
image: godatadriven/krb5-kdc-server
hostname: krb5-kdc-server
domainname: example.com

Expand Down
52 changes: 0 additions & 52 deletions scripts/ci/krb5/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/ci/krb5/krb-conf/server/kadm5.acl

This file was deleted.

30 changes: 0 additions & 30 deletions scripts/ci/krb5/krb-conf/server/kdc.conf

This file was deleted.

Expand Up @@ -30,7 +30,7 @@ renew_lifetime = 7d
forwardable = true

[realms]
TEST.LOCAL = {
kdc = krb5-kdc-server:88
admin_server = krb5-kdc-server
}
TEST.LOCAL = {
kdc = krb5-kdc-server:88
admin_server = krb5-kdc-server
}
41 changes: 0 additions & 41 deletions scripts/ci/krb5/start_kdc.sh

This file was deleted.

43 changes: 0 additions & 43 deletions scripts/ci/krb5/supervisord.conf

This file was deleted.

0 comments on commit 3fa40e7

Please sign in to comment.