Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Jan 8, 2025
2 parents f84fabc + 3390373 commit a62b785
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 332 deletions.
6 changes: 3 additions & 3 deletions .azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ pr: none
resources:
containers:
- container: virtual
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro

- container: snp
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro

- container: sgx
image: ghcr.io/microsoft/ccf/ci/sgx:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/sgx:build-08-01-2025-1
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --device /dev/sgx_enclave:/dev/sgx_enclave --device /dev/sgx_provision:/dev/sgx_provision -v /dev/sgx:/dev/sgx -v /lib/modules:/lib/modules:ro

variables:
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines-templates/deploy_aci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
env:
ACR_REGISTRY_RESOURCE_NAME: ccfmsrc
ACR_REGISTRY: ccfmsrc.azurecr.io
BASE_IMAGE: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
BASE_IMAGE: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
- script: |
set -ex
Expand Down
2 changes: 1 addition & 1 deletion .azure_pipelines_snp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ schedules:
resources:
containers:
- container: virtual
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro

jobs:
Expand Down
1 change: 0 additions & 1 deletion .cmake-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"CURL_CLIENT": "*",
"CONFIGURATIONS": "*",
"ADDITIONAL_ARGS": "*",
"CONTAINER_NODES": "*",
},
},
"add_perf_test": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bencher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Continuous Benchmarking with Bencher
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
steps:
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: Model Checking - Consistency
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
defaults:
run:
working-directory: tla
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
name: Model Checking - Consensus
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
defaults:
run:
working-directory: tla
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
name: Trace Validation - Consensus
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
checks:
name: "Format and License Checks"
runs-on: ubuntu-latest
container: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
container: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1

steps:
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand All @@ -44,7 +44,7 @@ jobs:
options: --user root --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
runs-on: ${{ matrix.platform.nodes }}
container:
image: ghcr.io/microsoft/ccf/ci/${{ matrix.platform.image }}:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/${{ matrix.platform.image }}:build-08-01-2025-1
options: ${{ matrix.platform.options }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# Insufficient space to run on public runner, so use custom pool
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
options: --user root

permissions:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/long-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-test') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1

steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +35,7 @@ jobs:
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-test') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
name: TSAN
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
name: LTS
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/long-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-verification') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
defaults:
run:
working-directory: tla
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-long-verification') || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
container:
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
defaults:
run:
working-directory: tla
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
nodes: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
runs-on: ${{ matrix.platform.nodes }}
container:
image: ghcr.io/microsoft/ccf/ci/${{ matrix.platform.image }}:build-08-01-2025
image: ghcr.io/microsoft/ccf/ci/${{ matrix.platform.image }}:build-08-01-2025-1
options: "--user root --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro ${{ matrix.platform.container_options }}"
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"type": "git",
"git": {
"repositoryUrl": "https://github.com/tristanpenman/valijson",
"commitHash": "2dfc7499a31b84edef71189f4247919268ebc74e"
"commitHash": "fc9ddf14db683c9443c48ae3a6bf83e0ce3ad37c"
}
}
},
Expand Down
10 changes: 1 addition & 9 deletions cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function(add_e2e_test)
cmake_parse_arguments(
PARSE_ARGV 0 PARSED_ARGS ""
"NAME;PYTHON_SCRIPT;LABEL;CURL_CLIENT;PERF_LABEL"
"CONSTITUTION;ADDITIONAL_ARGS;CONFIGURATIONS;CONTAINER_NODES"
"CONSTITUTION;ADDITIONAL_ARGS;CONFIGURATIONS"
)

if(NOT PARSED_ARGS_CONSTITUTION)
Expand Down Expand Up @@ -161,14 +161,6 @@ function(add_e2e_test)
PROPERTY ENVIRONMENT "CURL_CLIENT=ON"
)
endif()
if((${PARSED_ARGS_CONTAINER_NODES}) AND (LONG_TESTS))
# Containerised nodes are only enabled with long tests
set_property(
TEST ${PARSED_ARGS_NAME}
APPEND
PROPERTY ENVIRONMENT "CONTAINER_NODES=ON"
)
endif()

if(DEFINED DEFAULT_ENCLAVE_TYPE)
set_property(
Expand Down
2 changes: 1 addition & 1 deletion docker/ccf_ci_built
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Also contains CCF source and build directory

# Latest image as of this change
ARG base=ghcr.io/microsoft/ccf/ci/default:build-08-01-2025
ARG base=ghcr.io/microsoft/ccf/ci/default:build-08-01-2025-1
FROM ${base}

# SSH. Note that this could (should) be done in the base ccf_ci image instead
Expand Down
3 changes: 3 additions & 0 deletions getting_started/setup_vm/ccf-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
- import_role:
name: lldb
tasks_from: install.yml
- import_role:
name: az_dcap
tasks_from: install.yml
- import_role:
name: autoremove
tasks_from: install.yml
18 changes: 18 additions & 0 deletions getting_started/setup_vm/roles/az_dcap/tasks/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- name: Add Microsoft repository key
apt_key:
url: "https://packages.microsoft.com/keys/microsoft.asc"
state: present
become: true

- name: Add Microsoft sources list
apt_repository:
repo: "deb [arch=amd64] https://packages.microsoft.com/ubuntu/{{ ansible_distribution_version }}/prod {{ ansible_distribution_release }} main"
state: present
become: true

- name: Install the Azure DCAP Client
apt:
name: az-dcap-client
state: present
force: true
become: true
36 changes: 0 additions & 36 deletions getting_started/setup_vm/roles/ccf_build/vars/clang11.yml

This file was deleted.

5 changes: 0 additions & 5 deletions getting_started/setup_vm/roles/ccf_run/vars/clang11.yml

This file was deleted.

Loading

0 comments on commit a62b785

Please sign in to comment.