Skip to content

Commit 71d3704

Browse files
committed
update
1 parent 239509c commit 71d3704

File tree

2 files changed

+21
-24
lines changed

2 files changed

+21
-24
lines changed

.github/workflows/collector-builder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- .github/workflows/collector-builder.yml
4545
4646
build-builder-image:
47-
name: Build the builder image
47+
name: local builder image ${{ matrix.arch }}
4848
# Multiarch builds sometimes take for eeeeeeeeeever
4949
timeout-minutes: 480
5050
needs:
@@ -118,7 +118,7 @@ jobs:
118118
ansible/ci-build-builder.yml
119119
120120
build-builder-image-remote:
121-
name: Build the builder image
121+
name: remote builder image ${{ matrix.arch }}
122122
# Multiarch builds sometimes take for eeeeeeeeeever
123123
timeout-minutes: 480
124124
needs:

.github/workflows/collector.yml

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -97,31 +97,9 @@ jobs:
9797

9898
env:
9999
PLATFORM: linux/${{ matrix.arch }}
100-
CONTEXT_DRIVERS_DIR: ${{ github.workspace }}/collector/kernel-modules
101100

102101
steps:
103102
- uses: actions/checkout@v4
104-
with:
105-
submodules: true
106-
107-
- name: Create ansible vars
108-
run: |
109-
cat << EOF > ${{ github.workspace }}/ansible/secrets.yml
110-
---
111-
stackrox_io_username: ${{ secrets.QUAY_STACKROX_IO_RW_USERNAME }}
112-
stackrox_io_password: ${{ secrets.QUAY_STACKROX_IO_RW_PASSWORD }}
113-
rhacs_eng_username: ${{ secrets.QUAY_RHACS_ENG_RW_USERNAME }}
114-
rhacs_eng_password: ${{ secrets.QUAY_RHACS_ENG_RW_PASSWORD }}
115-
collector_git_ref: ${{ github.ref }}
116-
collector_git_sha: ${{ github.sha }}
117-
collector_builder_tag: ${{ env.COLLECTOR_BUILDER_TAG }}
118-
disable_profiling: ${{ matrix.arch != 'amd64' && matrix.arch != 'arm64' }}
119-
rhacs_eng_image: ${{ env.RHACS_ENG_IMAGE }}
120-
collector_image: ${{ inputs.collector-image }}
121-
collector_tag: ${{ inputs.collector-tag }}
122-
debug_mode: ${{ github.event_name == 'pull_request' }}
123-
driver_version: ${DRIVER_VERSION}
124-
EOF
125103

126104
- uses: actions/setup-python@v5
127105
with:
@@ -147,6 +125,24 @@ jobs:
147125
vm-type: rhel-${{ matrix.arch }}
148126
job-tag: builder
149127

128+
- name: Create ansible vars
129+
run: |
130+
cat << EOF > ${{ github.workspace }}/ansible/secrets.yml
131+
---
132+
stackrox_io_username: ${{ secrets.QUAY_STACKROX_IO_RW_USERNAME }}
133+
stackrox_io_password: ${{ secrets.QUAY_STACKROX_IO_RW_PASSWORD }}
134+
rhacs_eng_username: ${{ secrets.QUAY_RHACS_ENG_RW_USERNAME }}
135+
rhacs_eng_password: ${{ secrets.QUAY_RHACS_ENG_RW_PASSWORD }}
136+
collector_git_ref: ${{ github.ref }}
137+
collector_git_sha: ${{ github.sha }}
138+
collector_builder_tag: ${{ env.COLLECTOR_BUILDER_TAG }}
139+
disable_profiling: ${{ matrix.arch != 'amd64' && matrix.arch != 'arm64' }}
140+
rhacs_eng_image: ${{ env.RHACS_ENG_IMAGE }}
141+
collector_image: ${{ inputs.collector-image }}
142+
collector_tag: ${{ inputs.collector-tag }}
143+
debug_mode: ${{ github.event_name == 'pull_request' }}
144+
EOF
145+
150146
- name: Create Build VMs
151147
run: |
152148
make -C "${{ github.workspace }}/ansible" create-build-vms
@@ -169,6 +165,7 @@ jobs:
169165
create-multiarch-manifest:
170166
needs:
171167
- build-collector-image
168+
- build-collector-image-remote
172169
name: Create Multiarch manifest
173170
runs-on: ubuntu-24.04
174171
if: always() && !contains(join(needs.*.result, ','), 'failure')

0 commit comments

Comments
 (0)