Skip to content

Commit 37531f1

Browse files
⚙️ Fix update-client CI so it uses the correct versions of the artifact upload/download actions (#103)
<!-- Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Proprietary --> ### Description <!-- Please add any detail or context that would be useful to a reviewer. --> Fix update-client CI so it uses the correct versions of the artifact upload/download actions. I also pinned it to the specific versions since I noticed that they weren't setup properly. ### Test Coverage <!-- Please put an `x` in the correct box e.g. `[x]` to indicate the testing coverage of this change. --> - [ ] This change is covered by existing or additional automated tests. - [ ] Manual testing has been performed (and evidence provided) as automated testing was not feasible. - [x] Additional tests are not required for this change (e.g. documentation update). --------- Co-authored-by: joshjennings98 <joshjennings98@users.noreply.github.com> Co-authored-by: joshjennings98 <9078300+joshjennings98@users.noreply.github.com>
1 parent 0b6d1c7 commit 37531f1

29 files changed

+2854
-161
lines changed

.github/workflows/update-client.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
path: API-Uniform-Contract
3535
ref: main
3636
# FIXME set to `production`
37-
- uses: actions/upload-artifact@4.6.2
37+
- uses: actions/upload-artifact@v4.6.2
3838
with:
3939
name: all-service-flat
4040
path: API-Uniform-Contract/all/1/
@@ -79,7 +79,7 @@ jobs:
7979
with:
8080
ref: ${{ inputs.branch || github.head_ref || github.ref }}
8181
- name: Download all-service-flat artefact
82-
uses: actions/download-artifact@master
82+
uses: actions/download-artifact@v5.0.0
8383
with:
8484
name: all-service-flat
8585
path: all-service-definition
@@ -113,7 +113,7 @@ jobs:
113113
ls -l ${{ env.go_module }}/*
114114
- name: Upload extensions
115115
if: ${{ env.EXTENSIONS_EXISTS == 'true' }}
116-
uses: actions/upload-artifact@v4
116+
uses: actions/upload-artifact@v4.6.2
117117
with:
118118
name: extensions
119119
path: extensions/

.secrets.baseline

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,20 @@
9898
".*go\\.sum$",
9999
".*\\.html$",
100100
".*\\.properties$",
101-
"ci.yml",
102-
"^workflows/.*",
103-
"^\\.git[\\\\/]"
101+
"ci.yml"
104102
]
105103
}
106104
],
107105
"results": {
106+
"client/docs/AuthorizationAPI.md": [
107+
{
108+
"type": "Base64 High Entropy String",
109+
"filename": "client/docs/AuthorizationAPI.md",
110+
"hashed_secret": "b6c30ab47db0e58093620b979821ff3a0f14226d",
111+
"is_verified": false,
112+
"line_number": 37
113+
}
114+
],
108115
"client/docs/FPGAJobsAPI.md": [
109116
{
110117
"type": "Hex High Entropy String",
@@ -140,5 +147,5 @@
140147
}
141148
]
142149
},
143-
"generated_at": "2025-06-23T12:39:01Z"
150+
"generated_at": "2025-09-15T09:43:25Z"
144151
}

changes/20250915084512.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updated client due to schema changes

changes/20250915103828.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
:gear: Fix update-client CI so it uses the correct versions of the artifact upload/download actions

client/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ docs/FPGAJobsAPI.md
102102
docs/FPGAPayloadCollection.md
103103
docs/FPGAPayloadItem.md
104104
docs/FPGAPayloadItemLinks.md
105+
docs/FPGAPayloadOwner.md
105106
docs/FPGAPayloadRepositories.md
106107
docs/FPGAPayloadsAPI.md
107108
docs/FPGATarget.md
@@ -247,6 +248,7 @@ model_fpga_job_item_links.go
247248
model_fpga_payload_collection.go
248249
model_fpga_payload_item.go
249250
model_fpga_payload_item_links.go
251+
model_fpga_payload_owner.go
250252
model_fpga_payload_repositories.go
251253
model_fpga_target.go
252254
model_fpga_target_id.go

client/.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.14.0
1+
7.15.0

client/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat
3737

3838
- API version: 1.1.1
3939
- Package version: 1.0.0
40-
- Generator version: 7.14.0
40+
- Generator version: 7.15.0
4141
- Build package: org.openapitools.codegen.languages.GoClientCodegen
4242
For more information, please visit [https://www.keil.com/](https://www.keil.com/)
4343

@@ -153,15 +153,20 @@ Class | Method | HTTP request | Description
153153
*FPGAJobsAPI* | [**CreateFpgaJobArtefactManager**](docs/FPGAJobsAPI.md#createfpgajobartefactmanager) | **Post** /fpga-jobs/{jobName}/artefacts/ | Create a job artefact manager.
154154
*FPGAJobsAPI* | [**DeleteFpgaJob**](docs/FPGAJobsAPI.md#deletefpgajob) | **Delete** /fpga-jobs/{jobName} | Delete an FPGA job.
155155
*FPGAJobsAPI* | [**DownloadFpgaJobArtefact**](docs/FPGAJobsAPI.md#downloadfpgajobartefact) | **Get** /fpga-jobs/{jobName}/artefacts/{artefactName}/artefact | Download the artefact for the corresponding FPGA job.
156+
*FPGAJobsAPI* | [**DownloadSpecificFpgaJobArtefact**](docs/FPGAJobsAPI.md#downloadspecificfpgajobartefact) | **Get** /fpgas/{fpgaName}/jobs/{jobName}/artefacts/{artefactName}/artefact | Download the artefact for the corresponding FPGA job.
156157
*FPGAJobsAPI* | [**GetCurrentFpgaJob**](docs/FPGAJobsAPI.md#getcurrentfpgajob) | **Get** /fpgas/{fpgaName}/current-job | Return the job currently handled by the FPGA.
157158
*FPGAJobsAPI* | [**GetFpgaJob**](docs/FPGAJobsAPI.md#getfpgajob) | **Get** /fpga-jobs/{jobName} | Return the status of a FPGA job.
158159
*FPGAJobsAPI* | [**GetFpgaJobArtefactManager**](docs/FPGAJobsAPI.md#getfpgajobartefactmanager) | **Get** /fpga-jobs/{jobName}/artefacts/{artefactName} | Get the job&#39;s artefact manager for the artefact named &#x60;artefactName&#x60;.
159160
*FPGAJobsAPI* | [**GetFpgaJobMessages**](docs/FPGAJobsAPI.md#getfpgajobmessages) | **Get** /fpga-jobs/{jobName}/messages | FPGA job Message Feed.
161+
*FPGAJobsAPI* | [**GetSpecificFpgaJob**](docs/FPGAJobsAPI.md#getspecificfpgajob) | **Get** /fpgas/{fpgaName}/jobs/{jobName} | Return a job handled by the FPGA.
162+
*FPGAJobsAPI* | [**GetSpecificFpgaJobArtefactManager**](docs/FPGAJobsAPI.md#getspecificfpgajobartefactmanager) | **Get** /fpgas/{fpgaName}/jobs/{jobName}/artefacts/{artefactName} | Get the FPGA job&#39;s artefact manager for the artefact named &#x60;artefactName&#x60;.
163+
*FPGAJobsAPI* | [**GetSpecificFpgaJobMessages**](docs/FPGAJobsAPI.md#getspecificfpgajobmessages) | **Get** /fpgas/{fpgaName}/jobs/{jobName}/messages | FPGA job Message Feed.
160164
*FPGAJobsAPI* | [**ListFPGAJobs**](docs/FPGAJobsAPI.md#listfpgajobs) | **Get** /fpgas/{fpgaName}/jobs/ | List all jobs associated with this FPGA.
161165
*FPGAJobsAPI* | [**ListFPGAPastJobs**](docs/FPGAJobsAPI.md#listfpgapastjobs) | **Get** /fpgas/{fpgaName}/past-jobs/ | List all past jobs associated with this FPGA.
162166
*FPGAJobsAPI* | [**ListFPGAQueuedJobs**](docs/FPGAJobsAPI.md#listfpgaqueuedjobs) | **Get** /fpgas/{fpgaName}/queued-jobs/ | List all jobs associated with this FPGA and currently queued up.
163167
*FPGAJobsAPI* | [**ListFPGAsJobs**](docs/FPGAJobsAPI.md#listfpgasjobs) | **Get** /fpga-jobs/ | List all jobs performed by FPGAs.
164168
*FPGAJobsAPI* | [**ListFpgaJobArtefactManagers**](docs/FPGAJobsAPI.md#listfpgajobartefactmanagers) | **Get** /fpga-jobs/{jobName}/artefacts/ | Get the list of artefact managers for the given job.
169+
*FPGAJobsAPI* | [**ListSpecificFpgaJobArtefactManagers**](docs/FPGAJobsAPI.md#listspecificfpgajobartefactmanagers) | **Get** /fpgas/{fpgaName}/jobs/{jobName}/artefacts/ | Get the list of artefact managers for the given FPGA job.
165170
*FPGAJobsAPI* | [**LogJobMessage**](docs/FPGAJobsAPI.md#logjobmessage) | **Post** /fpga-jobs/{jobName}/messages | Create a job message.
166171
*FPGAJobsAPI* | [**RetainFpgaJob**](docs/FPGAJobsAPI.md#retainfpgajob) | **Post** /fpga-jobs/{jobName}/retain | Update how long an FPGA job will be retained before automatic deletion.
167172
*FPGAJobsAPI* | [**StartFpgaJob**](docs/FPGAJobsAPI.md#startfpgajob) | **Post** /fpgas/{fpgaName} | Initiate a job on an FPGA.
@@ -312,6 +317,7 @@ Class | Method | HTTP request | Description
312317
- [FPGAPayloadCollection](docs/FPGAPayloadCollection.md)
313318
- [FPGAPayloadItem](docs/FPGAPayloadItem.md)
314319
- [FPGAPayloadItemLinks](docs/FPGAPayloadItemLinks.md)
320+
- [FPGAPayloadOwner](docs/FPGAPayloadOwner.md)
315321
- [FPGAPayloadRepositories](docs/FPGAPayloadRepositories.md)
316322
- [FPGATarget](docs/FPGATarget.md)
317323
- [FPGATargetID](docs/FPGATargetID.md)

0 commit comments

Comments
 (0)