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

make oss migrations run as part of dev-dracon #286

Merged
merged 3 commits into from
Aug 7, 2024
Merged

Conversation

northdpole
Copy link
Contributor

@northdpole northdpole commented Aug 6, 2024

This PR introduces two new ways of installing dracon

make dev-deploy will build everything and deploy it to the local cluster
make install will download the latest version of every package and install it to the local cluster

both commands first setup the local cluster in an idempotent way

Copy link
Contributor

@flowirtz flowirtz left a comment

Choose a reason for hiding this comment

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

couple comments

can u pls also delete the enrichments-db-migrations-0.20-3.tgz to clarify that this is gone gone?

Makefile Show resolved Hide resolved
Copy link
Contributor

@flowirtz flowirtz left a comment

Choose a reason for hiding this comment

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

make[1]: Leaving directory '/home/flo/Desktop/Git/dracon'
helm upgrade dracon-oss-components \
	./dracon-oss-components-v0.27.0.tgz \
	--install \
	--namespace dracon \
	--set container_registry=kind-registry:5000/ocurity/dracon \
	--values ./deploy/deduplication-db-migrations/values/dev.yaml
Release "dracon-oss-components" does not exist. Installing it now.
Error: create: failed to create: namespaces "dracon" not found
make: *** [Makefile:242: dev-update-oss-components] Error 1

Makefile Outdated Show resolved Hide resolved
@northdpole northdpole force-pushed the migrations-to-oss branch 6 times, most recently from 77c885f to 2b39a45 Compare August 7, 2024 08:20
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
the make install target is meant to be used for  quickstart by pulling images and package from upstream
while make dev-deploy is meant for building everything locally and used for local testing
to create these targets this commit also installs migrations as part of
the base installation and adds paralellism to all container publish
targets
@northdpole northdpole merged commit 79c9417 into main Aug 7, 2024
3 checks passed
@northdpole northdpole deleted the migrations-to-oss branch August 7, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants