Skip to content

Commit ebe7027

Browse files
Revert using host image
1 parent 649c46e commit ebe7027

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

.github/workflows/package-build-ofed.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -84,33 +84,20 @@ jobs:
8484
EOF
8585
working-directory: ${{ github.workspace }}/src/kayobe-config/terraform/aio
8686

87-
- name: Output image tag
88-
id: image_tag
89-
run: |
90-
echo image_tag=$(grep stackhpc_ubuntu_jammy_overcloud_host_image_version: etc/kayobe/pulp-host-image-versions.yml | awk '{print $2}') >> $GITHUB_OUTPUT
91-
working-directory: ${{ github.workspace }}/src/kayobe-config
92-
93-
# Use the image override if set, otherwise use overcloud-os_distribution-os_release-tag
94-
- name: Output image name
95-
id: image_name
96-
run: |
97-
echo image_name=overcloud-ubuntu-jammy-${{ steps.image_tag.outputs.image_tag }} >> $GITHUB_OUTPUT
98-
9987
- name: Generate terraform.tfvars
10088
run: |
10189
cat << EOF > terraform.tfvars
10290
ssh_public_key = "id_rsa.pub"
10391
ssh_username = "ubuntu"
10492
aio_vm_name = "skc-ipa-image-builder"
105-
aio_vm_image = "${{ env.VM_IMAGE }}"
106-
aio_vm_flavor = "en1.medium"
93+
aio_vm_image = "Ubuntu-22.04"
94+
aio_vm_flavor = "cn1.medium"
10795
aio_vm_network = "stackhpc-ci"
10896
aio_vm_subnet = "stackhpc-ci"
10997
aio_vm_interface = "ens3"
98+
aio_vm_volume_size = 100
11099
EOF
111100
working-directory: ${{ github.workspace }}/src/kayobe-config/terraform/aio
112-
env:
113-
VM_IMAGE: ${{ steps.image_name.outputs.image_name }}
114101

115102
- name: Terraform Plan
116103
run: terraform plan
@@ -182,16 +169,6 @@ jobs:
182169
source src/kayobe-config/kayobe-env --environment ci-builder &&
183170
kayobe control host bootstrap
184171
185-
- name: Growpart
186-
run: |
187-
source venvs/kayobe/bin/activate &&
188-
source src/kayobe-config/kayobe-env --environment ci-builder &&
189-
kayobe playbook run src/kayobe-config/etc/kayobe/ansible/growroot.yml \
190-
-e growroot_group="seed" \
191-
-e seed_bootstrap_user="ubuntu"
192-
env:
193-
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
194-
195172
- name: Configure the seed host (Builder VM)
196173
run: |
197174
source venvs/kayobe/bin/activate &&

0 commit comments

Comments
 (0)