Skip to content

Commit ff89f5d

Browse files
committed
Prepare for public release
1 parent 6ceaf70 commit ff89f5d

29 files changed

Lines changed: 109 additions & 118 deletions

File tree

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/blackduck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
DETECT_PROJECT_NAME: DEML-remoteproc-runtime
2525
PUSH_REPORT_TO_DB: ${{ github.event_name != 'pull_request' }}
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2828

2929
- name: Set repository reference
3030
run: |
@@ -39,7 +39,7 @@ jobs:
3939
echo "::notice title=Black Duck target::${{ env.DETECT_PROJECT_NAME }} / $ver_to_reference"
4040
4141
- name: Black Duck Security Scan
42-
uses: blackduck-inc/black-duck-security-scan@v2.3.0
42+
uses: blackduck-inc/black-duck-security-scan@b6f87e0cec75fc586a22ce6e076e3b9d691b685a # v2.5.0
4343
with:
4444
blackducksca_url: ${{ vars.BLACKDUCKSCA_URL }}
4545
blackducksca_token: ${{ secrets.BLACKDUCKSCA_TOKEN }}

.github/workflows/ci.yml

Lines changed: 52 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -16,72 +16,65 @@ jobs:
1616
name: Lint
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2020

21-
- uses: actions/setup-go@v5
22-
with:
23-
go-version-file: 'go.mod'
21+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
22+
with:
23+
go-version-file: 'go.mod'
2424

25-
- name: golangci-lint
26-
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
27-
with:
28-
version: latest
25+
- name: golangci-lint
26+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
27+
with:
28+
version: latest
2929

30-
- uses: actions/setup-node@v4
31-
with:
32-
node-version: '20'
30+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
31+
with:
32+
node-version: '20'
3333

34-
- name: Install prettier
35-
run: npm install --no-save prettier
34+
- name: Install prettier
35+
run: npm install --no-save prettier
3636

37-
- name: Check markdown formatting
38-
run: |
39-
npx prettier --check "**/*.md" || (echo "Please run 'npx prettier --write \"**/*.md\"' to format your markdown files" && exit 1)
37+
- name: Check markdown formatting
38+
run: |
39+
npx prettier --check "**/*.md" || (echo "Please run 'npx prettier --write \"**/*.md\"' to format your markdown files" && exit 1)
4040
4141
test:
4242
name: Test
4343
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@v4
46-
47-
- uses: actions/setup-go@v5
48-
with:
49-
go-version-file: 'go.mod'
50-
51-
- name: Download dependencies
52-
run: go mod download
53-
54-
- name: Run fast tests
55-
run: go test -v -race ./internal/...
56-
57-
- uses: getsentry/action-github-app-token@a0061014b82a6a5d6aeeb3b824aced47e3c3a7ef
58-
id: get_app_token
59-
with:
60-
app_id: ${{ secrets.REMOTEPROC_RUNTIME_REPO_ACCESS_APP_ID }}
61-
private_key: ${{ secrets.REMOTEPROC_RUNTIME_REPO_ACCESS_PRIVATE_KEY }}
62-
63-
- name: Download Remoteproc Simulator
64-
uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
65-
with:
66-
repository: Arm-Debug/remoteproc-simulator
67-
latest: true
68-
fileName: remoteproc-simulator_*_linux_amd64.tar.gz
69-
out-file-path: remoteproc-simulator
70-
extract: true
71-
token: ${{ steps.get_app_token.outputs.token }}
72-
73-
- name: Install Remoteproc Simulator
74-
run: echo "$PWD/remoteproc-simulator" >> $GITHUB_PATH
75-
76-
- name: Set up Lima
77-
uses: lima-vm/lima-actions/setup@03b96d61959e83b2c737e44162c3088e81de0886 # v1.0.1
78-
id: lima-actions-setup
79-
80-
- name: Cache ~/.cache/lima
81-
uses: actions/cache@v4
82-
with:
83-
path: ~/.cache/lima
84-
key: lima-${{ steps.lima-actions-setup.outputs.version }}
85-
86-
- name: Run e2e tests
87-
run: go test -v ./e2e/...
45+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
46+
47+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
48+
with:
49+
go-version-file: 'go.mod'
50+
51+
- name: Download dependencies
52+
run: go mod download
53+
54+
- name: Run fast tests
55+
run: go test -v -race ./internal/...
56+
57+
- name: Download Remoteproc Simulator
58+
uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
59+
with:
60+
repository: arm/remoteproc-simulator
61+
latest: true
62+
fileName: remoteproc-simulator_*_linux_amd64.tar.gz
63+
out-file-path: remoteproc-simulator
64+
extract: true
65+
66+
- name: Install Remoteproc Simulator
67+
run: echo "$PWD/remoteproc-simulator" >> $GITHUB_PATH
68+
69+
- name: Set up Lima
70+
uses: lima-vm/lima-actions/setup@03b96d61959e83b2c737e44162c3088e81de0886 # v1.0.1
71+
id: lima-actions-setup
72+
73+
- name: Cache ~/.cache/lima
74+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
75+
with:
76+
path: ~/.cache/lima
77+
key: lima-${{ steps.lima-actions-setup.outputs.version }}
78+
79+
- name: Run e2e tests
80+
run: go test -v ./e2e/...

