Skip to content

Commit b8156c8

Browse files
committed
add elastx store
1 parent 1d9057a commit b8156c8

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/build-capi-vm-images.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
with:
3434
version: ${{ inputs.version || '1.33.1' }}
3535
tag: ${{ inputs.tag || '0.8' }}
36-
# store-openstack-image-elastx:
37-
# uses: ./.github/workflows/store-openstack-capi-image-elastx.yml
38-
# needs: build-openstack-image
39-
# with:
40-
# version: ${{ inputs.version || '1.33.1' }}
41-
# tag: ${{ inputs.tag || '0.8' }}
36+
store-openstack-image-elastx:
37+
uses: ./.github/workflows/store-openstack-capi-image-elastx.yml
38+
needs: build-openstack-image
39+
with:
40+
version: ${{ inputs.version || '1.33.1' }}
41+
tag: ${{ inputs.tag || '0.8' }}

.github/workflows/store-openstack-capi-image-elastx.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
env:
1616
version: ${{ inputs.version }}
1717
tag: ${{ inputs.tag }}
18+
1819

1920
jobs:
2021
on-success:
@@ -33,6 +34,13 @@ jobs:
3334
sudo apt install -y python3-openstackclient
3435
3536
- name: store image
37+
env:
38+
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.ELASTX_APPLICATION_CREDENTIAL_ID }}
39+
OS_APPLICATION_CREDENTIAL_PASSWORD: ${{ secrets.ELASTX_APPLICATION_CREDENTIAL_PASSWORD }}
40+
OS_AUTH_URL: "https://ops.elastx.cloud:5000/v3"
41+
OS_IDENTITY_API_VERSION: "3"
42+
OS_INTERFACE: "public"
43+
OS_REGION_NAME: "se-sto"
3644
run: |
3745
3846
image_create_extra_vars+=('--property' 'hw_firmware_type=uefi' '--property' 'hw_disk_bus=scsi' '--property' 'hw_scsi_model=virtio-scsi')

0 commit comments

Comments
 (0)