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

frontend: publish docker image for ui #1872

Merged
merged 3 commits into from
Apr 20, 2023

Conversation

DeltaMichael
Copy link
Contributor

@DeltaMichael DeltaMichael commented Apr 10, 2023

Note

Stacked on top of #1862

Why?

Part of the wider effort to add the UI to quickstart-vdk

What?

Build and publish a docker image for the UI as part
of the release step in the CI/CD pipeline. Image tags
follow the same versioning schema as the data-pipelines
package in the npm registry

How has this been tested?

Ran the gitlab script locally

https://gitlab.com/vmware-analytics/versatile-data-kit/-/jobs/4148986837

What type of change are you making?

New feature (non-breaking change which adds functionality)

Signed-off-by: Dilyan Marinov mdilyan@vmware.com

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fe-gitlab-docker-publish branch from 8ffd1f1 to df8927a Compare April 11, 2023 12:54
@DeltaMichael DeltaMichael marked this pull request as ready for review April 11, 2023 12:55
Copy link
Collaborator

@murphp15 murphp15 left a comment

Choose a reason for hiding this comment

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

Looks good to me.
A few very small changes requested and then I'm happy

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fe-gitlab-docker-publish branch 2 times, most recently from 9c06830 to 70a2698 Compare April 20, 2023 07:26
@DeltaMichael DeltaMichael changed the title frontend: publish docker image for ui [DO NOT MERGE] frontend: publish docker image for ui Apr 20, 2023
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fe-gitlab-docker-publish branch 7 times, most recently from d0c12d2 to f837f04 Compare April 20, 2023 13:53
Dilyan Marinov added 2 commits April 20, 2023 17:54
Why?

Part of the wider effort to add the ui to
quickstart-vdk. The ui should be shippable as
a docker image.

What?

Create dockerfile + nginx configuration for the ui
The dockerfile spins up an nginx server on port 8091
and copies over the contents of dist/ui to the
server's html dir

How has this been tested?

Tested locally by running

docker build -t vdk-ui .
docker run --name vdk-ui-container -d -p 8080:8091 vdk-ui

and making sure that the ui is served on https://localhost:8080

What type of change are you making?

Feature, non-breaking

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
Why?

Part of the wider effort to add the ui to
quickstart-vdk. The ui should be shippable as
a docker image.

What?

Create dockerfile + nginx configuration for the ui
The dockerfile spins up an nginx server on port 8091
and copies over the contents of dist/ui to the
server's html dir

How has this been tested?

Tested locally by running

docker build -t vdk-ui .
docker run --name vdk-ui-container -d -p 8080:8091 vdk-ui

and making sure that the ui is served on https://localhost:8080

What type of change are you making?

Feature, non-breaking

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fe-gitlab-docker-publish branch from f837f04 to d070d60 Compare April 20, 2023 14:56
@DeltaMichael DeltaMichael enabled auto-merge (squash) April 20, 2023 14:57
@DeltaMichael DeltaMichael changed the title [DO NOT MERGE] frontend: publish docker image for ui frontend: publish docker image for ui Apr 20, 2023
Why?

Part of the wider effort to add the UI to quickstart-vdk

What?

Build and publish a docker image for the UI as part
of the release step in the CI/CD pipeline. Image tags
follow the same versioning schema as the data-pipelines
package in the npm registry

How has this been tested?

Ran the gitlab script locally
https://gitlab.com/vmware-analytics/versatile-data-kit/-/jobs/4148986837

What type of change are you making?

New feature (non-breaking change which adds functionality)

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/fe-gitlab-docker-publish branch from d070d60 to de46d92 Compare April 20, 2023 15:00
@DeltaMichael DeltaMichael merged commit 889c4f8 into main Apr 20, 2023
3 of 4 checks passed
@DeltaMichael DeltaMichael deleted the person/mdilyan/fe-gitlab-docker-publish branch April 20, 2023 15:24
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.

None yet

4 participants