Skip to content

Commit

Permalink
[release/4.x] Cherry pick: Remove graphviz from llvm task (#5551) (#5554
Browse files Browse the repository at this point in the history
)
  • Loading branch information
achamayou authored Aug 17, 2023
1 parent 2d3b7a9 commit 50c7148
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
variables:
Codeql.SkipTaskAutoInjection: true
skipComponentGovernanceDetection: true
container: ccfmsrc.azurecr.io/ccf/ci:14-08-2023-virtual-clang15
container: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-virtual-clang15
pool:
vmImage: ubuntu-20.04

Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines-templates/deploy_aci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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:14-08-2023-snp-clang15
docker pull $ACR_REGISTRY/ccf/ci:16-08-2023-1-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
Expand All @@ -59,7 +59,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:14-08-2023-snp-clang15
BASE_IMAGE: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-snp-clang15
- script: |
set -ex
Expand Down
6 changes: 3 additions & 3 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ schedules:
resources:
containers:
- container: virtual
image: ccfmsrc.azurecr.io/ccf/ci:14-08-2023-virtual-clang15
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-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:14-08-2023-snp-clang15
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-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:14-08-2023-sgx
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-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:
Expand Down
2 changes: 1 addition & 1 deletion .azure_pipelines_snp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ variables:
resources:
containers:
- container: virtual
image: ccfmsrc.azurecr.io/ccf/ci:14-08-2023-virtual-clang15
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-virtual-clang15
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro

jobs:
Expand Down
6 changes: 3 additions & 3 deletions .daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ schedules:
resources:
containers:
- container: virtual
image: ccfmsrc.azurecr.io/ccf/ci:14-08-2023-virtual-clang15
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-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:14-08-2023-snp-clang15
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-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:14-08-2023-sgx
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-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:
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CCF Development Environment",
"image": "ccfmsrc.azurecr.io/ccf/ci:14-08-2023-virtual-clang15",
"image": "ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-virtual-clang15",
"runArgs": [],
"extensions": [
"eamodio.gitlens",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
checks:
runs-on: ubuntu-latest
container: ccfmsrc.azurecr.io/ccf/ci:14-08-2023-virtual-clang15
container: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-virtual-clang15

steps:
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand Down
2 changes: 1 addition & 1 deletion .multi-thread.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pr:
resources:
containers:
- container: virtual
image: ccfmsrc.azurecr.io/ccf/ci:14-08-2023-virtual-clang15
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-virtual-clang15
options: --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE -v /lib/modules:/lib/modules:ro

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .stress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ schedules:
resources:
containers:
- container: sgx
image: ccfmsrc.azurecr.io/ccf/ci:14-08-2023-sgx
image: ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-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:
Expand Down
2 changes: 1 addition & 1 deletion docker/ccf_ci_built
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Latest image as of this change
ARG platform=sgx
ARG base=ccfmsrc.azurecr.io/ccf/ci:14-08-2023-snp-clang-15
ARG base=ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-snp-clang-15
FROM ${base}

# SSH. Note that this could (should) be done in the base ccf_ci image instead
Expand Down
11 changes: 11 additions & 0 deletions getting_started/setup_vm/roles/autoremove/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- name: Remove graphviz debian package
apt:
name: graphviz
state: absent
become: yes

- name: Remove any uncessary packages
apt:
name: "autoremove"
autoremove: yes
become: yes
1 change: 0 additions & 1 deletion getting_started/setup_vm/roles/ccf_build/vars/clang11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ debs:
- libclang1-9 # required to build doxygen
- libclang-cpp9 # required to build doxygen
- pkg-config # required by v8
- graphviz # required to run doxygen
- unzip # required to unzip protoc install

# Not installed on GitHub Actions environment because of conflicting package
Expand Down
1 change: 0 additions & 1 deletion getting_started/setup_vm/roles/ccf_build/vars/clang15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ debs:
- libclang1-9 # required to build doxygen
- libclang-cpp9 # required to build doxygen
- pkg-config # required by v8
- graphviz # required to run doxygen
- unzip # required to unzip protoc install

# Not installed on GitHub Actions environment because of conflicting package
Expand Down
2 changes: 1 addition & 1 deletion scripts/azure_deployment/arm_aci.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,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:14-08-2023-snp",
default="ccfmsrc.azurecr.io/ccf/ci:16-08-2023-1-snp",
)
parser.add_argument(
"--aci-type",
Expand Down

0 comments on commit 50c7148

Please sign in to comment.