Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Slicer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sam Horvath
  • Slicer
  • Merge requests
  • !561

WIP: CI: set DISPLAY in CircleCI; check if image updated before re-saving

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Isaiah requested to merge github/fork/ihnorton/circleci_gui into master Aug 03, 2016
  • Overview 10
  • Commits 1
  • Pipelines 0
  • Changes 1

This seems to work -- I can't shell in to a running build container itself because CircleCI doesn't support docker exec, but launching a new instance does allow to connect to the X server on the host.

For now this hard-codes the default IP address used for the docker0 bridge and client. We can do a little more work with some awk'ing to get the values dynamically.

Also adds a check for whether docker pull actually updated anything, to avoid re-saving the image unnecessarily (saves 3-5 minutes).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/ihnorton/circleci_gui