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

Revert "Bump namor from 2.0.3 to 3.0.1 in /ui" #915

Merged

Conversation

gavin-stackrox
Copy link
Contributor

Reverts #899

#899 broke the dev UI workflow with an import bug in namor or node.

@gavin-stackrox gavin-stackrox requested a review from a team as a code owner July 21, 2023 16:23
@gavin-stackrox gavin-stackrox enabled auto-merge (squash) July 21, 2023 16:33
@roxbot
Copy link
Contributor

roxbot commented Jul 21, 2023

A single node development cluster (infra-pr-915) was allocated in production infra for this PR.

CI will attempt to deploy us.gcr.io/stackrox-infra/infra-server:0.7.8-27-g99434c91aa to it.

🔌 You can connect to this cluster with:

gcloud container clusters get-credentials infra-pr-915 --zone us-central1-a --project srox-temp-dev-test

🛠️ And pull infractl from the deployed dev infra-server with:

nohup kubectl -n infra port-forward svc/infra-server-service 8443:8443 &
make pull-infractl-from-dev-server

🚲 You can then use the dev infra instance e.g.:

bin/infractl -k -e localhost:8443 whoami

⚠️ Any clusters that you start using your dev infra instance should have a lifespan shorter then the development cluster instance. Otherwise they will not be destroyed when the dev infra instance ceases to exist when the development cluster is deleted. ⚠️

Further Development

☕ If you make changes, you can commit and push and CI will take care of updating the development cluster.

🚀 If you only modify configuration (chart/infra-server/configuration) or templates (chart/infra-server/{static,templates}), you can get a faster update with:

make install-local

Logs

Logs for the development infra depending on your @stackrox.com authuser:

Or:

kubectl -n infra logs -l app=infra-server --tail=1 -f

@gavin-stackrox gavin-stackrox merged commit de67af9 into master Jul 21, 2023
7 checks passed
@gavin-stackrox gavin-stackrox deleted the revert-899-dependabot/npm_and_yarn/ui/namor-3.0.1 branch July 21, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants