Commit Graph

120 Commits

Author SHA1 Message Date
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
de17aee7de
Enable usage of previously backed up settings when starting new ACA container (#871)
* Add container env variable to import settings

* New script needs +x [no ci]
2024-11-18 08:07:19 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
6e7d894765
compose-acceptance-test-linux: docker macvlan requires privileged mode
The macvlan network plugin for docker on linux requires privileged mode to work properly.
2024-10-14 22:15:11 -04:00
iadgovuser26
a62e45ee2e
Merge pull request #816 from nsacyber/v3_issue_794_ci-error-check
Fixes CI test error checking
2024-08-16 15:16:02 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
a41b0f2fe4
Windows Docker images needed some work (#817)
* Use openssl 3.3 in aca windows images [no ci]

* Further attempt to compile the tpm simulator on Windows [no ci]

* Sw tpm vs solution was updated to look for libcrypto in different place
[no ci]

* Similar steps for tss tools [no ci]

* Change workflow ref [no ci]

* REF not connecting [no ci]

* Try accessing through Env [no ci]

* Tried to print build args before selecting image [no ci]

* Different arg access before shell change [no ci]

* Fun with docker args [no ci]

* Fun with docker build args 2 [no ci]

* Adjust for change in package folder structure [no ci]
2024-07-25 19:19:18 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
301e1f71d2 minor log cleanup 2024-07-25 14:57:30 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
726dfe04b5 Test reporting update complete 2024-07-25 14:42:07 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
df333fa36a save log on failure 2024-07-25 14:16:58 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
4f21e17f46 remove curl output from logs 2024-07-25 14:00:42 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
6df75c594c Testing failure condition 2024-07-25 13:49:09 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
89e1aea091 Added check for non typical provisioner status 2024-07-25 13:33:16 -04:00
SuperPotato27
8a3478c19e
Adding RIM tests action (#806)
* Added Rim test workflow

* bug fixes

* added rim tool setup

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* updates to rim_tests.yml

* updates to rim_tests.yml

* updates to rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* added run all script

* added run all script

* updates to rim_tests.yml

* Updates to paths in composite_rim_create_pass.sh

* Added all passing rim tests

* updates to rim_tests.yml

* switched to gradle-build-action@v3

* switched to setup-gradle@v3

* switched to setup-java@v4

* updates to rim_tests.yml

* testing failed script

* fixed failed test

* testing artifacts

* updates to rim_tests.yml

* Update rim_tests.yml

* updates to rim_tests.yml

* changes to rim_tests.yml

* testing log file

* testing log file

* testing log files

* testing log files

* testing log file

* testing log file

* testing log file

* testing log file

* testing log file

* Update rim_tests.yml

* verbose run

* updated paths and references

* updates to README.md

* deleted rim docker testing directory
2024-07-22 06:03:43 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
7c99b81b10
supplychainvalidationsummary will look up rims by ID (#805)
* Lookup here needed summary id from device object

* Portal linkage issue

* CertificatesUsed not working properly with RIM

* Maybe need to link to base rim

* Rim test 1 needed hw file

* Working on CI

* Connecting new tpm2_common

* Edited the way scripts called in docker exec

* TPM for reset each test

* Defining efi paths in CI env file

* Forgot to close while loops

* Connecting default test files

* Variable was wrong [no ci]

* Added ACA tests using uploaded artifacts

* Trying to chmod rim_setup.sh

* rim_setup chmod issues

* Added aca tests 9 and 10 to workflow

* Added cases 9 and 10 for aca policy tests

* Exit test scripts with error if one test fails

* Attempt to solve uploaded rim linkup

* Try only setting tagId if not null

* updateSupportRimInfo was not setting associated rim on base

* Attempt alternate lookup of rim by device name

* Trouble with event log archived

* Used wrong variable

* Fix spotbugs

* Try again

* Change SupplyChainValidation.message size to MAX_MESSAGE_LENGTH
2024-07-22 06:03:09 -04:00
iadgovuser62
dd7b041f9f
Adding Platform Cert Tests and RIM System Tests to V3 (#781)
* Adding Platform Cert and RIM Tests to V3 and modifying workflow file to split those tests into individual steps
2024-06-07 13:27:08 -04:00
iadgovuser62
7a1a6b73b0
[#775] Adding Policy Tests to V3 (#776)
* Adding ACA Policy tests with modifications to related files

* Separating the system tests setup from the tests themselves + Splitting up ACA Policy Tests into different steps in workflow file

* Creating separate script for setting up system tests in workflow, and one script for running system tests locally. Adding details to system test steps.
2024-06-07 06:28:25 -04:00
iadgovuser62
85c62f845e Added CI functionality to checkout current branch on ACA container in system tests; Added ACA-CI Dockerfile which has been pushed to registry; Renamed Provisioner for CI Dockerfile for consistency 2024-05-03 12:40:16 -04:00
iadgovuser62
144160dbfa
Adding system test for provision using Provisioner.NET (#748)
* Adding run script, Dockerfile, and container setup script for provisioning with TPM Simulator and Provisioner.Net

* Replacing Docker container setup script with Docker Compose .yml file with respective configurations in related files

* Adding system_test.yml for GitHub actions to run system tests upon V3 branch pushes. Modifying related files accordingly

* Replacing V2 ACA with V3 ACA built from Rocky 9
2024-05-01 14:20:51 -04:00
iadgovuser29
4d1de7db83 ACA dockerfile updated ref to package/linux 2024-03-14 21:52:39 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
24d81b9da2
create_aca_images workflow passes branch ref to dockerfiles (#729)
* Update ACA image workflow to pass ref to dockerfiles [no ci]

* Use GITHUB_REF_NAME instead [no ci]

* Change variable usage [no ci]

* Use build arg instead of env [no ci]
2024-03-06 20:51:13 -05:00
iadgovuser29
07f86d08c4 GitHub Workflow to create V3 ACA docker images 2024-02-01 11:25:34 -05:00
iadgovuser26
493d2bd2a4
Added scripts for acceptance testing (#659)
* Added scripts for acceptance testing

* Updated enthernet check

* Set Policy for Acceptance Tests

* Updated links for hat scripts
2024-01-17 12:54:26 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
355cec9e9a
Updated compose files for the acceptance test for Windows and Linux (#672)
* Linux will require different network driver for the acceptance test
container.

* default compose network does not work the same on Windows
2024-01-17 11:16:31 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
2ab1e548ce
V3 json file platform (#631)
* Look for Component Class json on Windows. Update aca-windows

* Removed TPM from the ACA on Rocky image, changed container detection

* Change healthcheck function on windows.

* Remove commented code lines from aca_bootRun.ps1

* Added SWTPM to v3 ACA images. 

* Add build arg to the aca-windows Dockerfile to select base image tag

* Make ACA accessible from localhost
2023-12-06 10:20:56 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
1e3c7c78b0
Dockerfiles for v3 ACA. Also Powershell Package Scripts (#628)
* Package scripts for powershell

* Adding dockerfiles
2023-11-09 11:54:51 -05:00
iadgovuser26
03ee0bfda8 Updated the dockerfile for Ubuntu 22 2023-10-11 19:56:36 +00:00
iadgovuser26
80dc42dae5 addeded OS sepcific checks for mariadb 2023-10-05 20:06:17 +00:00
iadgovuser26
9998fa7f22 Merge branch 'main' into v3_issue_578-rpm_update 2023-09-19 16:31:21 -04:00
iadgovuser58
5092718c3c updated to include protobuf-compiler and cronie 2023-09-18 11:22:43 -04:00
iadgovuser26
7f7238f4d2 added a chron job to start the ACA on reboot 2023-09-13 16:56:39 -04:00
iadgovuser26
cb4ad4d51a Updated gradle to v8.3 and nebula to 11.4.0 2023-09-06 16:10:16 -04:00
iadgovuser58
91169c1083 removed a couple lines of commented code 2023-08-16 09:45:30 -04:00
iadgovuser58
f1a5bb7fd3 updated github actions unit test yml, added Rocky 8.8 Dockerfile 2023-08-15 17:10:34 -04:00
iadgovuser26
98ef3126ad Added a Dockerfile for Rocky Linux 2022-11-02 09:51:47 -04:00
syncomp-dev1
a898faa38a Files added for ACA Docker image workflow 2022-09-01 09:03:02 -04:00
iadgovuser26
c022a954e0 fixed typo 2022-05-04 16:24:29 -04:00
iadgovuser26
b15bae62be removed extra container check 2022-05-03 16:31:51 -04:00
iadgovuser26
ef5b2e4c09 fixed dockerfile reference for tpm2provisioner 2022-05-03 16:06:51 -04:00
iadgovuser26
625ecd06f2 updated workflow for use with github packages 2022-04-29 14:14:46 -04:00
iadgovuser26
729c11985a added ACA build output 2022-04-20 11:25:30 -04:00
iadgovuser26
29b7857784 added ACA build output 2022-04-20 10:46:26 -04:00
iadgovuser26
6e0d7a3f6f updated ACA Dockerfile 2022-04-19 16:51:06 -04:00
iadgovuser26
8f409e0e0b Merge remote-tracking branch 'origin/tls-1_1-removal' into issue-470 2022-04-14 12:10:14 -04:00
Cyrus
1254fd76dd Missed one entry 2022-04-14 09:09:49 -04:00
Cyrus
1eaf04f15a Another attempt to correct test log in 2022-04-14 08:54:32 -04:00
Cyrus
45ceb4d3d2 Updated CI scripts 2022-04-14 07:52:06 -04:00
iadgovuser26
cb4426ceb7 added docker login 2022-04-12 18:12:14 -04:00
iadgovuser26
4a19bd01ce GitHub package test 2022-04-11 16:43:29 -04:00
lareine
3ed7c3f7a8 Merged in issue-453 2022-03-22 12:22:50 -04:00
lareine
467815a1ef merged from HIRS master 2022-03-09 15:00:19 -05:00
lareine
8975282cf7 minor clean up 2022-02-23 13:54:53 -05:00
lareine
58c3e655fe skipped NVChip removal 2022-02-23 13:54:53 -05:00