Skip to content

Commit c78ad97

Browse files
[ci/cueweb/rest_gateway] Add Docker build jobs for cueweb and rest_gateway (#2098)
**Link the Issue(s) this Pull Request is related to.** - #2053 **Summarize your change.** [ci/cueweb/rest_gateway] Add Docker build jobs for CueWeb and OpenCue REST Gateway Add CI/CD jobs to the testing pipeline to build Docker images for CueWeb and OpenCue REST Gateway components. This ensures the Docker build workflow is validated on every push and PR to master. New jobs: - build_cueweb: Builds the Next.js web interface Docker image - build_rest_gateway: Builds the Go REST gateway Docker image Also fixes CueWeb build by adding missing @radix-ui/react-tooltip dependency to package.json.
1 parent dcf346c commit c78ad97

File tree

3 files changed

+470
-1
lines changed

3 files changed

+470
-1
lines changed

.github/workflows/testing-pipeline.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,3 +391,46 @@ jobs:
391391
with:
392392
name: rest-gateway-coverage
393393
path: rest_gateway/opencue_gateway/coverage.out
394+
395+
build_cueweb:
396+
name: Build CueWeb Docker Image
397+
runs-on: ubuntu-22.04
398+
steps:
399+
- name: Checkout
400+
uses: actions/checkout@v4
401+
with:
402+
fetch-depth: 0
403+
fetch-tags: true
404+
405+
- name: Mark repository as safe
406+
run: git config --global --add safe.directory $GITHUB_WORKSPACE
407+
408+
- name: Set up Docker Buildx
409+
uses: docker/setup-buildx-action@v3
410+
411+
- name: Build CueWeb Docker image
412+
working-directory: cueweb
413+
run: |
414+
docker buildx build . -f Dockerfile -t opencue/cueweb:test --load
415+
echo "CueWeb Docker image built successfully"
416+
417+
build_rest_gateway:
418+
name: Build REST Gateway Docker Image
419+
runs-on: ubuntu-22.04
420+
steps:
421+
- name: Checkout
422+
uses: actions/checkout@v4
423+
with:
424+
fetch-depth: 0
425+
fetch-tags: true
426+
427+
- name: Mark repository as safe
428+
run: git config --global --add safe.directory $GITHUB_WORKSPACE
429+
430+
- name: Set up Docker Buildx
431+
uses: docker/setup-buildx-action@v3
432+
433+
- name: Build REST Gateway Docker image
434+
run: |
435+
docker buildx build . -f rest_gateway/Dockerfile -t opencue/rest-gateway:test --load
436+
echo "REST Gateway Docker image built successfully"

0 commit comments

Comments
 (0)