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

Add new build scripts #769

Merged
merged 4 commits into from
Mar 18, 2022
Merged

Add new build scripts #769

merged 4 commits into from
Mar 18, 2022

Conversation

Furisto
Copy link
Member

@Furisto Furisto commented Mar 15, 2022

Description

Add new build scripts for building images. With this we have three scripts:

  • build all images
  • build specific chunks and combine them
  • build a specific combination and all referenced chunks of that combination

Also updated yq because that was a really old version

Related Issue(s)

Fixes #763

How to test

Release Notes

Add new build scripts for producing images

Documentation

Already done by updating the CONTRIBUTING.md

@Furisto Furisto requested a review from a team March 15, 2022 17:11
@gitpod-io
Copy link

gitpod-io bot commented Mar 15, 2022

@gitpod-staging
Copy link

.gitpod.Dockerfile Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
build-combo.sh Outdated Show resolved Hide resolved
build-all.sh Outdated Show resolved Hide resolved
build-combo.sh Outdated Show resolved Hide resolved
build-combo.sh Outdated Show resolved Hide resolved
@Furisto Furisto force-pushed the fo/build-scripts branch 2 times, most recently from a7b545a to 405a4a8 Compare March 16, 2022 16:19
@Furisto
Copy link
Member Author

Furisto commented Mar 16, 2022

@princerachit PTAL

Copy link
Collaborator

@kylos101 kylos101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there, just dropped in to test and share some thoughts. 👋

build-chunk.sh Outdated Show resolved Hide resolved
.gitpod.yml Outdated Show resolved Hide resolved
build-chunk.sh Show resolved Hide resolved
build-combo.sh Outdated Show resolved Hide resolved
build-combo.sh Outdated Show resolved Hide resolved
@Furisto Furisto force-pushed the fo/build-scripts branch 2 times, most recently from 3aba6de to ad002b5 Compare March 17, 2022 11:21
@Furisto
Copy link
Member Author

Furisto commented Mar 17, 2022

@kylos101 PTAL

@Furisto Furisto force-pushed the fo/build-scripts branch 2 times, most recently from 1c8bee9 to 282feb5 Compare March 17, 2022 12:17
Copy link
Collaborator

@kylos101 kylos101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

As a heads up, I resolved the conflict in the .gitpod.Dockerfile, too.

Furisto and others added 2 commits March 17, 2022 14:07
Combo tests fail, which creates confusion, let's make the script single purpose -- chunks only.

function build_and_combine() {
dazzle build ${REPO} -v --chunked-without-hash && dazzle build ${REPO} -v && dazzle combine ${REPO} --all -v
function build_chunks() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed from build_and_combine

@kylos101
Copy link
Collaborator

kylos101 commented Mar 17, 2022

Hey there, I removed dazzle combine from build-chunk.sh script (build was passing but combine was failing) in a41e600.

Now we have one script for each purpose.

  1. build and test a chunk (dazzle build only for a specific chunk)
  2. build and test a combo (dazzle build and combine, for a single combo)
  3. build all (same as as prior to this PR)

@Furisto @princerachit LMKWYT, I've tested and seems to be working well. You're welcome to merge if you approve, but, since I've made changes would like you to peek.

@Furisto
Copy link
Member Author

Furisto commented Mar 18, 2022

Fine by me, but will wait for @princerachit opinion as well.

@kylos101
Copy link
Collaborator

Fine by me, but will wait for @princerachit opinion as well.

@princerachit is out today on holiday, let's circle back in a follow-up PR, if needed. 😃

I cleaned up the docs in a81f0e7.

@kylos101 kylos101 merged commit 69431c6 into main Mar 18, 2022
@kylos101 kylos101 deleted the fo/build-scripts branch March 18, 2022 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow building only desired chunks
3 participants