ml-tooling / universal-build Goto Github PK
View Code? Open in Web Editor NEW๐จ Universal build utilities for containerized build pipelines.
License: MIT License
๐จ Universal build utilities for containerized build pipelines.
License: MIT License
Describe the bug:
I have a project with submodules, it could be think as:
build.py
| submodule/
| | build.py
I defined an argument with using an underscore in the name in both build.py
parser.add_argument(
"--my_token"
)
When the submodule is called from the parent, it is called with an argument --my-token
which is not detected by the submodule.
Expected behaviour:
The names fo the arguments shouldn't be changed between when the parent and the submodule.
Steps to reproduce the issue:
Technical details:
Possible Fix:
The replacement of _
to -
is here:
Additional context:
I have the following structure:
build.py
| src/
| | myfile.txt
And in build.py I have the following code:
from universal_build import build_utils
build_utils.copy(
src_path="./src",
target_path="./target/",
preserve_target=True,
)
When the code is run, I expect the following structure:
build.py
| src/
| | myfile.txt
| target/
| | myfile.txt
However I have the following structure:
build.py
| src/
| target/
| | myfile.txt/
| | | myfile.txt
Two things happened that I didn't expect:
Issue number one I suspect comes from the use of move
instead of copy
here:
Issue number two I believe comes from this line:
I think a change to the parent should fix the issue but hasn't been tested.
path.parent.mkdir(parents=True, exist_ok=True)
Describe the bug:
When using the build-environment docker image as a base image and then running apt-get update
it leads to the following error:
E: The repository 'https://deb.nodesource.com/node_14.x focal Release' does not have a Release file.
Steps to reproduce the issue:
Try to build the following dockerfile:
FROM mltooling/build-environment:0.6.15
RUN apt-get update
Possible Fix:
Looks like this could be due to the expired Let's Encrypt root certificate:
nodesource/distributions#1266
In that issue it is suggested to update the ca-certificates package.
This package is already installed in the build environment, so a docker build with --no-cache might already solve the problem.
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.