Giter VIP home page Giter VIP logo

images's Introduction

CIRCT Images

Docker images for the CIRCT project

Docker images

Images and associated scripts and data are stored in subdirectories. Docker requires that the image definition and any files the definition needs to COPY over are stored in or below its directory. To build locally (for testing) cd into the image directory and run docker build . -t <tag> wherein tag is what you want the image to be called.

Workflow

The publishing workflow for all the images is in .github/workflow/publish_images.yml. It works by logging into the GitHub container registry, building the Docker image, then pushing that image to the registry. The password (really a PAT) is stored and exposed to the workflow as an Encrypted secret. The CR_PAT secret is a PAT generated from the circt-ma machine user.

Updating images

The workflow is triggered by a GitHub release. So clone the repo, make your changes, test them locally via a docker build <image_dir>, commit & push your change to the trunk branch, then do a release.

Using images

Example from CIRCT nightly:

  build-circt:
    name: Build and Test
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/circt/images/circt-integration-test:v1

images's People

Contributors

teqdruid avatar seldridge avatar darthscsi avatar mikeurbach avatar youngar avatar jopperm avatar mortbopet avatar nandor avatar uenoku avatar maerhart avatar frog-in-the-well avatar

Stargazers

Rachit Nigam avatar  avatar Zhiyang Ong avatar Zihao Li avatar

Watchers

Stephen Neuendorffer avatar James Cloos avatar  avatar  avatar Zhiyang Ong avatar  avatar Will Dietz avatar

images's Issues

Setup CI on PRs

It would be good to have CI running on PRs just to test that the images build correctly with any proposed changes.

This would likely require factoring the image builds into separate "build" and "publish" steps that can be gated based on whether this is a nightly cron job or a PR build.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.