From 1fe74d883dd9776088abed7458ee7142ade185bc Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:18:38 -0500 Subject: [PATCH 01/18] chore: test arm64 with qemu --- .github/workflows/ewyles-test-qemu.yaml | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/ewyles-test-qemu.yaml diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml new file mode 100644 index 00000000..016f6c3f --- /dev/null +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -0,0 +1,41 @@ +name: Test the Mattermost Package on arm64 with qemu + +on: + push: + branches: + - ewyles/test-qemu + +permissions: + contents: read + +jobs: + test-qemu: + runs-on: uds-ubuntu-arm64-4-core + name: Test QEMU ${{ matrix.flavor }} ${{ matrix.architecture }} + + permissions: + contents: read + packages: write + + steps: + - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + + - name: Environment setup + uses: defenseunicorns/uds-common/.github/actions/setup@4cea6c8858b9f4db3a3624a6fc046db77e1f4eaa # v0.5.0 + with: + registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} + registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} + ghToken: ${{ secrets.GITHUB_TOKEN }} + + - name: Test Package + run: UDS_ARCHITECTURE=arm64 uds run test-package --set FLAVOR=upstream + + - name: Debug Output + if: ${{ always() }} + uses: defenseunicorns/uds-common/.github/actions/debug-output@4cea6c8858b9f4db3a3624a6fc046db77e1f4eaa # v0.5.0 + + - name: Save logs + if: always() + uses: defenseunicorns/uds-common/.github/actions/save-logs@4cea6c8858b9f4db3a3624a6fc046db77e1f4eaa # v0.5.0 + with: + suffix: ${{ matrix.flavor }}-${{ matrix.architecture }}-${{ github.run_id }}-${{ github.run_attempt }} From db834165d3c49c596cc9bd5d84baff9dd4dfe91e Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:33:47 -0500 Subject: [PATCH 02/18] install qemu --- .github/workflows/ewyles-test-qemu.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index 016f6c3f..949a9e72 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -27,6 +27,9 @@ jobs: registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} ghToken: ${{ secrets.GITHUB_TOKEN }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Test Package run: UDS_ARCHITECTURE=arm64 uds run test-package --set FLAVOR=upstream From 518606d4bc9054ae1b8de0df78f5f6156c643ef3 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:07:34 -0500 Subject: [PATCH 03/18] try increasing timeouts --- tests/mattermost.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mattermost.test.ts b/tests/mattermost.test.ts index 7bd30a21..47b5b59c 100644 --- a/tests/mattermost.test.ts +++ b/tests/mattermost.test.ts @@ -64,7 +64,7 @@ test("send a message", async ({ page }) => { await page.goto('/unicorns/channels/town-square'); const el = page.locator(`#post_${post.id}`); - await expect(el).toContainText(post.message); + await expect(el).toContainText(post.message, { timeout: 60000 }); }); test("send a message with attachment", async ({ page }) => { @@ -99,6 +99,6 @@ test("send a message with attachment", async ({ page }) => { await page.goto('/unicorns/channels/town-square'); const el = page.locator(`#post_${post.id}`); - await expect(el).toContainText(post.message); + await expect(el).toContainText(post.message, { timeout: 60000 }); }); From 3784df6966b43952249f9230a5036d209ee8a57c Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:19:42 -0500 Subject: [PATCH 04/18] run again on amd64 to capture timings --- .github/workflows/ewyles-test-qemu.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index 949a9e72..c67d5ac8 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -10,7 +10,8 @@ permissions: jobs: test-qemu: - runs-on: uds-ubuntu-arm64-4-core +# runs-on: uds-ubuntu-arm64-4-core + runs-on: ubuntu-latest name: Test QEMU ${{ matrix.flavor }} ${{ matrix.architecture }} permissions: @@ -31,7 +32,7 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Test Package - run: UDS_ARCHITECTURE=arm64 uds run test-package --set FLAVOR=upstream + run: UDS_ARCHITECTURE=amd64 uds run test-package --set FLAVOR=upstream - name: Debug Output if: ${{ always() }} From 8525d81e91f4cae44a8e90180c9d77618297445b Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:56:55 -0500 Subject: [PATCH 05/18] install with apt --- .github/workflows/ewyles-test-qemu.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index c67d5ac8..bcf2f727 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -11,7 +11,7 @@ permissions: jobs: test-qemu: # runs-on: uds-ubuntu-arm64-4-core - runs-on: ubuntu-latest + runs-on: uds-ubuntu-arm64-4-core name: Test QEMU ${{ matrix.flavor }} ${{ matrix.architecture }} permissions: @@ -29,10 +29,10 @@ jobs: ghToken: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: apt-get install qemu-user-static - name: Test Package - run: UDS_ARCHITECTURE=amd64 uds run test-package --set FLAVOR=upstream + run: UDS_ARCHITECTURE=arm64 uds run test-package --set FLAVOR=upstream - name: Debug Output if: ${{ always() }} From 2edf1ef7a0a60a96a505c3e629435dc2b716e224 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:57:24 -0500 Subject: [PATCH 06/18] install with apt --- .github/workflows/ewyles-test-qemu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index bcf2f727..3c0f171a 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -29,7 +29,7 @@ jobs: ghToken: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU - uses: apt-get install qemu-user-static + run: apt-get install qemu-user-static - name: Test Package run: UDS_ARCHITECTURE=arm64 uds run test-package --set FLAVOR=upstream From 31c7721f3f40ed7f4bcf22f506a14ff623d8c6ae Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:58:17 -0500 Subject: [PATCH 07/18] install with apt --- .github/workflows/ewyles-test-qemu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index 3c0f171a..83ae8262 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -29,7 +29,7 @@ jobs: ghToken: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU - run: apt-get install qemu-user-static + run: sudo apt-get install qemu-user-static - name: Test Package run: UDS_ARCHITECTURE=arm64 uds run test-package --set FLAVOR=upstream From 92240db40a70ff86cdbd95fc2c00254a254de834 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 13 Jun 2024 19:46:27 -0500 Subject: [PATCH 08/18] just need the docker setup for qemu --- .github/workflows/ewyles-test-qemu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index 83ae8262..3d909428 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -29,7 +29,7 @@ jobs: ghToken: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU - run: sudo apt-get install qemu-user-static + uses: docker/setup-qemu-action@v3 - name: Test Package run: UDS_ARCHITECTURE=arm64 uds run test-package --set FLAVOR=upstream From 94bf00bf38146b33872c96d0053a41115d4abd1e Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 09:54:38 -0500 Subject: [PATCH 09/18] all together now --- .github/workflows/ewyles-test-qemu.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index 3d909428..7fd3d23e 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -10,8 +10,14 @@ permissions: jobs: test-qemu: -# runs-on: uds-ubuntu-arm64-4-core - runs-on: uds-ubuntu-arm64-4-core + runs-on: ${{ matrix.architecture == 'arm64' && 'uds-ubuntu-arm64-4-core' || 'ubuntu-latest' }} + strategy: + matrix: + flavor: [upstream, registry1] + architecture: [amd64, arm64] + exclude: + - flavor: registry1 + architecture: arm64 name: Test QEMU ${{ matrix.flavor }} ${{ matrix.architecture }} permissions: @@ -29,10 +35,11 @@ jobs: ghToken: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU + if: ${{ runner.architecture == 'ARM64' }} uses: docker/setup-qemu-action@v3 - name: Test Package - run: UDS_ARCHITECTURE=arm64 uds run test-package --set FLAVOR=upstream + run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run test-package --set FLAVOR=${{ matrix.flavor }} - name: Debug Output if: ${{ always() }} From 2d9c879a303786e982f4f0ae007399a582d312c9 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 10:10:52 -0500 Subject: [PATCH 10/18] all together now --- .github/workflows/ewyles-test-qemu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index 7fd3d23e..78ffcd9d 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -35,7 +35,7 @@ jobs: ghToken: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU - if: ${{ runner.architecture == 'ARM64' }} + if: ${{ runner.arch == 'ARM64' }} uses: docker/setup-qemu-action@v3 - name: Test Package From 711793c29dc7aeb75dbe51cc2dc452445f379dc7 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:09:28 -0500 Subject: [PATCH 11/18] pull the timeouts back down a little --- tests/mattermost.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mattermost.test.ts b/tests/mattermost.test.ts index 47b5b59c..a7e871e7 100644 --- a/tests/mattermost.test.ts +++ b/tests/mattermost.test.ts @@ -64,7 +64,7 @@ test("send a message", async ({ page }) => { await page.goto('/unicorns/channels/town-square'); const el = page.locator(`#post_${post.id}`); - await expect(el).toContainText(post.message, { timeout: 60000 }); + await expect(el).toContainText(post.message, { timeout: 15000 }); }); test("send a message with attachment", async ({ page }) => { @@ -99,6 +99,6 @@ test("send a message with attachment", async ({ page }) => { await page.goto('/unicorns/channels/town-square'); const el = page.locator(`#post_${post.id}`); - await expect(el).toContainText(post.message, { timeout: 60000 }); + await expect(el).toContainText(post.message, { timeout: 15000 }); }); From 5f6f0c7d06585e00f219743b048eb039ece3ee6f Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:25:06 -0500 Subject: [PATCH 12/18] standardize on the timeout --- tests/mattermost.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mattermost.test.ts b/tests/mattermost.test.ts index a7e871e7..37ead33e 100644 --- a/tests/mattermost.test.ts +++ b/tests/mattermost.test.ts @@ -64,7 +64,7 @@ test("send a message", async ({ page }) => { await page.goto('/unicorns/channels/town-square'); const el = page.locator(`#post_${post.id}`); - await expect(el).toContainText(post.message, { timeout: 15000 }); + await expect(el).toContainText(post.message, { timeout: 60_000 }); }); test("send a message with attachment", async ({ page }) => { @@ -99,6 +99,6 @@ test("send a message with attachment", async ({ page }) => { await page.goto('/unicorns/channels/town-square'); const el = page.locator(`#post_${post.id}`); - await expect(el).toContainText(post.message, { timeout: 15000 }); + await expect(el).toContainText(post.message, { timeout: 60_000 }); }); From c8295c4d40e07189399a8a7b320413e6c06084df Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:07:07 -0500 Subject: [PATCH 13/18] look at some configs --- .github/workflows/ewyles-test-qemu.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index 78ffcd9d..cf81819b 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -14,7 +14,7 @@ jobs: strategy: matrix: flavor: [upstream, registry1] - architecture: [amd64, arm64] + architecture: [arm64] exclude: - flavor: registry1 architecture: arm64 @@ -34,12 +34,19 @@ jobs: registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} ghToken: ${{ secrets.GITHUB_TOKEN }} + - name: Print binfmt config + run: cat /proc/sys/fs/binfmt_misc/qemu-arm + - name: Set up QEMU if: ${{ runner.arch == 'ARM64' }} uses: docker/setup-qemu-action@v3 - - name: Test Package - run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run test-package --set FLAVOR=${{ matrix.flavor }} + - name: Print binfmt config + run: cat /proc/sys/fs/binfmt_misc/qemu-arm + + + # - name: Test Package + # run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run test-package --set FLAVOR=${{ matrix.flavor }} - name: Debug Output if: ${{ always() }} From 3751ab712c0ce26cf8fc6949cddf866b3ce6e9ff Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:08:43 -0500 Subject: [PATCH 14/18] look at some configs --- .github/workflows/ewyles-test-qemu.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index cf81819b..a3034516 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -34,13 +34,16 @@ jobs: registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} ghToken: ${{ secrets.GITHUB_TOKEN }} - - name: Print binfmt config - run: cat /proc/sys/fs/binfmt_misc/qemu-arm + - name: Print docker images + run: docker images - name: Set up QEMU if: ${{ runner.arch == 'ARM64' }} uses: docker/setup-qemu-action@v3 + - name: Print docker images + run: docker images + - name: Print binfmt config run: cat /proc/sys/fs/binfmt_misc/qemu-arm From 700c2619a42c5991eca0f16fb55c40aa5b362a75 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:11:07 -0500 Subject: [PATCH 15/18] full test with QEMU --- .github/workflows/ewyles-test-qemu.yaml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml index a3034516..d97c4845 100644 --- a/.github/workflows/ewyles-test-qemu.yaml +++ b/.github/workflows/ewyles-test-qemu.yaml @@ -34,22 +34,12 @@ jobs: registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} ghToken: ${{ secrets.GITHUB_TOKEN }} - - name: Print docker images - run: docker images - - name: Set up QEMU if: ${{ runner.arch == 'ARM64' }} uses: docker/setup-qemu-action@v3 - - name: Print docker images - run: docker images - - - name: Print binfmt config - run: cat /proc/sys/fs/binfmt_misc/qemu-arm - - - # - name: Test Package - # run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run test-package --set FLAVOR=${{ matrix.flavor }} + - name: Test Package + run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run test-package --set FLAVOR=${{ matrix.flavor }} - name: Debug Output if: ${{ always() }} From 7d9231a3aff8fa85bea460fdf742f70f66af2615 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:36:13 -0500 Subject: [PATCH 16/18] remove temporary workflow for testing --- .github/workflows/ewyles-test-qemu.yaml | 52 ------------------------- 1 file changed, 52 deletions(-) delete mode 100644 .github/workflows/ewyles-test-qemu.yaml diff --git a/.github/workflows/ewyles-test-qemu.yaml b/.github/workflows/ewyles-test-qemu.yaml deleted file mode 100644 index d97c4845..00000000 --- a/.github/workflows/ewyles-test-qemu.yaml +++ /dev/null @@ -1,52 +0,0 @@ -name: Test the Mattermost Package on arm64 with qemu - -on: - push: - branches: - - ewyles/test-qemu - -permissions: - contents: read - -jobs: - test-qemu: - runs-on: ${{ matrix.architecture == 'arm64' && 'uds-ubuntu-arm64-4-core' || 'ubuntu-latest' }} - strategy: - matrix: - flavor: [upstream, registry1] - architecture: [arm64] - exclude: - - flavor: registry1 - architecture: arm64 - name: Test QEMU ${{ matrix.flavor }} ${{ matrix.architecture }} - - permissions: - contents: read - packages: write - - steps: - - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - - - name: Environment setup - uses: defenseunicorns/uds-common/.github/actions/setup@4cea6c8858b9f4db3a3624a6fc046db77e1f4eaa # v0.5.0 - with: - registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} - registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} - ghToken: ${{ secrets.GITHUB_TOKEN }} - - - name: Set up QEMU - if: ${{ runner.arch == 'ARM64' }} - uses: docker/setup-qemu-action@v3 - - - name: Test Package - run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run test-package --set FLAVOR=${{ matrix.flavor }} - - - name: Debug Output - if: ${{ always() }} - uses: defenseunicorns/uds-common/.github/actions/debug-output@4cea6c8858b9f4db3a3624a6fc046db77e1f4eaa # v0.5.0 - - - name: Save logs - if: always() - uses: defenseunicorns/uds-common/.github/actions/save-logs@4cea6c8858b9f4db3a3624a6fc046db77e1f4eaa # v0.5.0 - with: - suffix: ${{ matrix.flavor }}-${{ matrix.architecture }}-${{ github.run_id }}-${{ github.run_attempt }} From 4d86558509b6fb2064834d71110f3e3f2007737a Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:40:18 -0500 Subject: [PATCH 17/18] add setup qemu action for tag and release --- .github/workflows/tag-and-release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag-and-release.yaml b/.github/workflows/tag-and-release.yaml index 1a4c522d..85725ee4 100644 --- a/.github/workflows/tag-and-release.yaml +++ b/.github/workflows/tag-and-release.yaml @@ -29,7 +29,7 @@ jobs: strategy: matrix: flavor: [upstream, registry1] - architecture: [amd64] + architecture: [amd64, arm64] name: Publish ${{ matrix.flavor }} ${{ matrix.architecture }} permissions: @@ -46,6 +46,10 @@ jobs: registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} ghToken: ${{ secrets.GITHUB_TOKEN }} + - name: Set up QEMU + if: ${{ runner.arch == 'ARM64' }} + uses: docker/setup-qemu-action@v3 + - name: Publish Package run: UDS_ARCHITECTURE=${{ matrix.architecture }} uds run -f tasks/publish.yaml package --set FLAVOR=${{ matrix.flavor }} From c117176c573e532f16a952d8d9d3f409cfc9b103 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:57:16 -0500 Subject: [PATCH 18/18] docs --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 595380ec..0fd3ceb0 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ This package is designed for use as part of a [UDS Software Factory](https://github.com/defenseunicorns/uds-software-factory) bundle deployed on [UDS Core](https://github.com/defenseunicorns/uds-core). +> [!IMPORTANT] +> The `arm64` package includes `amd64` images due to lack of availability of `arm64` images from upstream projects at this time. This means you can deploy the `arm64` package on an `arm64` kubernetes cluster, but some of the images contained in the package will require emulation (e.g., qemu or rosetta) to run properly. + > [!TIP] > To add additional environment variables to Mattermost you can do so by overriding the `extraEnv` key in the `uds-mattermost-config` chart. > ```yaml