Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNM: Env to trigger AiORunners. #875

Closed
wants to merge 55 commits into from
Closed
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
298a237
Changed targeted runner.
MaxBed4d Jan 15, 2024
10c35b6
Include workflow_dispatch to test runner
MaxBed4d Jan 15, 2024
e023433
Remove workflow_dispatch
MaxBed4d Jan 15, 2024
f866f60
Try and fix submodule issue.
MaxBed4d Jan 15, 2024
ff6fd7b
Testing checkout@v4 for recursive submodule checkout.
MaxBed4d Jan 15, 2024
eac65d8
Update git in runner.
MaxBed4d Jan 15, 2024
145892b
Try to make sure all required packages are installed.
MaxBed4d Jan 15, 2024
dd6156e
Install nodejs.
MaxBed4d Jan 15, 2024
28f33bd
Install packages with runner action.
MaxBed4d Jan 16, 2024
28b93cd
Include an update before installing with package.
MaxBed4d Jan 16, 2024
998a95b
Change syntax for package installer.
MaxBed4d Jan 16, 2024
2da33f2
Changed apt to apt-get update.
MaxBed4d Jan 16, 2024
4f7f5bb
Docker tests
MaxBed4d Jan 16, 2024
020f092
Update docker group privileges.
MaxBed4d Jan 17, 2024
e917b2f
Test to see if dockerd is running.
MaxBed4d Jan 17, 2024
56ba274
start dockerd with privileges.
MaxBed4d Jan 17, 2024
25680c6
sleep for debug time + deamon start up.
MaxBed4d Jan 17, 2024
8e9bc67
dind test
MaxBed4d Jan 17, 2024
9ced586
sudo docker command
MaxBed4d Jan 17, 2024
25a853a
Docker no sudo test.
MaxBed4d Jan 17, 2024
124d37c
remove sudo docker
MaxBed4d Jan 17, 2024
b6161fd
Add the job of building Kayobe back into the runner.
MaxBed4d Jan 18, 2024
dd9e1e4
Checkout original workflow file.
MaxBed4d Jan 18, 2024
e9f3e5f
Update submodule to fix the rsync error.
MaxBed4d Jan 18, 2024
11fa4cd
Remove sudo command from all docker commands.
MaxBed4d Jan 18, 2024
3d3b59f
Update submodule.
MaxBed4d Jan 19, 2024
77b8c46
Update submodule
MaxBed4d Jan 19, 2024
c31210e
Debug directory for permissions and added container privileges.
MaxBed4d Jan 19, 2024
594d266
Add more debugging.
MaxBed4d Jan 19, 2024
e95b0ce
Add more debugging.
MaxBed4d Jan 19, 2024
9387849
Previous check didn't start up so an unlikely fix to overcome the per…
MaxBed4d Jan 19, 2024
ebcfc1d
Revert debug line to see if it is causing it to not run checks.
MaxBed4d Jan 19, 2024
554e0c8
Update '.automation' submodule to main.
MaxBed4d Jan 19, 2024
f3b5d5f
Reinstate the debug line since runner is now running.
MaxBed4d Jan 19, 2024
554499b
Run docker container as user 0 + more verbose.
MaxBed4d Jan 19, 2024
828226f
Simple debug change.
MaxBed4d Jan 22, 2024
d9cf073
Run docker commands as user 0.
MaxBed4d Jan 22, 2024
339275a
Try to find .ssh and the keys.
MaxBed4d Jan 22, 2024
ffe6e50
Only deploy a single AiO type to save time.
MaxBed4d Jan 22, 2024
5ef1863
Try to find ssh directory.
MaxBed4d Jan 22, 2024
c026ae3
Try sudo before running script.
MaxBed4d Jan 22, 2024
832c907
Edit Find Command
MaxBed4d Jan 22, 2024
6d5ddf5
Try run command with sudo.
MaxBed4d Jan 22, 2024
aa66398
some updates to the syntax and installed packages.
MaxBed4d Jan 22, 2024
e8e678b
Try to reuse container.
MaxBed4d Jan 23, 2024
f77c5d7
Create ssh folder
MaxBed4d Jan 23, 2024
6af3ea6
Updating .automation
MaxBed4d Jan 25, 2024
b3d86fb
Change docker user at entry and remove all root commands.
MaxBed4d Jan 25, 2024
bb2a1da
Provide build-arg to make Kayobe UID and GID '1001'.
MaxBed4d Jan 31, 2024
0bea460
Merge branch 'stackhpc/yoga' into AiORunner
MaxBed4d Jan 31, 2024
05c666e
Deploy all AiO types.
MaxBed4d Feb 1, 2024
f6833af
Update .github/workflows/stackhpc-all-in-one.yml
MaxBed4d Feb 5, 2024
a344dd4
Housekeeping to tidy up the PR.
MaxBed4d Feb 5, 2024
f580b94
Test to make sure that jobs cannot be cancelled by request on GitHub.
MaxBed4d Feb 9, 2024
dee0e6f
Merge branch 'stackhpc/yoga' into AiORunner
MaxBed4d Feb 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
294 changes: 147 additions & 147 deletions .github/workflows/stackhpc-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,150 +90,150 @@ jobs:
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-centos-ovn:
name: aio (CentOS OVN)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
neutron_plugin: ovn
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-rocky-8-ovs:
name: aio (Rocky OVS)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: rocky
os_release: "8"
neutron_plugin: ovs
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-rocky-8-ovn:
name: aio (Rocky OVN)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: rocky
os_release: "8"
neutron_plugin: ovn
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-ubuntu-ovs:
name: aio (Ubuntu OVS)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: ubuntu
os_release: focal
ssh_username: ubuntu
neutron_plugin: ovs
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-ubuntu-ovn:
name: aio (Ubuntu OVN)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: ubuntu
os_release: focal
ssh_username: ubuntu
neutron_plugin: ovn
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-ubuntu-jammy-ovs:
name: aio (Ubuntu Jammy OVS)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: ubuntu
os_release: jammy
ssh_username: ubuntu
neutron_plugin: ovs
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-ubuntu-jammy-ovn:
name: aio (Ubuntu Jammy OVN)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: ubuntu
os_release: jammy
ssh_username: ubuntu
neutron_plugin: ovn
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-rocky-9-ovs:
name: aio (Rocky 9 OVS)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: rocky
os_release: "9"
ssh_username: cloud-user
neutron_plugin: ovs
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

