Giter Site home page Giter Site logo

ci-tools's Introduction

Images to run CI pipelines

ic-dev-base

Core image for all our pipelines. It contains:

  • rust, cargo, clippy, etc.
  • DFX with Motoko
  • ic_cdk_optimizer
  • python3
  • jq to modify json files easily

DFX installation has pre-defined identities which names are stored in env variables: DFX_DEV_IDENTITY and DFX_DEV_ACCOUNT_IDENTITY.

WORK_DIR env points to work/home directory. Do not rely on HOME because this variable could be changed by the GitHub CI.

ic-bin

This is where we are building modules to set up NNS with. We are using our fork of the IC repository with some additional patches. Ideally we should compile modules from IC directrly.

Also this image include our ifx tool to upload binaries directly into canisters.

ic-dev-full

Based on ic-dev-base and includes binaries from the ic-bin.

Image features:

  • Pre configured NNS environment with dfx.json located in WORK_DIR with ledger-test canister
  • nns-bin-init cli tool installed
  • Configured nginx proxy:
    • Serves at 8001
    • Proxy all requests to DFX 8000
    • /static/ URI show all files in directory defined in PUBLIC_DIR env var.
    • /_/dashboard URI proxy request to DFX replica dashboard at 8080 if it is available.

Also you can configure and run your own DFX environment from other folder.

In order to launch image with proxy launch DFX in background and then start nginx.

CMD (dfx start --background && nginx)

ci-tools's People

Contributors

alexriet avatar andyosei avatar blutooth avatar maximkaaa avatar rumatoest avatar yaa110 avatar

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.