зеркало из https://github.com/microsoft/CCF.git
Update CI image from 12-02-2024 to 15-03-2024 (#6067)
This commit is contained in:
Родитель
91d6ea44cc
Коммит
76650042d5
|
@ -11,7 +11,7 @@ jobs:
|
|||
variables:
|
||||
Codeql.SkipTaskAutoInjection: true
|
||||
skipComponentGovernanceDetection: true
|
||||
container: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
container: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
pool:
|
||||
vmImage: ubuntu-20.04
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ trigger: none
|
|||
resources:
|
||||
containers:
|
||||
- container: virtual
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -8,15 +8,15 @@ pr: none
|
|||
resources:
|
||||
containers:
|
||||
- container: virtual
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
|
||||
|
||||
- container: snp
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-snp-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-snp-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
|
||||
|
||||
- container: sgx
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-sgx
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-sgx
|
||||
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:
|
||||
|
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
- script: |
|
||||
set -ex
|
||||
docker login -u $ACR_TOKEN_NAME -p $ACR_CI_PUSH_TOKEN_PASSWORD $ACR_REGISTRY
|
||||
docker pull $ACR_REGISTRY/ccf/ci:12-02-2024-snp-clang15
|
||||
docker pull $ACR_REGISTRY/ccf/ci:15-03-2024-snp-clang15
|
||||
docker build -f docker/ccf_ci_built . --build-arg="base=$BASE_IMAGE" --build-arg="platform=snp" -t $ACR_REGISTRY/ccf/ci:pr-`git rev-parse HEAD`
|
||||
docker push $ACR_REGISTRY/ccf/ci:pr-`git rev-parse HEAD`
|
||||
name: build_ci_image
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
|||
ACR_TOKEN_NAME: ci-push-token
|
||||
ACR_CI_PUSH_TOKEN_PASSWORD: $(ACR_CI_PUSH_TOKEN_PASSWORD)
|
||||
ACR_REGISTRY: ccfmsrc.azurecr.io
|
||||
BASE_IMAGE: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-snp-clang15
|
||||
BASE_IMAGE: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-snp-clang15
|
||||
|
||||
- script: |
|
||||
set -ex
|
||||
|
|
|
@ -30,15 +30,15 @@ schedules:
|
|||
resources:
|
||||
containers:
|
||||
- container: virtual
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
|
||||
|
||||
- container: snp
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-snp-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-snp-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
|
||||
|
||||
- container: sgx
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-sgx
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-sgx
|
||||
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:
|
||||
|
|
|
@ -32,7 +32,7 @@ schedules:
|
|||
resources:
|
||||
containers:
|
||||
- container: virtual
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -27,15 +27,15 @@ schedules:
|
|||
resources:
|
||||
containers:
|
||||
- container: virtual
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE
|
||||
|
||||
- container: snp
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-snp-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-snp-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
|
||||
|
||||
- container: sgx
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-sgx
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-sgx
|
||||
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
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "CCF Development Environment",
|
||||
"image": "ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15",
|
||||
"image": "ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15",
|
||||
"runArgs": [],
|
||||
"extensions": [
|
||||
"eamodio.gitlens",
|
||||
|
|
|
@ -11,7 +11,7 @@ permissions: read-all
|
|||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
container: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
container: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
|
||||
steps:
|
||||
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
name: Model Checking - Consistency
|
||||
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
|
||||
container:
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
@ -20,7 +20,7 @@ pr:
|
|||
resources:
|
||||
containers:
|
||||
- container: virtual
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-virtual-clang15
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-virtual-clang15
|
||||
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -24,7 +24,7 @@ schedules:
|
|||
resources:
|
||||
containers:
|
||||
- container: sgx
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:12-02-2024-sgx
|
||||
image: ccfmsrc.azurecr.io/ccf/ci:15-03-2024-sgx
|
||||
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
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
# Latest image as of this change
|
||||
ARG platform=sgx
|
||||
ARG base=ccfmsrc.azurecr.io/ccf/ci:12-02-2024-snp-clang-15
|
||||
ARG base=ccfmsrc.azurecr.io/ccf/ci:15-03-2024-snp-clang-15
|
||||
FROM ${base}
|
||||
|
||||
# SSH. Note that this could (should) be done in the base ccf_ci image instead
|
||||
|
|
|
@ -133,7 +133,7 @@ def parse_aci_args(parser: ArgumentParser) -> Namespace:
|
|||
"--aci-image",
|
||||
help="The name of the image to deploy in the ACI",
|
||||
type=str,
|
||||
default="ccfmsrc.azurecr.io/ccf/ci:12-02-2024-snp",
|
||||
default="ccfmsrc.azurecr.io/ccf/ci:15-03-2024-snp",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--aci-type",
|
||||
|
|
Загрузка…
Ссылка в новой задаче