Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Fix build cache issues #1807

Merged
merged 15 commits into from
Jun 27, 2023
Merged

Fix build cache issues #1807

merged 15 commits into from
Jun 27, 2023

Conversation

ibuildthecloud
Copy link
Member

@ibuildthecloud ibuildthecloud commented Jun 17, 2023

No description provided.

Do not attempt to get job output if the helper sidecar is not known to
be running. This will reduce many spurious errors when trying to get
output on of a job when it's not ready or running.

Also don't ignore errors for job shutdown.

Signed-off-by: Darren Shepherd <[email protected]>
Signed-off-by: Darren Shepherd <[email protected]>
Previously --arg @file.yaml was supported, but no there was no way to
pass data on the command line.  Now the format --arg @{"json":"content"}
is also supported

Signed-off-by: Darren Shepherd <[email protected]>
Currently a reference to a secret will implicitly create an opaque secret
or volume.  We retain that behavior but not for any secret/volume is a
non-local reference which means it contains a period.

Signed-off-by: Darren Shepherd <[email protected]>
@ibuildthecloud ibuildthecloud changed the title Harden logic around job output saving Fix build cache issues Jun 27, 2023
Signed-off-by: Darren Shepherd <[email protected]>
Each build was always using the same context scratch space, causing each
build to invalidate the cache from the previous.  Now a consistent cache
key is generated for subsequent builds

Signed-off-by: Darren Shepherd <[email protected]>
If an image is dymanically added at runtime, not part of the build, it must
be defined in the acornfile images section. A bug existed where a service
acorn with it's build referenced from the images section could not be
determined at runtime.

Signed-off-by: Darren Shepherd <[email protected]>
If an AppInstance CR for a service acorn was yet to be created because
of a pending secret or other resource it was possible that a circular
reference could be created and cause a stack overflow.  Circular references
are now checked and for this situation where it could happen temporarily
we look for that specific situation.

Signed-off-by: Darren Shepherd <[email protected]>
@ibuildthecloud ibuildthecloud merged commit 98d234e into acorn-io:main Jun 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant