Skip to content
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

Feature/592 Avoid doing the same repeated build in the dev/test pipelines #680

Merged
merged 29 commits into from
Mar 17, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a77652a
#592 CH-48 implement hash-based build
filippomc Mar 7, 2023
251db49
Requirement fix
filippomc Mar 7, 2023
5afb723
#592 CH-48 use rest api for image check
filippomc Mar 7, 2023
d497ebc
#592 CH-48 fix .env file path
filippomc Mar 7, 2023
c203f5b
#592 CH-48 fix test step
filippomc Mar 8, 2023
9c84e0e
#592 CH-48 fix test images build
filippomc Mar 8, 2023
f60d748
#592 CH-48 fix tbuild with dependencies
filippomc Mar 8, 2023
aaeb16a
#592 CH-48 fix api-test build
filippomc Mar 8, 2023
15209eb
#592 CH-48 fix test images references
filippomc Mar 8, 2023
70c998e
#592 CH-48 fix test images references
filippomc Mar 8, 2023
bb66098
#592 CH-48 fix env file path with multi app
filippomc Mar 8, 2023
c467783
#592 CH-48 fix env file path regression
filippomc Mar 8, 2023
1329628
#592 CH-48 fix multi app ignore criteria
filippomc Mar 8, 2023
98a1923
#592 CH-48 small improve in logging
filippomc Mar 8, 2023
35f424f
#592 CH-48 conditional force build added
filippomc Mar 9, 2023
3fdce1b
#592 CH-48 add documentation
filippomc Mar 9, 2023
bca71ee
#679 auto create namespace
filippomc Mar 9, 2023
fe95fc5
#592 CH-48 fix e2e test image ref
filippomc Mar 9, 2023
191ac05
#679 auto create namespace test pipeline
filippomc Mar 9, 2023
f33310d
#592 CH-48 improve root build ignores
filippomc Mar 9, 2023
1248472
#592 CH-48 fix e2e image build
filippomc Mar 9, 2023
3e04325
#592 CH-48 improve tag creation logging
filippomc Mar 9, 2023
5d483aa
#592 CH-48 improve ignore criteria
filippomc Mar 9, 2023
5f74238
#592 CH-48 improve ignore criteria
filippomc Mar 9, 2023
02d3896
#592 CH-48 small cleanup
filippomc Mar 9, 2023
7c4e80f
#592 CH-48 gix ignore regression
filippomc Mar 10, 2023
5cd0979
#592 import dirhash only at need
filippomc Mar 14, 2023
2e953e6
#677 fixes
filippomc Mar 16, 2023
f380314
Merge branch 'feature/592' of https://github.com/MetaCell/cloud-harne…
filippomc Mar 16, 2023
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
Prev Previous commit
Next Next commit
#592 CH-48 fix test images references
filippomc committed Mar 8, 2023

Unverified

This user has not yet uploaded their public signing key.
commit 70c998efbed916a2f8bc16791a81fe0c803d8293
2 changes: 1 addition & 1 deletion deployment/codefresh-test.yaml
Original file line number Diff line number Diff line change
@@ -343,7 +343,7 @@ steps:
title: Unit tests for samples
commands:
- pytest /usr/src/app/samples/test
image: cloudharness/samples:SAMPLES_TAG
image: '${{REGISTRY}}/cloudharness/samples:${{SAMPLES_TAG}}'
prepare_cluster:
stage: deploy
image: codefresh/kubectl
2 changes: 1 addition & 1 deletion tools/deployment-cli-tools/ch_cli_tools/codefresh.py
Original file line number Diff line number Diff line change
@@ -226,7 +226,7 @@ def add_unit_test_step(app_config: ApplicationHarnessConfig):
steps[CD_UNIT_TEST_STEP]['steps'][f"{app_name}_ut"] = dict(
title=f"Unit tests for {app_name}",
commands=test_config.unit.commands,
image=f"{app_config.deployment.image.split(':')[0]}:{tag}",
image=image_tag_with_variables(app_name, tag, base_image_name),
)

codefresh_steps_from_base_path(join(root_path, BASE_IMAGES_PATH), CD_BUILD_STEP_BASE,