Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
37b3f4d2
Unverified
Commit
37b3f4d2
authored
Apr 03, 2023
by
Guilherme Macedo
Committed by
GitHub
Apr 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run go generate in local-path-provisioner Updatecli pipeline (#7181)
Signed-off-by:
Guilherme Macedo
<
guilherme.macedo@suse.com
>
parent
8ec7d5e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
run-go-generate.sh
updatecli/scripts/run-go-generate.sh
+10
-0
local-path-provisioner.yaml
updatecli/updatecli.d/local-path-provisioner.yaml
+21
-0
No files found.
updatecli/scripts/run-go-generate.sh
0 → 100755
View file @
37b3f4d2
#!/bin/bash
set
-eux
./scripts/download
>
&2
go generate
>
&2
git diff
exit
0
updatecli/updatecli.d/local-path-provisioner.yaml
View file @
37b3f4d2
...
@@ -47,6 +47,14 @@ sources:
...
@@ -47,6 +47,14 @@ sources:
token
:
"
{{
requiredEnv
.github.token
}}"
token
:
"
{{
requiredEnv
.github.token
}}"
versionfilter
:
versionfilter
:
kind
:
"
latest"
kind
:
"
latest"
get-pwd
:
name
:
"
Run
Updatecli
execution
directory"
kind
:
"
shell"
disablesourceinput
:
true
spec
:
command
:
'
pwd'
environments
:
-
name
:
PATH
conditions
:
conditions
:
local-path-provisioner
:
local-path-provisioner
:
...
@@ -68,3 +76,16 @@ targets:
...
@@ -68,3 +76,16 @@ targets:
-
"
scripts/airgap/image-list.txt"
-
"
scripts/airgap/image-list.txt"
matchpattern
:
'
rancher/local-path-provisioner:v\d+\.\d+\.\d+(-\w+)?'
matchpattern
:
'
rancher/local-path-provisioner:v\d+\.\d+\.\d+(-\w+)?'
replacepattern
:
'
rancher/local-path-provisioner:{{
source
`local-path-provisioner`
}}'
replacepattern
:
'
rancher/local-path-provisioner:{{
source
`local-path-provisioner`
}}'
go-generate
:
name
:
"
Run
go
generate"
kind
:
"
shell"
scmid
:
"
k3s"
dependson
:
-
"
local-path-provisioner"
disablesourceinput
:
true
spec
:
command
:
'
{{
source
"get-pwd"
}}/updatecli/scripts/run-go-generate.sh'
environments
:
-
name
:
PATH
-
name
:
HOME
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment