mirror of
https://github.com/w2c/letsencrypt-esxi.git
synced 2026-01-16 07:08:32 -06:00
Bring back the offline bundle
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -24,6 +24,7 @@ jobs:
|
|||||||
name: w2c-letsencrypt-esxi
|
name: w2c-letsencrypt-esxi
|
||||||
path: |
|
path: |
|
||||||
artifacts/w2c-letsencrypt-esxi.vib
|
artifacts/w2c-letsencrypt-esxi.vib
|
||||||
|
artifacts/w2c-letsencrypt-esxi-offline-bundle.zip
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
release:
|
release:
|
||||||
@@ -46,3 +47,4 @@ jobs:
|
|||||||
body: w2c-letsencrypt-esxi
|
body: w2c-letsencrypt-esxi
|
||||||
files: |
|
files: |
|
||||||
w2c-letsencrypt-esxi.vib
|
w2c-letsencrypt-esxi.vib
|
||||||
|
w2c-letsencrypt-esxi-offline-bundle.zip
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ build:
|
|||||||
name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
|
name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
|
||||||
paths:
|
paths:
|
||||||
- build/w2c-letsencrypt-esxi.vib
|
- build/w2c-letsencrypt-esxi.vib
|
||||||
|
- build/w2c-letsencrypt-esxi-offline-bundle.zip
|
||||||
|
|||||||
@@ -103,6 +103,9 @@ __W2C__
|
|||||||
touch ${TEMP_DIR}/sig.pkcs7
|
touch ${TEMP_DIR}/sig.pkcs7
|
||||||
ar r w2c-letsencrypt-esxi.vib ${TEMP_DIR}/descriptor.xml ${TEMP_DIR}/sig.pkcs7 ${TEMP_DIR}/payload1
|
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
|
# Show some details about what we have just created
|
||||||
vibauthor -i -v w2c-letsencrypt-esxi.vib
|
vibauthor -i -v w2c-letsencrypt-esxi.vib
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user