Skip to content

feat: new build page #2026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f2f3934
feat: add buildImageNameMigration
ferruhcihan Mar 31, 2025
6476ecf
fix: update tests/fixtures files with the correct kind/types
ferruhcihan Mar 31, 2025
c11a221
feat: update team-ns build templates
ferruhcihan Mar 31, 2025
2c7266c
test: versions
ferruhcihan Mar 31, 2025
bb4595d
feat: update tests/fixtures demo/builds
ferruhcihan Mar 31, 2025
6d77a96
fix: migrate.test.ts
ferruhcihan Mar 31, 2025
ae23cc6
fix: migrate.test.ts
ferruhcihan Mar 31, 2025
8033403
feat: update values schema
ferruhcihan Mar 31, 2025
8d0730c
feat: build image name migration tests
ferruhcihan Mar 31, 2025
3e13082
Merge branch 'main' into APL-535
ferruhcihan Apr 1, 2025
4bdd9b8
Merge branch 'main' into APL-535
ferruhcihan Apr 4, 2025
34c7d46
Merge branch 'main' into APL-535
ferruhcihan Apr 7, 2025
0ec882f
Merge branch 'main' into APL-535
ferruhcihan Apr 9, 2025
14fb4f8
feat: update build team-ns templates
ferruhcihan Apr 9, 2025
443d06f
feat: update tests files
ferruhcihan Apr 9, 2025
8524460
test: build team-ns templates
ferruhcihan Apr 10, 2025
3e647c6
fix: build schema
ferruhcihan Apr 10, 2025
ca5e05a
Merge branch 'main' into APL-535
ferruhcihan Apr 10, 2025
64a9f80
feat: update values-changes and default versions
ferruhcihan Apr 10, 2025
f00e879
feat: add getBuildName function and unit tests & update default value…
ferruhcihan Apr 11, 2025
35b5473
Merge branch 'main' into APL-535
ferruhcihan Apr 11, 2025
39864ea
feat: update default specVersions
ferruhcihan Apr 11, 2025
cacf60a
reverted versions
dennisvankekem Apr 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions charts/team-ns/templates/builds/buildpack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
workspace: docker-credentials
params:
- name: APP_IMAGE
value: {{ $v.harborDomain }}/team-{{ $v.teamId }}/{{ .name }}:{{ .tag }}
value: {{ $v.harborDomain }}/team-{{ $v.teamId }}/{{ .imageName }}:{{ .tag }}
{{- with .mode.buildpacks.path }}
- name: SOURCE_SUBPATH
value: {{ . }}
Expand Down Expand Up @@ -89,7 +89,7 @@ spec:
- apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
generateName: buildpacks-build-{{ .name }}-{{ regexReplaceAll "[|._]{1}" .tag "-" }}-
generateName: buildpacks-build-{{ .name }}-
labels:
tekton.dev/pipeline: buildpacks-build-{{ .name }}
{{- include "team-ns.chart-labels" $ | nindent 10 }}
Expand Down Expand Up @@ -131,7 +131,7 @@ spec:
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: buildpacks-build-{{ .name }}-{{ regexReplaceAll "[|._]{1}" .tag "-" }}
name: buildpacks-build-{{ .name }}
annotations:
sidecar.istio.io/inject: "false"
argocd.argoproj.io/compare-options: IgnoreExtraneous
Expand Down
6 changes: 3 additions & 3 deletions charts/team-ns/templates/builds/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
- name: CONTEXT
value: {{ $context }}
- name: IMAGE
value: {{ $v.harborDomain }}/team-{{ $v.teamId }}/{{ .name }}:{{ .tag }}
value: {{ $v.harborDomain }}/team-{{ $v.teamId }}/{{ .imageName }}:{{ .tag }}
{{- with (dig "mode" "docker" "envVars" nil . ) }}
- name: EXTRA_ARGS
value:
Expand All @@ -87,7 +87,7 @@ spec:
- apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
generateName: docker-trigger-build-{{ .name }}-{{ regexReplaceAll "[|._]{1}" .tag "-" }}-
generateName: docker-trigger-build-{{ .name }}-
labels:
tekton.dev/pipeline: docker-build-{{ .name }}
{{- include "team-ns.chart-labels" $ | nindent 10 }}
Expand Down Expand Up @@ -129,7 +129,7 @@ spec:
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: docker-build-{{ .name }}-{{ regexReplaceAll "[|._]{1}" .tag "-" }}
name: docker-build-{{ .name }}
annotations:
sidecar.istio.io/inject: "false"
argocd.argoproj.io/compare-options: IgnoreExtraneous
Expand Down
2 changes: 1 addition & 1 deletion helmfile.d/snippets/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1350,4 +1350,4 @@ environments:
version: main
# TODO: update this when schema version changes
versions:
specVersion: 40
specVersion: 35
Loading