Giter Site home page Giter Site logo

Comments (7)

mitchellmaler avatar mitchellmaler commented on August 12, 2024 1

I am also wondering the same thing.

Using Jenkins declarative pipeline can you use the specified ACI cloud but in the pipeline/jenkinsfile specify the image to deploy and use for the job.

This way we don't have to manually specify the templates but it can be done in the jobs jenkinsfile.

from azure-container-agents-plugin.

zackliu avatar zackliu commented on August 12, 2024

Docker in docker isn't supported in ACI but supported in ACS

from azure-container-agents-plugin.

zackliu avatar zackliu commented on August 12, 2024

Hi, what your purpose to use Docker inside a container. If you need some specific environment, you can just prepare such a Docker image with JNLP or SSH and use it as agent directly.

from azure-container-agents-plugin.

sheerun avatar sheerun commented on August 12, 2024

I don't need docker inside container (well, I'd like to have it for building images and testing images along services, but that's other matter). The only reason I mentioned dind is that I thought it could workaround my issue by running docker commands inside steps, instead of configuring proper image as agent.

This issue is only about ability to run declarative pipeline that I've mentioned, on ACI runtime.

I've modified the title of issue to better reflect it.

from azure-container-agents-plugin.

zackliu avatar zackliu commented on August 12, 2024

Sorry, I need to make the issue more clearly. What you want to achieve is if you use the Jenkinsfile above, actually Jenkins will provision an azure container instance with nodejs image to run the following commands. Is my understanding correct?

from azure-container-agents-plugin.

sheerun avatar sheerun commented on August 12, 2024

That's correct :) The point is to be able to run above pipeline unmodified on both ACI and ACS.

from azure-container-agents-plugin.

nerumo avatar nerumo commented on August 12, 2024

@zackliu you said it works in acs. So if a build requests a part to run in a specific docker image (without jnlp) it should provision a container and run stuff in there?

from azure-container-agents-plugin.

Related Issues (20)

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.