Skip to content

Commit

Permalink
DNM - CI test
Browse files Browse the repository at this point in the history
Updated checkout action to v4
using kayobe-automation feature branch
Changed path on .gitreview awk
removed dhclient workaround
change state of selinux in ci-builder
removed dhclient for ubuntu
  • Loading branch information
Alex-Welsh committed Sep 27, 2023
1 parent 8d80e03 commit 5705fef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/overcloud-host-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
runs-on: [self-hosted, stackhpc-kayobe-config-kolla-builder-rl9]
permissions: {}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/kayobe-config

- name: Determine OpenStack release
id: openstack_release
run: |
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' .gitreview)
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' src/kayobe-config/.gitreview)
echo "openstack_release=${BRANCH}" | sed "s|stable/||" >> $GITHUB_OUTPUT
# Generate a tag to apply to all built overcloud host images.
Expand Down Expand Up @@ -84,14 +84,6 @@ jobs:
sudo ip l set dummy1 up
sudo ip l set dummy1 master breth1
# FIXME: Without this workaround we see the following issue after the runner is power cycled:
# TASK [MichaelRigart.interfaces : RedHat | ensure network service is started and enabled] ***
# Unable to start service network: Job for network.service failed because the control process exited with error code.
# See \"systemctl status network.service\" and \"journalctl -xe\" for details.
- name: Kill dhclient (workaround)
run: |
(sudo killall dhclient || true) && sudo systemctl restart network
- name: Install Kayobe
run: |
mkdir -p venvs &&
Expand Down
3 changes: 3 additions & 0 deletions etc/kayobe/environments/ci-aio/kolla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# Allow insecure registries for testing
kolla_docker_registry_insecure: true

0 comments on commit 5705fef

Please sign in to comment.