Skip to content

Commit

Permalink
Bring back the offline bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Churro committed Dec 4, 2022
1 parent e2e66c8 commit 078e726
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -46,3 +47,4 @@ jobs:
body: w2c-letsencrypt-esxi
files: |
w2c-letsencrypt-esxi.vib
w2c-letsencrypt-esxi-offline-bundle.zip
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions build/create_vib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 078e726

Please sign in to comment.