File tree 13 files changed +52
-67
lines changed
007-registrypackages/images/d8
800-deckhouse-tools/images/web
13 files changed +52
-67
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ CLOUD_PROVIDERS_SOURCE_REPO: "${{secrets.CLOUD_PROVIDERS_SOURCE_REPO}}"
22
22
GOPROXY : " ${{vars.GOPROXY}}"
23
23
# observability source repo should contain creds for repo for ex https://user:[email protected] /group
24
24
OBSERVABILITY_SOURCE_REPO : " ${{secrets.OBSERVABILITY_SOURCE_REPO}}"
25
- # Next two are required for accessing the stronghold repo during d8 cli builds.
26
- # Stronghold pull token should contain CI token with read access to stronghold repos.
27
- STRONGHOLD_PULL_TOKEN : " ${{secrets.STRONGHOLD_PULL_TOKEN}}"
28
- # deckhouse private repo should contain the host address of proprietary parts of deckhouse ecosystem. Ex repo.my-repo.com
29
25
DECKHOUSE_PRIVATE_REPO : " ${{secrets.DECKHOUSE_PRIVATE_REPO}}"
30
26
# </template: git_source_envs>
31
27
{!{- end -}!}
Original file line number Diff line number Diff line change 45
45
GOPROXY : " ${{vars.GOPROXY}}"
46
46
# observability source repo should contain creds for repo for ex https://user:[email protected] /group
47
47
OBSERVABILITY_SOURCE_REPO : " ${{secrets.OBSERVABILITY_SOURCE_REPO}}"
48
- # Next two are required for accessing the stronghold repo during d8 cli builds.
49
- # Stronghold pull token should contain CI token with read access to stronghold repos.
50
- STRONGHOLD_PULL_TOKEN : " ${{secrets.STRONGHOLD_PULL_TOKEN}}"
51
- # deckhouse private repo should contain the host address of proprietary parts of deckhouse ecosystem. Ex repo.my-repo.com
52
48
DECKHOUSE_PRIVATE_REPO : " ${{secrets.DECKHOUSE_PRIVATE_REPO}}"
53
49
# </template: git_source_envs>
54
50
Original file line number Diff line number Diff line change 47
47
GOPROXY : " ${{vars.GOPROXY}}"
48
48
# observability source repo should contain creds for repo for ex https://user:[email protected] /group
49
49
OBSERVABILITY_SOURCE_REPO : " ${{secrets.OBSERVABILITY_SOURCE_REPO}}"
50
- # Next two are required for accessing the stronghold repo during d8 cli builds.
51
- # Stronghold pull token should contain CI token with read access to stronghold repos.
52
- STRONGHOLD_PULL_TOKEN : " ${{secrets.STRONGHOLD_PULL_TOKEN}}"
53
- # deckhouse private repo should contain the host address of proprietary parts of deckhouse ecosystem. Ex repo.my-repo.com
54
50
DECKHOUSE_PRIVATE_REPO : " ${{secrets.DECKHOUSE_PRIVATE_REPO}}"
55
51
# </template: git_source_envs>
56
52
Original file line number Diff line number Diff line change 60
60
GOPROXY : " ${{vars.GOPROXY}}"
61
61
# observability source repo should contain creds for repo for ex https://user:[email protected] /group
62
62
OBSERVABILITY_SOURCE_REPO : " ${{secrets.OBSERVABILITY_SOURCE_REPO}}"
63
- # Next two are required for accessing the stronghold repo during d8 cli builds.
64
- # Stronghold pull token should contain CI token with read access to stronghold repos.
65
- STRONGHOLD_PULL_TOKEN : " ${{secrets.STRONGHOLD_PULL_TOKEN}}"
66
- # deckhouse private repo should contain the host address of proprietary parts of deckhouse ecosystem. Ex repo.my-repo.com
67
63
DECKHOUSE_PRIVATE_REPO : " ${{secrets.DECKHOUSE_PRIVATE_REPO}}"
68
64
# </template: git_source_envs>
69
65
Original file line number Diff line number Diff line change 25
25
SOURCE_REPO: {{ .SOURCE_REPO }}
26
26
CLOUD_PROVIDERS_SOURCE_REPO: {{ .CLOUD_PROVIDERS_SOURCE_REPO }}
27
27
OBSERVABILITY_SOURCE_REPO: {{ .OBSERVABILITY_SOURCE_REPO }}
28
- STRONGHOLD_PULL_TOKEN: {{ .STRONGHOLD_PULL_TOKEN }}
29
28
DECKHOUSE_PRIVATE_REPO: {{ .DECKHOUSE_PRIVATE_REPO }}
30
29
# proxies for various packages
31
30
GOPROXY: {{ .GOPROXY }}
Original file line number Diff line number Diff line change 56
56
{{- $_ := set $ctx "OBSERVABILITY_SOURCE_REPO" $Root.OBSERVABILITY_SOURCE_REPO }}
57
57
{{- $_ := set $ctx "GOPROXY" $Root.GOPROXY }}
58
58
{{- $_ := set $ctx "DECKHOUSE_PRIVATE_REPO" $Root.DECKHOUSE_PRIVATE_REPO }}
59
- {{- $_ := set $ctx "STRONGHOLD_PULL_TOKEN" $Root.STRONGHOLD_PULL_TOKEN }}
60
59
{{- $_ := set $ctx "DistroPackagesProxy" $Root.DistroPackagesProxy }}
61
60
{{- $_ := set $ctx "CargoProxy" $Root.CargoProxy }}
62
61
---
Original file line number Diff line number Diff line change @@ -378,10 +378,7 @@ set-build-envs:
378
378
ifeq ($(DECKHOUSE_PRIVATE_REPO),)
379
379
export DECKHOUSE_PRIVATE_REPO=https ://github.com
380
380
endif
381
- ifeq ($(STRONGHOLD_PULL_TOKEN=),)
382
- export STRONGHOLD_PULL_TOKEN="token"
383
- endif
384
-
381
+
385
382
export WERF_REPO=$(DEV_REGISTRY_PATH)
386
383
export REGISTRY_SUFFIX=$(shell echo $(WERF_ENV) | tr '[:upper:]' '[:lower:]')
387
384
export SECONDARY_REPO=--secondary-repo $(DECKHOUSE_REGISTRY_HOST)/deckhouse/$(REGISTRY_SUFFIX)
Original file line number Diff line number Diff line change 1
1
bashible : &bashible
2
2
ubuntu :
3
- ' 18.04 ' :
4
- ' 20.04 ' :
5
- ' 22.04 ' :
6
- ' 24.04 ' :
3
+ " 18.04 " :
4
+ " 20.04 " :
5
+ " 22.04 " :
6
+ " 24.04 " :
7
7
debian :
8
- ' 10 ' :
9
- ' 11 ' :
10
- ' 12 ' :
8
+ " 10 " :
9
+ " 11 " :
10
+ " 12 " :
11
11
centos :
12
- ' 7 ' :
13
- ' 8 ' :
14
- ' 9 ' :
12
+ " 7 " :
13
+ " 8 " :
14
+ " 9 " :
15
15
opensuse :
16
- ' 15.4 ' :
17
- ' 15.5 ' :
18
- ' 15.6 ' :
16
+ " 15.4 " :
17
+ " 15.5 " :
18
+ " 15.6 " :
19
19
k8s :
20
- ' 1.28 ' :
20
+ " 1.28 " :
21
21
status : end-of-life
22
22
patch : 15
23
23
bashible : *bashible
41
41
registrar : v2.13.0
42
42
snapshotter : v8.1.1
43
43
livenessprobe : v2.15.0
44
- ' 1.29 ' :
44
+ " 1.29 " :
45
45
status : available
46
46
patch : 14
47
47
bashible : *bashible
65
65
registrar : v2.13.0
66
66
snapshotter : v8.1.1
67
67
livenessprobe : v2.15.0
68
- ' 1.30 ' :
68
+ " 1.30 " :
69
69
status : available
70
70
patch : 10
71
71
bashible : *bashible
89
89
registrar : v2.13.0
90
90
snapshotter : v8.1.1
91
91
livenessprobe : v2.15.0
92
- ' 1.31 ' :
92
+ " 1.31 " :
93
93
status : available
94
94
patch : 6
95
95
bashible : *bashible
113
113
registrar : v2.13.0
114
114
snapshotter : v8.1.1
115
115
livenessprobe : v2.15.0
116
- ' 1.32 ' :
116
+ " 1.32 " :
117
117
status : preview
118
118
patch : 2
119
119
bashible : *bashible
138
138
snapshotter : v8.1.1
139
139
livenessprobe : v2.15.0
140
140
d8 :
141
- d8CliVersion : v0.10.4
141
+ d8CliVersion : v0.11.0
142
142
jq :
143
143
version : 1.7.1
Original file line number Diff line number Diff line change @@ -52,10 +52,15 @@ shell:
52
52
- apt-get update && apt-get install libbtrfs-dev -y
53
53
install :
54
54
- export GOPROXY={{ $.GOPROXY }}
55
+
55
56
- export PRIVATE_REPO={{ $.DECKHOUSE_PRIVATE_REPO }}
56
- - export PRIVATE_REPO_TOKEN={{ $.STRONGHOLD_PULL_TOKEN }}
57
- - export GOPRIVATE={{ $.DECKHOUSE_PRIVATE_REPO }}
58
- - git config --global url."https://gitlab-ci-token:${PRIVATE_REPO_TOKEN}@${PRIVATE_REPO}/".insteadOf https://${PRIVATE_REPO}/
57
+ - GOPRIVATE="flant.internal"
58
+ - git config --global url."ssh://git@${PRIVATE_REPO}/".insteadOf "https://flant.internal/"
59
+ - git config --global --add safe.directory '*'
60
+ - mkdir -p ~/.ssh
61
+ - touch ~/.ssh/known_hosts
62
+ - ssh-keyscan -H ${PRIVATE_REPO} >> ~/.ssh/known_hosts
63
+
59
64
- cd /src/deckhouse-cli
60
65
- task build:dist:linux:amd64
61
66
- mv ./dist/{{ .CandiVersionMap.d8.d8CliVersion }}/linux-amd64/bin/d8 /d8
Original file line number Diff line number Diff line change @@ -69,10 +69,15 @@ shell:
69
69
- find /var/lib/apt/ /var/cache/apt/ -type f -delete
70
70
install :
71
71
- export GOPROXY={{ $.GOPROXY }}
72
+
72
73
- export PRIVATE_REPO={{ $.DECKHOUSE_PRIVATE_REPO }}
73
- - export PRIVATE_REPO_TOKEN={{ $.STRONGHOLD_PULL_TOKEN }}
74
- - export GOPRIVATE={{ $.DECKHOUSE_PRIVATE_REPO }}
75
- - git config --global url."https://gitlab-ci-token:${PRIVATE_REPO_TOKEN}@${PRIVATE_REPO}/".insteadOf https://${PRIVATE_REPO}/
74
+ - GOPRIVATE="flant.internal"
75
+ - git config --global url."ssh://git@${PRIVATE_REPO}/".insteadOf "https://flant.internal/"
76
+ - git config --global --add safe.directory '*'
77
+ - mkdir -p ~/.ssh
78
+ - touch ~/.ssh/known_hosts
79
+ - ssh-keyscan -H ${PRIVATE_REPO} >> ~/.ssh/known_hosts
80
+
76
81
- cd /src
77
82
- task build:dist:all
78
83
- mkdir -p /app/files/d8-cli
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ func main() {
83
83
"GOPROXY=" ,
84
84
"CLOUD_PROVIDERS_SOURCE_REPO=" ,
85
85
"OBSERVABILITY_SOURCE_REPO=" ,
86
- "STRONGHOLD_PULL_TOKEN=" ,
87
86
"DECKHOUSE_PRIVATE_REPO=" ,
88
87
)
89
88
cmd .Dir = path .Join (".." )
Original file line number Diff line number Diff line change 1
1
giterminismConfigVersion : 1
2
2
config :
3
- goTemplateRendering : # The rules for the Go-template functions
4
- allowEnvVariables :
5
- - /CI_.+/
6
- - /REPO_MCM_.+/
7
- - SOURCE_REPO
8
- - GOPROXY
9
- - WERF_DISABLE_META_TAGS
10
- - CLOUD_PROVIDERS_SOURCE_REPO
11
- - OBSERVABILITY_SOURCE_REPO
12
- - DISTRO_PACKAGES_PROXY
13
- - CARGO_PROXY
14
- - STRONGHOLD_PULL_TOKEN
15
- - DECKHOUSE_PRIVATE_REPO
16
- allowUncommittedFiles : [ "tools/build_includes/*" ]
3
+ goTemplateRendering : # The rules for the Go-template functions
4
+ allowEnvVariables :
5
+ - /CI_.+/
6
+ - /REPO_MCM_.+/
7
+ - SOURCE_REPO
8
+ - GOPROXY
9
+ - WERF_DISABLE_META_TAGS
10
+ - CLOUD_PROVIDERS_SOURCE_REPO
11
+ - OBSERVABILITY_SOURCE_REPO
12
+ - DISTRO_PACKAGES_PROXY
13
+ - CARGO_PROXY
14
+ - DECKHOUSE_PRIVATE_REPO
15
+ allowUncommittedFiles : ["tools/build_includes/*"]
17
16
stapel :
18
17
mount :
19
- allowBuildDir : true
20
- allowFromPaths :
21
- - ~/go-pkg-cache
18
+ allowBuildDir : true
19
+ allowFromPaths :
20
+ - ~/go-pkg-cache
Original file line number Diff line number Diff line change @@ -77,8 +77,6 @@ cleanup:
77
77
# Source repo with observability private code
78
78
{{- $_ := set . "OBSERVABILITY_SOURCE_REPO" (env "OBSERVABILITY_SOURCE_REPO" | default "https://example.com") }}
79
79
80
- # Stronghold repo access for building d8 cli
81
- {{- $_ := set . "STRONGHOLD_PULL_TOKEN" (env "STRONGHOLD_PULL_TOKEN") }}
82
80
{{- $_ := set . "DECKHOUSE_PRIVATE_REPO" (env "DECKHOUSE_PRIVATE_REPO") }}
83
81
84
82
{{- $_ := set . "CI_COMMIT_TAG" (env "CI_COMMIT_TAG" "dev") }}
You can’t perform that action at this time.
0 commit comments