Bring back the offline bundle

This commit is contained in:
Johannes Feichtner
2022-12-04 14:41:42 +01:00
parent e2e66c8475
commit 078e726fdd
3 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ jobs:
name: w2c-letsencrypt-esxi
path: |
artifacts/w2c-letsencrypt-esxi.vib
artifacts/w2c-letsencrypt-esxi-offline-bundle.zip
if-no-files-found: error
release:
@@ -46,3 +47,4 @@ jobs:
body: w2c-letsencrypt-esxi
files: |
w2c-letsencrypt-esxi.vib
w2c-letsencrypt-esxi-offline-bundle.zip

View File

@@ -10,3 +10,4 @@ build:
name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
paths:
- build/w2c-letsencrypt-esxi.vib
- build/w2c-letsencrypt-esxi-offline-bundle.zip

View File

@@ -103,6 +103,9 @@ __W2C__
touch ${TEMP_DIR}/sig.pkcs7
ar r w2c-letsencrypt-esxi.vib ${TEMP_DIR}/descriptor.xml ${TEMP_DIR}/sig.pkcs7 ${TEMP_DIR}/payload1
# Create the offline bundle
PYTHONPATH=/opt/vmware/vibtools-6.0.0-847598/bin python -c "import vibauthorImpl; vibauthorImpl.CreateOfflineBundle('w2c-letsencrypt-esxi.vib', 'w2c-letsencrypt-esxi-offline-bundle.zip', True)"
# Show some details about what we have just created
vibauthor -i -v w2c-letsencrypt-esxi.vib