kevchu3 / azure-buildagent-container Goto Github PK
View Code? Open in Web Editor NEWBuild a containerized Azure agent
License: GNU General Public License v3.0
Build a containerized Azure agent
License: GNU General Public License v3.0
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
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.
Error reported in diagnostic logs. Please examine the log for more details.
It may seem straight forward, but I think you should tell the user to clone/fork the repo and make changes in their copy.
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
Consider replacing this with version agnostic URL:
https://vstsagentpackage.azureedge.net/agent/2.206.1/vsts-agent-linux-x64-2.206.1.tar.gz
Also want to expose this package as a configurable environment variable in the BuildConfig
When I create the deployment I get imagePullBackoff on the image stream.
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...
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.