Skip to content

Commit

Permalink
Merge branch 'master' into mac
Browse files Browse the repository at this point in the history
  • Loading branch information
karianna authored Mar 11, 2024
2 parents 75fa041 + a8a152e commit eff5942
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 4 deletions.
6 changes: 4 additions & 2 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ is more information on running tests yourself in the

A few examples that test specific pieces of infra-related functionality so useful to be aware of.
These are the parameters to pass into a Grinder job in jenkins. If using
these from the command line as per the example above, the `TARGET` name
should have an underscore `_` prepended to it.
these from the command line instead of a Grinder job there are a couple of
things regarding the information in this table:
- The `TARGET` name should have an underscore `_` prepended to it (like the shell snippet above)
- For custom targets, specify it as a JDK_CUSTOM_TARGET variable to make e.g. `make _jdk_custom JDK_CUSTOM_TARGET=java/lang/invoke/lambda/LambdaFileEncodingSerialization.java`

| `BUILD_LIST` | `TARGET` | `CUSTOM_TARGET` | What does it test? |
| --- | --- | --- | --- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@
- ! (ansible_distribution_major_version == "7" and ansible_architecture == "s390x")
tags: build_tools

- name: Install jq for SBoM parsing for build reproducibility testing
package: "name=jq state=latest"
when:
- ansible_distribution_major_version > "7"
tags: test_tools

- name: Add devtools-2 to yum repo list for gcc 4.8
get_url:
url: https://people.centos.org/tru/devtools-2/devtools-2.repo
Expand Down Expand Up @@ -190,6 +196,13 @@
- ansible_distribution_major_version == "6"
tags: build_tools

- name: Install jq for SBoM parsing for build reproducibility testing
package: "name=jq state=latest"
when:
- ansible_distribution_major_version != "6"
- ansible_distribution_major_version != "7"
tags: test_tools

##############################
# expat on CentOS on x86_64 #
##############################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
- ansible_architecture == "x86_64"
tags: patch_update


- name: Enable EPEL release for RHEL8 or RHEL6 or RHEL7
yum: name=https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm
failed_when: false
Expand Down Expand Up @@ -110,6 +109,12 @@
- (ansible_distribution_major_version == "8")
tags: build_tools

- name: Install jq for SBoM parsing for build reproducibility testing
package: "name=jq state=latest"
when:
- ansible_distribution_major_version > "7"
tags: test_tools

#################
# xorg Packages #
#################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Test_Tool_Packages:
- binfmt-support
- qemu-user-static
- gnutls-bin
- jq # For parsing SBoM during reproducibility tests
- libnss3
- libnss3-dev
- libnss3-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ Test_Tool_Packages:
- zlib-devel
- perl-devel
- expat-devel
- jq # For parsing SBoM during reproducibility tests
- libcurl-devel
- mercurial
- gnutls
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Test_Tool_Packages:
- xorg-x11-server-extra
- glibc-locale # Internationalization tests
- gnutls
- jq # For parsing SBoM during reproducibility tests
- mozilla-nss
- mozilla-nss-devel
- mozilla-nss-tools
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Test_Tool_Packages:
- libexpat1-dev
- libcurl4-openssl-dev
- fakeroot
- jq # For parsing SBoM during reproducibility tests
- gnutls-bin
- libnss3
- libnss3-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

- name: Install Cygwin
win_shell: |
Start-Process -Wait -FilePath 'C:\temp\cygwin.exe' -ArgumentList '--packages autoconf,automake,bsdtar,cmake,cpio,curl,gcc-core,git,gnupg,grep,libtool,make,mingw64-x86_64-gcc-core,perl,rsync,unzip,wget,zip --quiet-mode --download --local-install --delete-orphans --site https://mirrors.kernel.org/sourceware/cygwin/ --local-package-dir C:\cygwin_packages --root C:\cygwin64'
Start-Process -Wait -FilePath 'C:\temp\cygwin.exe' -ArgumentList '--packages autoconf,automake,bsdtar,cmake,cpio,curl,gcc-core,git,gnupg,grep,jq,libtool,make,mingw64-x86_64-gcc-core,perl,rsync,unzip,wget,zip --quiet-mode --download --local-install --delete-orphans --site https://mirrors.kernel.org/sourceware/cygwin/ --local-package-dir C:\cygwin_packages --root C:\cygwin64'
args:
executable: powershell
when: not cygwin_installed.stat.exists
Expand Down

0 comments on commit eff5942

Please sign in to comment.