-
Notifications
You must be signed in to change notification settings - Fork 5
Configure base images #861
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
Changes from 4 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
cee0025
CH-287 Add "source-images" and injection into sk buildargs
aranega 5f8b3fe
CH-287 Add baseimg arg to the dockerfile which are missing it
aranega c8c1185
CH-287 Add documentation for the new feature
aranega 7559be0
Merge branch 'develop' of github.com:MetaCell/cloud-harness into feat…
aranega ebb64d8
CH-287 Update base name for dockerfile images
aranega 90dbfbd
CH-287 Add function to parse the ARG/FROM from Dockerfiles
aranega dcb4249
CH-287 Switch "source-images" for "sources_images"
aranega c7b0383
CH-287 Add arg/from prepopulation in values.yaml
aranega 874276a
CH-287 Add tests for source_images in the values.yaml file
aranega 6b5a0ce
CH-287 Update documentation for "source_images"
aranega f43b6d2
CH-287 Remove unused variable
aranega c2e8cdf
CH-287 Fix formatting issues
aranega 48edc8e
CH-287 Fix typo for the nfsserver docker image
aranega ee2547f
Merge branch 'develop' into feature/CH-287
aranega 67f2fd4
CH-287 Fix typo "image_sources" vs "source_images"
aranega c96d979
Merge branch 'feature/CH-287' of github.com:MetaCell/cloud-harness in…
aranega 6f0ee39
CH-287 fix codefresh and tilt build arguments
filippomc 6118478
Merge branch 'feature/CH-287' of github.com:MetaCell/cloud-harness in…
filippomc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
infrastructure/base-images/cloudharness-frontend-build/Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| FROM node:22-alpine | ||
|
|
||
|
|
||
| ARG CLOUDHARNESS_ROOT_BASE=node:22-alpine | ||
| FROM $CLOUDHARNESS_ROOT_BASE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,19 @@ | ||
| FROM ghcr.io/puppeteer/puppeteer:24 | ||
| ARG CLOUDHARNESS_ROOT_BASE=ghcr.io/puppeteer/puppeteer:24 | ||
| FROM $CLOUDHARNESS_ROOT_BASE | ||
|
|
||
| USER root | ||
| RUN mkdir -p /home/test | ||
| RUN chown -R pptruser /home/test | ||
| WORKDIR /home/test | ||
| # Install Chrome for the root user: Codefresh runs the container as root | ||
| RUN npx puppeteer browsers install chrome | ||
| RUN npx puppeteer browsers install chrome | ||
|
|
||
| USER pptruser | ||
| COPY --chown=pptruser package.json . | ||
| COPY --chown=pptruser yarn.lock . | ||
| RUN yarn install --timeout 99999999 | ||
|
|
||
| COPY --chown=pptruser . . | ||
| COPY --chown=pptruser . . | ||
| ENV APP_URL=https://github.com | ||
|
|
||
| CMD ["yarn", "test"] | ||
| CMD ["yarn", "test"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...s/deployment-cli-tools/tests/resources/deployment-configuration/values-template-nreg.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| mainapp: myapp | ||
| domain: myapp.local | ||
| name: testprojectname | ||
| a: b | ||
| database: | ||
| auto: true | ||
|
|
||
| source-images: | ||
| myapp: "myregistry.myapp:15.3" | ||
| samples: | ||
| BASEIMAGE: myother.image:14 | ||
|
|
||
| events: | ||
| kafka: | ||
| image: nodocker.io/apache/kafka:4.0.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.