Skip to content

Commit 5c1ee22

Browse files
OldManYellsAtCloudotavio
authored andcommitted
firefox: move build related config to separate repository
Move test and build related configs to a separate layer/repo (meta-firefox-test) It started to pollute this layer, and although it is important, the test and build related recipes and their settings started to become too opinionated for this layer, and they also started to overflow to other recipes. Keep them separate, so they won't break other things accidentally.
1 parent 28bd411 commit 5c1ee22

File tree

83 files changed

+696
-2192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+696
-2192
lines changed

.github/workflows/kirkstone-aarch64-v128.6.0esr.yml

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
paths:
88
- 'meta-firefox/**'
99

10+
permissions:
11+
contents: read
12+
actions: read
13+
checks: write
14+
1015
jobs:
1116
build-kirkstone-aarch64-esr:
1217
runs-on: [self-hosted, desktop]
@@ -17,37 +22,25 @@ jobs:
1722
environment: ff-build-env
1823
steps:
1924
- run: |
20-
if [ -e /yocto/test-images/kirkstone-aarch64-esr.wic.bz2 ]; then
21-
exit 0
22-
fi
2325
mkdir -p /yocto/kirkstone
2426
cd /yocto/kirkstone
25-
rm -rf meta-browser
27+
rm -rf meta-browser meta-firefox-test
2628
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
2729
git -C meta-browser checkout $GITHUB_HEAD_REF
28-
kas checkout --update ./meta-browser/meta-firefox/kas/kirkstone-esr-aarch64-test.yml
29-
kas shell ./meta-browser/meta-firefox/kas/kirkstone-esr-aarch64-test.yml -c "bitbake -c clean firefox firefox-test-image \
30-
firefox-l10n-ach firefox-l10n-en-gb firefox-l10n-hi-in firefox-l10n-ms firefox-l10n-sr \
31-
firefox-l10n-af firefox-l10n-en-us firefox-l10n-hr firefox-l10n-my firefox-l10n-sv-se \
32-
firefox-l10n-an firefox-l10n-eo firefox-l10n-hsb firefox-l10n-nb-no firefox-l10n-szl \
33-
firefox-l10n-ar firefox-l10n-es-ar firefox-l10n-hu firefox-l10n-ne-np firefox-l10n-ta \
34-
firefox-l10n-ast firefox-l10n-es-cl firefox-l10n-hy-am firefox-l10n-nl firefox-l10n-te \
35-
firefox-l10n-az firefox-l10n-es-es firefox-l10n-ia firefox-l10n-nn-no firefox-l10n-tg \
36-
firefox-l10n-be firefox-l10n-es-mx firefox-l10n-id firefox-l10n-oc firefox-l10n-th \
37-
firefox-l10n-bg firefox-l10n-et firefox-l10n-is firefox-l10n-pa-in firefox-l10n-tl \
38-
firefox-l10n-bn firefox-l10n-eu firefox-l10n-it firefox-l10n-pl firefox-l10n-tr \
39-
firefox-l10n-br firefox-l10n-fa firefox-l10n-ja firefox-l10n-pt-br firefox-l10n-trs \
40-
firefox-l10n-bs firefox-l10n-ff firefox-l10n-ka firefox-l10n-pt-pt firefox-l10n-uk \
41-
firefox-l10n-ca firefox-l10n-fi firefox-l10n-kab firefox-l10n-rm firefox-l10n-ur \
42-
firefox-l10n-cak firefox-l10n-fr firefox-l10n-kk firefox-l10n-ro firefox-l10n-uz \
43-
firefox-l10n-ca-valencia firefox-l10n-fur firefox-l10n-km firefox-l10n-ru firefox-l10n-vi \
44-
firefox-l10n-cs firefox-l10n-fy-nl firefox-l10n-kn firefox-l10n-sc firefox-l10n-xh \
45-
firefox-l10n-cy firefox-l10n-ga-ie firefox-l10n-ko firefox-l10n-sco firefox-l10n-zh-cn \
46-
firefox-l10n-da firefox-l10n-gd firefox-l10n-lij firefox-l10n-si firefox-l10n-zh-tw \
47-
firefox-l10n-de firefox-l10n-gl firefox-l10n-lt firefox-l10n-sk firefox-l10n-dsb \
48-
firefox-l10n-gn firefox-l10n-lv firefox-l10n-sl firefox-l10n-el firefox-l10n-gu-in \
49-
firefox-l10n-mk firefox-l10n-son firefox-l10n-en-ca firefox-l10n-he firefox-l10n-mr \
50-
firefox-l10n-sq"
51-
kas build ./meta-browser/meta-firefox/kas/kirkstone-esr-aarch64-test.yml
52-
mv build/tmp/deploy/images/raspberrypi3-64/firefox-test-image-raspberrypi3-64-*.rootfs.wic.bz2 /yocto/test-images/kirkstone-aarch64-esr.wic.bz2
53-
mv build/tmp/deploy/images/raspberrypi3-64/firefox-test-image-raspberrypi3-64-*.rootfs.wic.bmap /yocto/test-images/kirkstone-aarch64-esr.wic.bmap
30+
# clone the test repo
31+
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY_OWNER/meta-firefox-test
32+
./meta-firefox-test/scripts/build.sh kirkstone aarch64 esr
33+
test-kirkstone-aarch64-esr:
34+
runs-on: [self-hosted, desktop]
35+
needs: build-kirkstone-aarch64-esr
36+
steps:
37+
- run: |
38+
cd /yocto/kirkstone
39+
./meta-firefox-test/scripts/test.sh kirkstone aarch64 esr
40+
- uses: dorny/test-reporter@v1
41+
if: always()
42+
with:
43+
path: meta-firefox/test-results/*.xml
44+
reporter: java-junit
45+
name: Test Results - kirkstone aarch64 ESR
46+
working-directory: /yocto/kirkstone/meta-browser

.github/workflows/kirkstone-aarch64-v134.0.2.yml

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
paths:
88
- 'meta-firefox/**'
99

10+
permissions:
11+
contents: read
12+
actions: read
13+
checks: write
14+
1015
jobs:
1116
build-kirkstone-aarch64-latest:
1217
runs-on: [self-hosted, desktop]
@@ -17,37 +22,25 @@ jobs:
1722
environment: ff-build-env
1823
steps:
1924
- run: |
20-
if [ -e /yocto/test-images/kirkstone-aarch64-latest.wic.bz2 ]; then
21-
exit 0
22-
fi
2325
mkdir -p /yocto/kirkstone
2426
cd /yocto/kirkstone
25-
rm -rf meta-browser
27+
rm -rf meta-browser meta-firefox-test
2628
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
2729
git -C meta-browser checkout $GITHUB_HEAD_REF
28-
kas checkout --update ./meta-browser/meta-firefox/kas/kirkstone-latest-aarch64-test.yml
29-
kas shell ./meta-browser/meta-firefox/kas/kirkstone-latest-aarch64-test.yml -c "bitbake -c clean firefox firefox-test-image \
30-
firefox-l10n-ach firefox-l10n-en-gb firefox-l10n-hi-in firefox-l10n-ms firefox-l10n-sr \
31-
firefox-l10n-af firefox-l10n-en-us firefox-l10n-hr firefox-l10n-my firefox-l10n-sv-se \
32-
firefox-l10n-an firefox-l10n-eo firefox-l10n-hsb firefox-l10n-nb-no firefox-l10n-szl \
33-
firefox-l10n-ar firefox-l10n-es-ar firefox-l10n-hu firefox-l10n-ne-np firefox-l10n-ta \
34-
firefox-l10n-ast firefox-l10n-es-cl firefox-l10n-hy-am firefox-l10n-nl firefox-l10n-te \
35-
firefox-l10n-az firefox-l10n-es-es firefox-l10n-ia firefox-l10n-nn-no firefox-l10n-tg \
36-
firefox-l10n-be firefox-l10n-es-mx firefox-l10n-id firefox-l10n-oc firefox-l10n-th \
37-
firefox-l10n-bg firefox-l10n-et firefox-l10n-is firefox-l10n-pa-in firefox-l10n-tl \
38-
firefox-l10n-bn firefox-l10n-eu firefox-l10n-it firefox-l10n-pl firefox-l10n-tr \
39-
firefox-l10n-br firefox-l10n-fa firefox-l10n-ja firefox-l10n-pt-br firefox-l10n-trs \
40-
firefox-l10n-bs firefox-l10n-ff firefox-l10n-ka firefox-l10n-pt-pt firefox-l10n-uk \
41-
firefox-l10n-ca firefox-l10n-fi firefox-l10n-kab firefox-l10n-rm firefox-l10n-ur \
42-
firefox-l10n-cak firefox-l10n-fr firefox-l10n-kk firefox-l10n-ro firefox-l10n-uz \
43-
firefox-l10n-ca-valencia firefox-l10n-fur firefox-l10n-km firefox-l10n-ru firefox-l10n-vi \
44-
firefox-l10n-cs firefox-l10n-fy-nl firefox-l10n-kn firefox-l10n-sc firefox-l10n-xh \
45-
firefox-l10n-cy firefox-l10n-ga-ie firefox-l10n-ko firefox-l10n-sco firefox-l10n-zh-cn \
46-
firefox-l10n-da firefox-l10n-gd firefox-l10n-lij firefox-l10n-si firefox-l10n-zh-tw \
47-
firefox-l10n-de firefox-l10n-gl firefox-l10n-lt firefox-l10n-sk firefox-l10n-dsb \
48-
firefox-l10n-gn firefox-l10n-lv firefox-l10n-sl firefox-l10n-el firefox-l10n-gu-in \
49-
firefox-l10n-mk firefox-l10n-son firefox-l10n-en-ca firefox-l10n-he firefox-l10n-mr \
50-
firefox-l10n-sq"
51-
kas build ./meta-browser/meta-firefox/kas/kirkstone-latest-aarch64-test.yml
52-
mv build/tmp/deploy/images/raspberrypi3-64/firefox-test-image-raspberrypi3-64-*.rootfs.wic.bz2 /yocto/test-images/kirkstone-aarch64-latest.wic.bz2
53-
mv build/tmp/deploy/images/raspberrypi3-64/firefox-test-image-raspberrypi3-64-*.rootfs.wic.bmap /yocto/test-images/kirkstone-aarch64-latest.wic.bmap
30+
# clone the test repo
31+
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY_OWNER/meta-firefox-test
32+
./meta-firefox-test/scripts/build.sh kirkstone aarch64 latest
33+
test-kirkstone-aarch64-latest:
34+
runs-on: [self-hosted, desktop]
35+
needs: build-kirkstone-aarch64-latest
36+
steps:
37+
- run: |
38+
cd /yocto/kirkstone
39+
./meta-firefox-test/scripts/test.sh kirkstone aarch64 latest
40+
- uses: dorny/test-reporter@v1
41+
if: always()
42+
with:
43+
path: meta-firefox/test-results/*.xml
44+
reporter: java-junit
45+
name: Test Results - kirkstone aarch64 latest
46+
working-directory: /yocto/kirkstone/meta-browser

.github/workflows/kirkstone-arm-v128.6.0esr.yml

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
paths:
88
- 'meta-firefox/**'
99

10+
permissions:
11+
contents: read
12+
actions: read
13+
checks: write
14+
1015
jobs:
1116
build-kirkstone-arm-esr:
1217
runs-on: [self-hosted, desktop]
@@ -17,37 +22,25 @@ jobs:
1722
environment: ff-build-env
1823
steps:
1924
- run: |
20-
if [ -e /yocto/test-images/kirkstone-arm-esr.wic.bz2 ]; then
21-
exit 0
22-
fi
2325
mkdir -p /yocto/kirkstone
2426
cd /yocto/kirkstone
25-
rm -rf meta-browser
27+
rm -rf meta-browser meta-firefox-test
2628
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
2729
git -C meta-browser checkout $GITHUB_HEAD_REF
28-
kas checkout --update ./meta-browser/meta-firefox/kas/kirkstone-esr-arm-test.yml
29-
kas shell ./meta-browser/meta-firefox/kas/kirkstone-esr-arm-test.yml -c "bitbake -c clean firefox firefox-test-image \
30-
firefox-l10n-ach firefox-l10n-en-gb firefox-l10n-hi-in firefox-l10n-ms firefox-l10n-sr \
31-
firefox-l10n-af firefox-l10n-en-us firefox-l10n-hr firefox-l10n-my firefox-l10n-sv-se \
32-
firefox-l10n-an firefox-l10n-eo firefox-l10n-hsb firefox-l10n-nb-no firefox-l10n-szl \
33-
firefox-l10n-ar firefox-l10n-es-ar firefox-l10n-hu firefox-l10n-ne-np firefox-l10n-ta \
34-
firefox-l10n-ast firefox-l10n-es-cl firefox-l10n-hy-am firefox-l10n-nl firefox-l10n-te \
35-
firefox-l10n-az firefox-l10n-es-es firefox-l10n-ia firefox-l10n-nn-no firefox-l10n-tg \
36-
firefox-l10n-be firefox-l10n-es-mx firefox-l10n-id firefox-l10n-oc firefox-l10n-th \
37-
firefox-l10n-bg firefox-l10n-et firefox-l10n-is firefox-l10n-pa-in firefox-l10n-tl \
38-
firefox-l10n-bn firefox-l10n-eu firefox-l10n-it firefox-l10n-pl firefox-l10n-tr \
39-
firefox-l10n-br firefox-l10n-fa firefox-l10n-ja firefox-l10n-pt-br firefox-l10n-trs \
40-
firefox-l10n-bs firefox-l10n-ff firefox-l10n-ka firefox-l10n-pt-pt firefox-l10n-uk \
41-
firefox-l10n-ca firefox-l10n-fi firefox-l10n-kab firefox-l10n-rm firefox-l10n-ur \
42-
firefox-l10n-cak firefox-l10n-fr firefox-l10n-kk firefox-l10n-ro firefox-l10n-uz \
43-
firefox-l10n-ca-valencia firefox-l10n-fur firefox-l10n-km firefox-l10n-ru firefox-l10n-vi \
44-
firefox-l10n-cs firefox-l10n-fy-nl firefox-l10n-kn firefox-l10n-sc firefox-l10n-xh \
45-
firefox-l10n-cy firefox-l10n-ga-ie firefox-l10n-ko firefox-l10n-sco firefox-l10n-zh-cn \
46-
firefox-l10n-da firefox-l10n-gd firefox-l10n-lij firefox-l10n-si firefox-l10n-zh-tw \
47-
firefox-l10n-de firefox-l10n-gl firefox-l10n-lt firefox-l10n-sk firefox-l10n-dsb \
48-
firefox-l10n-gn firefox-l10n-lv firefox-l10n-sl firefox-l10n-el firefox-l10n-gu-in \
49-
firefox-l10n-mk firefox-l10n-son firefox-l10n-en-ca firefox-l10n-he firefox-l10n-mr \
50-
firefox-l10n-sq"
51-
kas build ./meta-browser/meta-firefox/kas/kirkstone-esr-arm-test.yml
52-
mv build/tmp/deploy/images/raspberrypi3/firefox-test-image-raspberrypi3-*.rootfs.wic.bz2 /yocto/test-images/kirkstone-arm-esr.wic.bz2
53-
mv build/tmp/deploy/images/raspberrypi3/firefox-test-image-raspberrypi3-*.rootfs.wic.bmap /yocto/test-images/kirkstone-arm-esr.wic.bmap
30+
# clone the test repo
31+
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY_OWNER/meta-firefox-test
32+
./meta-firefox-test/scripts/build.sh kirkstone arm esr
33+
test-kirkstone-arm-esr:
34+
runs-on: [self-hosted, desktop]
35+
needs: build-kirkstone-arm-esr
36+
steps:
37+
- run: |
38+
cd /yocto/kirkstone
39+
./meta-firefox-test/scripts/test.sh kirkstone arm esr
40+
- uses: dorny/test-reporter@v1
41+
if: always()
42+
with:
43+
path: meta-firefox/test-results/*.xml
44+
reporter: java-junit
45+
name: Test Results - kirkstone arm ESR
46+
working-directory: /yocto/kirkstone/meta-browser

.github/workflows/kirkstone-arm-v134.0.2.yml

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
paths:
88
- 'meta-firefox/**'
99

10+
permissions:
11+
contents: read
12+
actions: read
13+
checks: write
14+
1015
jobs:
1116
build-kirkstone-arm-latest:
1217
runs-on: [self-hosted, desktop]
@@ -17,37 +22,25 @@ jobs:
1722
environment: ff-build-env
1823
steps:
1924
- run: |
20-
if [ -e /yocto/test-images/kirkstone-arm-latest.wic.bz2 ]; then
21-
exit 0
22-
fi
2325
mkdir -p /yocto/kirkstone
2426
cd /yocto/kirkstone
25-
rm -rf meta-browser
27+
rm -rf meta-browser meta-firefox-test
2628
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
2729
git -C meta-browser checkout $GITHUB_HEAD_REF
28-
kas checkout --update ./meta-browser/meta-firefox/kas/kirkstone-latest-arm-test.yml
29-
kas shell ./meta-browser/meta-firefox/kas/kirkstone-latest-arm-test.yml -c "bitbake -c clean firefox firefox-test-image \
30-
firefox-l10n-ach firefox-l10n-en-gb firefox-l10n-hi-in firefox-l10n-ms firefox-l10n-sr \
31-
firefox-l10n-af firefox-l10n-en-us firefox-l10n-hr firefox-l10n-my firefox-l10n-sv-se \
32-
firefox-l10n-an firefox-l10n-eo firefox-l10n-hsb firefox-l10n-nb-no firefox-l10n-szl \
33-
firefox-l10n-ar firefox-l10n-es-ar firefox-l10n-hu firefox-l10n-ne-np firefox-l10n-ta \
34-
firefox-l10n-ast firefox-l10n-es-cl firefox-l10n-hy-am firefox-l10n-nl firefox-l10n-te \
35-
firefox-l10n-az firefox-l10n-es-es firefox-l10n-ia firefox-l10n-nn-no firefox-l10n-tg \
36-
firefox-l10n-be firefox-l10n-es-mx firefox-l10n-id firefox-l10n-oc firefox-l10n-th \
37-
firefox-l10n-bg firefox-l10n-et firefox-l10n-is firefox-l10n-pa-in firefox-l10n-tl \
38-
firefox-l10n-bn firefox-l10n-eu firefox-l10n-it firefox-l10n-pl firefox-l10n-tr \
39-
firefox-l10n-br firefox-l10n-fa firefox-l10n-ja firefox-l10n-pt-br firefox-l10n-trs \
40-
firefox-l10n-bs firefox-l10n-ff firefox-l10n-ka firefox-l10n-pt-pt firefox-l10n-uk \
41-
firefox-l10n-ca firefox-l10n-fi firefox-l10n-kab firefox-l10n-rm firefox-l10n-ur \
42-
firefox-l10n-cak firefox-l10n-fr firefox-l10n-kk firefox-l10n-ro firefox-l10n-uz \
43-
firefox-l10n-ca-valencia firefox-l10n-fur firefox-l10n-km firefox-l10n-ru firefox-l10n-vi \
44-
firefox-l10n-cs firefox-l10n-fy-nl firefox-l10n-kn firefox-l10n-sc firefox-l10n-xh \
45-
firefox-l10n-cy firefox-l10n-ga-ie firefox-l10n-ko firefox-l10n-sco firefox-l10n-zh-cn \
46-
firefox-l10n-da firefox-l10n-gd firefox-l10n-lij firefox-l10n-si firefox-l10n-zh-tw \
47-
firefox-l10n-de firefox-l10n-gl firefox-l10n-lt firefox-l10n-sk firefox-l10n-dsb \
48-
firefox-l10n-gn firefox-l10n-lv firefox-l10n-sl firefox-l10n-el firefox-l10n-gu-in \
49-
firefox-l10n-mk firefox-l10n-son firefox-l10n-en-ca firefox-l10n-he firefox-l10n-mr \
50-
firefox-l10n-sq"
51-
kas build ./meta-browser/meta-firefox/kas/kirkstone-latest-arm-test.yml
52-
mv build/tmp/deploy/images/raspberrypi3/firefox-test-image-raspberrypi3-*.rootfs.wic.bz2 /yocto/test-images/kirkstone-arm-latest.wic.bz2
53-
mv build/tmp/deploy/images/raspberrypi3/firefox-test-image-raspberrypi3-*.rootfs.wic.bmap /yocto/test-images/kirkstone-arm-latest.wic.bmap
30+
# clone the test repo
31+
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY_OWNER/meta-firefox-test
32+
./meta-firefox-test/scripts/build.sh kirkstone arm latest
33+
test-kirkstone-arm-latest:
34+
runs-on: [self-hosted, desktop]
35+
needs: build-kirkstone-arm-latest
36+
steps:
37+
- run: |
38+
cd /yocto/kirkstone
39+
./meta-firefox-test/scripts/test.sh kirkstone arm latest
40+
- uses: dorny/test-reporter@v1
41+
if: always()
42+
with:
43+
path: meta-firefox/test-results/*.xml
44+
reporter: java-junit
45+
name: Test Results - kirkstone arm latest
46+
working-directory: /yocto/kirkstone/meta-browser

0 commit comments

Comments
 (0)