#1 Add testing and enable gating
Merged 2 years ago by omajid. Opened 2 years ago by omajid.
rpms/ omajid/dotnet3.1 testing-and-gating  into  master

file modified
+12 -10
@@ -67,8 +67,6 @@ 

  Source1:        check-debug-symbols.py

  Source2:        dotnet.sh.in

  

- Patch1:         sdk-rid.patch

- 

  # Fix building with our additional CFLAGS/CXXFLAGS/LDFLAGS

  Patch100:       corefx-optflags-support.patch

  
@@ -102,6 +100,7 @@ 

  BuildRequires:  dotnet-sdk-3.1

  BuildRequires:  dotnet-sdk-3.1-source-built-artifacts

  %endif

+ BuildRequires:  findutils

  BuildRequires:  git

  %if 0%{?fedora} || 0%{?rhel} > 7

  BuildRequires:  glibc-langpack-en
@@ -384,8 +383,8 @@ 

  cat /etc/os-release

  

  %if %{without bootstrap}

- cp -a %{_libdir}/dotnet .dotnet

- patch -p0 -i %{PATCH1}

+ # We need to create a copy because we will mutate this

+ cp -a %{_libdir}/dotnet previously-built-dotnet

  %endif

  

  export CFLAGS="%{dotnet_cflags}"
@@ -399,12 +398,15 @@ 

  #%%endif

  

  VERBOSE=1 ./build.sh \

-   -- \

-   /v:n \

-   /p:SkipPortableRuntimeBuild=true \

-   /p:LogVerbosity=n \

-   /p:MinimalConsoleLogOutput=false \

-   /p:ContinueOnPrebuiltBaselineError=true \

+ %if %{without bootstrap}

+     --with-sdk previously-built-dotnet \

+ %endif

+     -- \

+     /v:n \

+     /p:SkipPortableRuntimeBuild=true \

+     /p:LogVerbosity=n \

+     /p:MinimalConsoleLogOutput=false \

+     /p:ContinueOnPrebuiltBaselineError=true \

  

  

  sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE2} > dotnet.sh

file added
+7
@@ -0,0 +1,7 @@ 

+ --- !Policy

+ product_versions:

+   - fedora-*

+ decision_context: bodhi_update_push_testing

+ subject_type: koji_build

+ rules:

+   - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

file removed
-33
@@ -1,33 +0,0 @@ 

- --- .dotnet/sdk/3.1.101/RuntimeIdentifierGraph.json

- +++ .dotnet/sdk/3.1.101/RuntimeIdentifierGraph.json

- @@ -488,6 +488,23 @@

-          "fedora-x64"

-        ]

-      },

- +    "fedora.33": {

- +      "#import": [

- +        "fedora"

- +      ]

- +    },

- +    "fedora.33-arm64": {

- +      "#import": [

- +        "fedora.33",

- +        "fedora-arm64"

- +      ]

- +    },

- +    "fedora.33-x64": {

- +      "#import": [

- +        "fedora.33",

- +        "fedora-x64"

- +      ]

- +    },

-      "freebsd": {

-        "#import": [

-          "unix"

- @@ -2042,4 +2059,4 @@

-        ]

-      }

-    }

- -}

- \ No newline at end of file

- +}

file added
+1
@@ -0,0 +1,1 @@ 

+ 2

file added
+6
@@ -0,0 +1,6 @@ 

+ ---

+ 

+ standard-inventory-qcow2:

+   qemu:

+     m: 5G

+ 

file added
+38
@@ -0,0 +1,38 @@ 

+ ---

+ - hosts: localhost

+   roles:

+   - role: standard-test-basic

+     tags:

+     - classic

+     - container

+     - atomic

+     repositories:

+     - repo: "https://github.com/redhat-developer/dotnet-bunny.git"

+       dest: "dotnet-bunny"

+     - repo: "https://github.com/redhat-developer/dotnet-regular-tests.git"

+       dest: "dotnet-regular-tests"

+     tests:

+       - build_test_suite:

+           dir: dotnet-bunny

+           run: make

+       - print_test_suite_version:

+           dir: dotnet-bunny

+           run: bin/turkey --version

+       - run_regular_tests:

+           dir: dotnet-regular-tests

+           run: ../dotnet-bunny/bin/turkey -l={{ remote_artifacts }}

+     required_packages:

+     - babeltrace

+     - bash-completion

+     - binutils

+     - expect

+     - git

+     - jq

+     - lldb

+     - lttng-tools

+     - make

+     - npm

+     - python3

+     - strace

+     - wget

+     - which

no initial comment

rebased onto c3dac06

2 years ago

rebased onto f4d002c

2 years ago

rebased onto 00fc3e1

2 years ago

rebased onto a70e007

2 years ago

rebased onto af7c1b3

2 years ago

rebased onto f2db87e

2 years ago

rebased onto 76e05b4

2 years ago

rebased onto e8930ac

2 years ago

rebased onto 5e04bf7

2 years ago

rebased onto ffad6e9

2 years ago

rebased onto 0373910

2 years ago

rebased onto 115e095

2 years ago

Pull-Request has been merged by omajid

2 years ago