all-in-one-rocky-9-ovn:
name: aio (Rocky 9 OVN)
needs:
- check-changes
- build-kayobe-image
uses: ./.github/workflows/stackhpc-all-in-one.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
os_distribution: rocky
os_release: "9"
ssh_username: cloud-user
neutron_plugin: ovn
OS_CLOUD: openstack
if: ${{ needs.check-changes.outputs.aio == 'true' }}
secrets: inherit
if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
# all-in-one-centos-ovn:
# name: aio (CentOS OVN)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# neutron_plugin: ovn
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

# all-in-one-rocky-8-ovs:
# name: aio (Rocky OVS)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# os_distribution: rocky
# os_release: "8"
# neutron_plugin: ovs
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

# all-in-one-rocky-8-ovn:
# name: aio (Rocky OVN)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# os_distribution: rocky
# os_release: "8"
# neutron_plugin: ovn
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

# all-in-one-ubuntu-ovs:
# name: aio (Ubuntu OVS)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# os_distribution: ubuntu
# os_release: focal
# ssh_username: ubuntu
# neutron_plugin: ovs
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

# all-in-one-ubuntu-ovn:
# name: aio (Ubuntu OVN)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# os_distribution: ubuntu
# os_release: focal
# ssh_username: ubuntu
# neutron_plugin: ovn
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

# all-in-one-ubuntu-jammy-ovs:
# name: aio (Ubuntu Jammy OVS)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# os_distribution: ubuntu
# os_release: jammy
# ssh_username: ubuntu
# neutron_plugin: ovs
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

# all-in-one-ubuntu-jammy-ovn:
# name: aio (Ubuntu Jammy OVN)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# os_distribution: ubuntu
# os_release: jammy
# ssh_username: ubuntu
# neutron_plugin: ovn
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

# all-in-one-rocky-9-ovs:
# name: aio (Rocky 9 OVS)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# os_distribution: rocky
# os_release: "9"
# ssh_username: cloud-user
# neutron_plugin: ovs
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

# all-in-one-rocky-9-ovn:
# name: aio (Rocky 9 OVN)
# needs:
# - check-changes
# - build-kayobe-image
# uses: ./.github/workflows/stackhpc-all-in-one.yml
# with:
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
# os_distribution: rocky
# os_release: "9"
# ssh_username: cloud-user
# neutron_plugin: ovn
# OS_CLOUD: sms-lab-release
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
# secrets: inherit
# if: ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
Loading