mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-14 15:01:58 +00:00
issue_896: Hopefully GITHUB actions will be more forgiving.
Some checks failed
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Has been cancelled
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
Some checks failed
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Has been cancelled
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
This commit is contained in:
parent
3913a224d5
commit
1892075d64
1
.github/workflows/create_aca_images.yml
vendored
1
.github/workflows/create_aca_images.yml
vendored
@ -1,5 +1,4 @@
|
||||
# Updated: 02/11/2025
|
||||
|
||||
name: Create ACA Docker Image
|
||||
on:
|
||||
release:
|
||||
|
@ -1,5 +1,4 @@
|
||||
# Updated: 02/11/2025
|
||||
|
||||
name: Dotnet Provisioner Unit Tests
|
||||
|
||||
on: push
|
||||
|
1
.github/workflows/hirs_package_linux.yml
vendored
1
.github/workflows/hirs_package_linux.yml
vendored
@ -1,5 +1,4 @@
|
||||
# Updated: 02/11/2025
|
||||
|
||||
name: HIRS build and packages for Linux
|
||||
on:
|
||||
push:
|
||||
|
1
.github/workflows/hirs_unit_tests.yml
vendored
1
.github/workflows/hirs_unit_tests.yml
vendored
@ -1,6 +1,5 @@
|
||||
# This workflow will build HIRS, run unit tests, and create HIRS artifacts
|
||||
# Updated: 02/11/2025
|
||||
|
||||
name: HIRS Build and Unit Test
|
||||
|
||||
on:
|
||||
|
1
.github/workflows/rim_tests.yml
vendored
1
.github/workflows/rim_tests.yml
vendored
@ -1,6 +1,5 @@
|
||||
# workflow is used to run RIM tests
|
||||
# Updated: 02/11/2025
|
||||
|
||||
name: RIM Test
|
||||
on:
|
||||
push:
|
||||
|
1
.github/workflows/system_test.yml
vendored
1
.github/workflows/system_test.yml
vendored
@ -1,6 +1,5 @@
|
||||
# This workflow will build HIRS, run system tests, and create artifacts consisting of ACA and Provisioner logs.
|
||||
# Updated: 02/11/2025
|
||||
|
||||
name: HIRS System Tests
|
||||
on:
|
||||
push:
|
||||
|
@ -147,8 +147,6 @@ public class ComponentClassTest {
|
||||
ComponentClass instance = new ComponentClass("2.23.133.18.3.4", Paths.get(
|
||||
Objects.requireNonNull(this.getClass()
|
||||
.getResource(JSON_FILE)).toURI()), componentIdentifier);
|
||||
final String resultCategory = instance.getCategoryStr();
|
||||
final String resultComponent = instance.getComponentStr();
|
||||
final String resultRegistry = instance.getRegistryType();
|
||||
|
||||
assertEquals("PCIE", resultRegistry);
|
||||
@ -170,8 +168,6 @@ public class ComponentClassTest {
|
||||
ComponentClass instance = new ComponentClass("2.23.133.18.3.5", Paths.get(
|
||||
Objects.requireNonNull(this.getClass()
|
||||
.getResource(JSON_FILE)).toURI()), componentIdentifier);
|
||||
final String resultCategory = instance.getCategoryStr();
|
||||
final String resultComponent = instance.getComponentStr();
|
||||
final String resultRegistry = instance.getRegistryType();
|
||||
|
||||
assertEquals("STORAGE", resultRegistry);
|
||||
|
@ -36,10 +36,8 @@ import org.bouncycastle.operator.OperatorCreationException;
|
||||
import org.bouncycastle.operator.jcajce.JcaContentSignerBuilder;
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.MockitoAnnotations;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
@ -360,11 +358,6 @@ public class SupplyChainCredentialValidatorTest {
|
||||
return cert;
|
||||
}
|
||||
|
||||
@BeforeEach
|
||||
public void setUpEachTest() {
|
||||
MockitoAnnotations.openMocks(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new RSA 1024-bit KeyPair using a Bouncy Castle Provider.
|
||||
*
|
||||
|
@ -422,7 +422,6 @@ public final class CertificateStringMapBuilder {
|
||||
|
||||
} else if (certificate.getPlatformConfigurationV2() != null) {
|
||||
PlatformConfigurationV2 platformConfigurationV2 = certificate.getPlatformConfigurationV2();
|
||||
|
||||
//Component Identifiers
|
||||
List<ComponentIdentifierV2> componentIdentifiersV2 =
|
||||
platformConfigurationV2.getComponentIdentifiers();
|
||||
|
Loading…
x
Reference in New Issue
Block a user