Skip to content

Commit aa25304

Browse files
committed
Merge main branch and resolve Dockerfile conflicts
- Keep jose package installation from main branch - Preserve our fixed user/group deletion logic for Docker build - Resolve merge conflicts maintaining both improvements Signed-off-by: Kallal Mukherjee <ritamukherje62@gmail.com>
2 parents 78a3ec9 + b8cd07b commit aa25304

56 files changed

Lines changed: 577 additions & 1290 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci-go-cover.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/setup-go@v3
2828
with:
29-
go-version: "1.22"
29+
go-version: "1.24"
3030
- name: Checkout code
3131
uses: actions/checkout@v2
3232
- name: Install mockgen

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/setup-go@v3
1414
with:
15-
go-version: "1.22"
15+
go-version: "1.24"
1616
- name: Checkout code
1717
uses: actions/checkout@v2
1818
- name: Install mockgen

.github/workflows/linters.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/setup-go@v3
1212
with:
13-
go-version: "1.22"
13+
go-version: "1.24"
1414
- name: Checkout code
1515
uses: actions/checkout@v2
1616
- name: Install mockgen
@@ -24,8 +24,7 @@ jobs:
2424
go install golang.org/x/tools/cmd/guru@latest
2525
- name: Install golangci-lint
2626
run: |
27-
go version
28-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
27+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
2928
- name: Install Protoc
3029
uses: arduino/setup-protoc@v1
3130
with:

.github/workflows/time-package.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/setup-go@v4
2020
with:
21-
go-version: "1.22"
21+
go-version: "1.24"
2222
cache: false
2323
- name: Checkout code
2424
uses: actions/checkout@v4
@@ -48,10 +48,6 @@ jobs:
4848
uses: ConorMacBride/install-package@v1
4949
with:
5050
apt: openssl sqlite3 gettext findutils jq
51-
- name: Install step-cli
52-
run: |
53-
wget https://dl.smallstep.com/cli/docs-cli-install/latest/step-cli_amd64.deb -O /tmp/step-cli_amd64.deb
54-
sudo dpkg -i /tmp/step-cli_amd64.deb
5551
- name: create deb
5652
run: |
5753
mkdir /tmp/veraison-package

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2021-2024 Contributors to the Veraison project.
1+
# Copyright 2021-2025 Contributors to the Veraison project.
22
# SPDX-License-Identifier: Apache-2.0
33

44
export TOPDIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
@@ -113,7 +113,6 @@ endif
113113
really-clean:
114114
make -C integration-tests really-clean
115115
make -C deployments/debian really-clean
116-
make -C deployments/rpm really-clean
117116
make -C deployments/docker really-clean
118117
make -C deployments/native really-clean
119118

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ system (on MacOS, they should be available via brew).
8484
Veraison will be deployed into the directory specified by `VERAISON_ROOT`
8585
environment variable (or into `${HOME}/veraison-deployment` if it is not set).
8686

87-
export VERAISON_ROOT=${HOME}/veraison-deployment
87+
export VERAISON_ROOT=${HOME}/veraison-deployment/
8888

8989
You can build, deploy, and start Veraison services with the following sequence
9090
of commands:

deployments/debian/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ make deb
3535
This will create
3636
`${PACKAGE_DEST}/veraison_deb_package/veraison_VERSION_ARCH.deb`, where `VERSION`
3737
is the Veraison version as reported by the
38-
[`get-veraison-version`](../scripts/get-veraison-version) script, and `ARCH` is
38+
[`get-veraison-version`](../../scripts/get-veraison-version) script, and `ARCH` is
3939
the architecture of your system as reported by `dpkg --print-architecture`.
4040

4141
Alongside the package, there will be a subdirectory with the same name but

deployments/debian/debian/control.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Package: veraison
1+
Package: veraison-services
22
Version: ${_VERAISON_VERSION}
33
Maintainer: Veraison Project <veraison-project@confidentialcomputing.io>
44
Architecture: amd64

deployments/debian/deployment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function create_deb() {
5454
set +a
5555

5656
export VERAISON_ROOT=/opt/veraison
57-
export DEPLOYMENT_DEST=${pkg_dir}${VERAISON_ROOT}
57+
export DEPLOYMENT_DEST=${pkg_dir}
5858
export VTS_HOST=$VERAISON_HOST
5959
export PROVISIONING_HOST=$VERAISON_HOST
6060
export VERIFICATION_HOST=$VERAISON_HOST

deployments/docker/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ would also need to be installed.
1111

1212
```sh
1313
# on Ubuntu
14-
sudo apt install bash make git docker.io docker-buildx jq tmux
14+
sudo apt install bash make git docker.io docker-buildx jq tmux jose
1515

1616
# on Arch
17-
sudo pacman -S bash make git docker docker-buildx jq tmux
17+
sudo pacman -S bash make git docker docker-buildx jq tmux jose
1818

1919
# On MacOSX with Homebrew
20-
brew install step coreutils gettext openssl sqlite3 protobuf jq
20+
brew install jose coreutils gettext openssl sqlite3 protobuf jq
2121
brew link --force gettext
2222
```
2323

0 commit comments

Comments
 (0)