Giter Site home page Giter Site logo

azure-buildagent-container's People

Contributors

kevchu3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

azure-buildagent-container's Issues

making SA privileged

This is the error I get when I run the command from the README:

oc adm policy add-scc-to-user -z azure-build-sa privileged                                    [ruby-2.6.8p205]
Error from server (Forbidden): clusterrolebindings.rbac.authorization.k8s.io "system:openshift:scc:privileged" is forbidden: User "cluster-admin" cannot get resource "clusterrolebindings" in API group "rbac.authorization.k8s.io" at the cluster scope

Parameterize the proxy credentials

Proxy credentials are stuffed into start.sh. We should parameterize them, and if they're not all defined, we should pass a ./config.sh command without those parameters.

Build Config never ran

Error reported in diagnostic logs. Please examine the log for more details.

  • /opt/app-root/app/_diag/Agent_20220730-163828-utc.log
    VS30063: You are not authorized to access https://dev.azure.com.

Run multiple pod replicas of agent

Need to figure out a way to pass a unique --agent for each replica from the built agent image:

/opt/app-root/app/config.sh --unattended --url https://dev.azure.com/myOrg --auth pat --token myToken --pool default --agent myOCPAgent --acceptTeeEula

Installation #2

Configure the Azure build agent to use an unattended config...

You never actually say where they are supposed to make this change. The instructions should say in the Dockerfile on line 7...

Change start-sh from ConfigMap to Secret

Since we can potentially store sensitive proxy information, we would want to use a Secret instead of ConfigMap for the start.sh script. Also would want to parameterize the proxy info if we can.

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.