diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c0d08c..8da4090 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be5fc72..e58630f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/build/create_vib.sh b/build/create_vib.sh index 03df0f1..4e2e1d1 100644 --- a/build/create_vib.sh +++ b/build/create_vib.sh @@ -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