.github/workflows/release.yml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: release-${{ github.head_ref || github.run_id }}
1010
cancel-in-progress: true
1111

12+
permissions:
13+
contents: write
14+
1215
jobs:
1316
ci:
1417
uses: ./.github/workflows/ci.yml
@@ -18,16 +21,16 @@ jobs:
1821
needs: ci
1922
runs-on: ubuntu-latest
2023
steps:
21-
- uses: actions/checkout@v4
22-
with:
23-
fetch-depth: 0
24-
- uses: actions/setup-go@v5
25-
with:
26-
go-version-file: 'go.mod'
27-
- uses: goreleaser/goreleaser-action@v6
28-
with:
29-
distribution: goreleaser
30-
version: '~> v2'
31-
args: release --clean
32-
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
25+
with:
26+
fetch-depth: 0
27+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
28+
with:
29+
go-version-file: 'go.mod'
30+
- uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
31+
with:
32+
distribution: goreleaser
33+
version: '~> v2'
34+
args: release --clean
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

cmd/containerd-shim-remoteproc-v1/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"context"
55

6-
"github.com/Arm-Debug/remoteproc-runtime/internal/shim"
6+
"github.com/arm/remoteproc-runtime/internal/shim"
77
containerdshim "github.com/containerd/containerd/v2/pkg/shim"
88
)
99

cmd/remoteproc-runtime/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/Arm-Debug/remoteproc-runtime/internal/runtime"
4+
"github.com/arm/remoteproc-runtime/internal/runtime"
55
"github.com/spf13/cobra"
66
)
77

cmd/remoteproc-runtime/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/Arm-Debug/remoteproc-runtime/internal/runtime"
4+
"github.com/arm/remoteproc-runtime/internal/runtime"
55
"github.com/spf13/cobra"
66
)
77

cmd/remoteproc-runtime/kill.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"syscall"
77

8-
"github.com/Arm-Debug/remoteproc-runtime/internal/runtime"
8+
"github.com/arm/remoteproc-runtime/internal/runtime"
99
"github.com/spf13/cobra"
1010
)
1111

cmd/remoteproc-runtime/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"syscall"
88
"time"
99

10-
"github.com/Arm-Debug/remoteproc-runtime/internal/remoteproc"
10+
"github.com/arm/remoteproc-runtime/internal/remoteproc"
1111
"github.com/spf13/cobra"
1212
)
1313

cmd/remoteproc-runtime/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log/slog"
66
"strings"
77

8-
"github.com/Arm-Debug/remoteproc-runtime/internal/log"
8+
"github.com/arm/remoteproc-runtime/internal/log"
99
"github.com/spf13/cobra"
1010
)
1111

0 commit comments

Comments
 (0)