File tree 4 files changed +19
-17
lines changed
4 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106
106
107
107
- name : Download Cosmian VM client
108
108
run : |
109
- wget https://package.cosmian.com/cosmian_vm/1.1.0-rc.2 /cosmian_vm
109
+ wget https://package.cosmian.com/cosmian_vm/1.1.0-rc.1 /cosmian_vm
110
110
111
111
- name : Change permissions of binaries
112
112
run : |
@@ -203,16 +203,16 @@ jobs:
203
203
runs-on : ubuntu-22.04
204
204
needs : [build-kms-cosmian-vm-image, test-image]
205
205
permissions :
206
- contents : ' read'
207
- id-token : ' write'
206
+ contents : read
207
+ id-token : write
208
208
steps :
209
209
- name : Checkout
210
210
uses : actions/checkout@v4
211
211
212
212
- name : GCP auth
213
213
uses : google-github-actions/auth@v1
214
214
with :
215
- credentials_json : " ${{ secrets.GOOGLE_COSMIAN_DEV_CREDENTIALS }}"
215
+ credentials_json : ${{ secrets.GOOGLE_COSMIAN_DEV_CREDENTIALS }}
216
216
217
217
- name : Copy image to public project
218
218
if : startsWith(github.ref, 'refs/tags') && inputs.distrib != 'rhel'
Original file line number Diff line number Diff line change 53
53
python_and_docker :
54
54
uses : ./.github/workflows/build_and_test_docker_image.yml
55
55
56
- cosmian_vm :
57
- uses : ./.github/workflows/build_and_test_cosmian_vm.yml
58
- strategy :
59
- matrix :
60
- distrib : [ubuntu, rhel]
61
- name : ${{ matrix.distrib }} -> GCP KMS Cosmian VM image
62
- secrets : inherit
63
- with :
64
- distrib : ${{ matrix.distrib }}
65
-
66
56
ckms_gui :
67
57
runs-on : ubuntu-latest
68
58
if : startsWith(github.ref, 'refs/tags')
@@ -154,7 +144,6 @@ jobs:
154
144
- cargo-doc
155
145
- build
156
146
- python_and_docker
157
- - cosmian_vm
158
147
- clean_env_test
159
148
runs-on : [self-hosted, not-sgx]
160
149
env :
@@ -197,6 +186,18 @@ jobs:
197
186
with :
198
187
files : ./*.zip
199
188
189
+ cosmian_vm :
190
+ needs :
191
+ - release
192
+ uses : ./.github/workflows/build_and_test_cosmian_vm.yml
193
+ strategy :
194
+ matrix :
195
+ distrib : [ubuntu, rhel]
196
+ name : ${{ matrix.distrib }} -> GCP KMS Cosmian VM image
197
+ secrets : inherit
198
+ with :
199
+ distrib : ${{ matrix.distrib }}
200
+
200
201
python_publish :
201
202
name : python publish
202
203
needs :
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ yum update -y && yum install -y unzip nginx
7
7
8
8
# Download KMS zip file
9
9
curl -o kms-rhel9.zip https://package.cosmian.com/kms/last_build/rhel9.zip
10
- # curl -o kms-rhel9.zip https://package.cosmian.com/kms/4.12.0/rhel9.zip
10
+ # TODO(manu): To be replaced in next release by:
11
+ # curl -o kms-rhel9.zip https://github.com/Cosmian/kms/releases/latest/download/rhel9.zip
11
12
12
13
# Extract content and copy the executable
13
14
unzip kms-rhel9.zip && cp rhel9/cosmian_kms_server /usr/local/sbin/cosmian_kms && chmod 755 /usr/local/sbin/cosmian_kms && rm -rf rhel9.zip rhel9/
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export DEBIAN_FRONTEND=noninteractive
8
8
apt-get update && apt-get install --no-install-recommends -y unzip nginx && apt-get clean && rm -rf /var/lib/apt/lists/*
9
9
10
10
# Download KMS zip file
11
- curl -o kms-ubuntu-22_04.zip https://package.cosmian. com/kms/4.12.0 /ubuntu_22_04.zip
11
+ curl -o kms-ubuntu-22_04.zip https://github. com/Cosmian/ kms/releases/latest/download /ubuntu_22_04.zip
12
12
13
13
# Extract content and copy the executable
14
14
unzip kms-ubuntu-22_04.zip && cp ubuntu_22_04/cosmian_kms_server /usr/local/sbin/cosmian_kms && chmod 755 /usr/local/sbin/cosmian_kms && rm -rf kms-ubuntu-22_04.zip ubuntu_22_04/
You can’t perform that action at this time.
0 commit comments