Skip to content
14 changes: 14 additions & 0 deletions .github/workflows/trivyscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Override CI_CLOUD if PR label is present
if: ${{ github.event_name == 'pull_request' }}
run: |
# Iterate over the labels
labels=$(echo '${{ toJSON(github.event.pull_request.labels) }}' | jq -r '.[].name')
echo $labels
for label in $labels; do
if [[ $label == CI_CLOUD=* ]]; then
# Extract the value after 'CI_CLOUD='
CI_CLOUD_OVERRIDE=${label#CI_CLOUD=}
echo "CI_CLOUD=${CI_CLOUD_OVERRIDE}" >> $GITHUB_ENV
fi
done

- name: Record settings for CI cloud
run: |
echo CI_CLOUD: ${{ env.CI_CLOUD }}
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/podman/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
# Type Path Mode User Group Age Argument
R! /tmp/containers-user-*
R! /tmp/podman-run-*
R! /tmp/storage-run-*
dest: /etc/tmpfiles.d/podman-local.conf
owner: root
group: root
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"cluster_image": {
"RL8": "openhpc-RL8-241118-0918-4538c6df",
"RL9": "openhpc-RL9-241118-0918-4538c6df"
"RL8": "openhpc-RL8-241127-1704-6a8266c3",
"RL9": "openhpc-RL9-241127-1704-6a8266c3"
}
}
8 changes: 8 additions & 0 deletions packer/openstack.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ variable "volume_size" {
default = {
# fat image builds, GB:
rocky-latest = 15
rocky-latest-test = 15
openhpc = 15
}
}
Expand All @@ -152,6 +153,7 @@ variable "groups" {
default = {
# fat image builds:
rocky-latest = ["update"]
rocky-latest-test = ["update"]
openhpc = ["control", "compute", "login"]
}
}
Expand Down Expand Up @@ -206,6 +208,12 @@ build {
image_name = "${source.name}-${var.os_version}"
}

# latest nightly image test:
source "source.openstack.openhpc" {
name = "rocky-latest-test"
image_name = "${source.name}-${var.os_version}"
}

# fat image:
source "source.openstack.openhpc" {
name = "openhpc"
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ roles:

collections:
- name: containers.podman
version: 1.10.2
version: 1.16.2
- name: community.grafana
version: 1.5.4
- name: https://github.com/stackhpc/ansible_collection_slurm_openstack_tools
Expand Down