Compare commits
45 Commits
a32a6c9c0c
...
Redhat8-K8
| Author | SHA1 | Date | |
|---|---|---|---|
| b340b4cdbc | |||
| f14096e1b4 | |||
| 5efe9a0540 | |||
| 7dfd5c9091 | |||
| 38bae64f01 | |||
| 39e0c0dae8 | |||
| 04119f3078 | |||
| b1cf73f482 | |||
| f0157db4c1 | |||
| 4979379c51 | |||
| 9588786c74 | |||
| 1be5714f67 | |||
| 4c5025fbd6 | |||
| 7f15853393 | |||
| bb0c1c5837 | |||
| 136226ce32 | |||
| 1c4858f0ad | |||
| dcfdca25a5 | |||
| ddacf57d4a | |||
| bc98e03c49 | |||
| 4b059cccdb | |||
| e9366081c9 | |||
| 59956a6971 | |||
| 619923b2d4 | |||
| 19628c3080 | |||
| e6c366a5be | |||
| 12ae24f950 | |||
| b94b7a2916 | |||
| 652a5d25c9 | |||
| 8b30841fc4 | |||
| af4c3a1b08 | |||
| 51f36b921d | |||
| 5d279e0e86 | |||
| 567749e74d | |||
| 3b644541dd | |||
| d29e73a424 | |||
| ad38b34ce4 | |||
| 0a2cc82e2d | |||
| e27b3f1f6f | |||
| 963930e04d | |||
| 8463a257d6 | |||
| ad8df64b13 | |||
| d828b83e0b | |||
| 139629a458 | |||
| e220c2bc24 |
31
.drone.yml
31
.drone.yml
@@ -11,15 +11,40 @@ volumes:
|
||||
name: flexvolsmb-drone-scratch
|
||||
|
||||
steps:
|
||||
- name: Debugging information
|
||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||
commands:
|
||||
- ansible --version
|
||||
- ovftool --version
|
||||
- packer --version
|
||||
- yamllint --version
|
||||
- name: Build CAPV image(s)
|
||||
image: k8s.gcr.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.11
|
||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||
pull: always
|
||||
commands:
|
||||
- |
|
||||
ls -lash
|
||||
jq '.password="'"$VSPHERE_PASSWORD"'"' ./packer/ova/vsphere.json > /tmp/vsphere.json && \
|
||||
mv /tmp/vsphere.json ./packer/ova/vsphere.json
|
||||
jq '.repo_username="'"$REPO_USERNAME"'" | .repo_password="'"$REPO_PASSWORD"'"' --null-input > /tmp/extra_vars.json
|
||||
- |
|
||||
make build-node-ova-vsphere-ubuntu-2204
|
||||
make deps-ova
|
||||
- |
|
||||
make build-node-ova-vsphere-rhel-8
|
||||
- |
|
||||
mv -fv ./output/**/*.ova /output
|
||||
environment:
|
||||
IB_OVFTOOL: true
|
||||
IB_OVFTOOL_ARGS: --allowExtraConfig
|
||||
PACKER_FLAGS: -on-error=ask
|
||||
PACKER_VAR_FILES: /tmp/extra_vars.json
|
||||
REPO_USERNAME:
|
||||
from_secret: repo_username
|
||||
REPO_PASSWORD:
|
||||
from_secret: repo_password
|
||||
RHSM_USER:
|
||||
from_secret: rhsm_username
|
||||
RHSM_PASS:
|
||||
from_secret: rhsm_password
|
||||
VSPHERE_PASSWORD:
|
||||
from_secret: vsphere_password
|
||||
volumes:
|
||||
|
||||
@@ -93,7 +93,7 @@ deps-gce:
|
||||
deps-ova: ## Installs/checks dependencies for OVA builds
|
||||
deps-ova:
|
||||
hack/ensure-ansible.sh
|
||||
hack/ensure-ansible-windows.sh
|
||||
: hack/ensure-ansible-windows.sh
|
||||
hack/ensure-packer.sh
|
||||
hack/ensure-goss.sh
|
||||
hack/ensure-ovftool.sh
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user