gitlab-art | cross-project Gitlab artifact dependencies | Computer Vision library
kandi X-RAY | gitlab-art Summary
kandi X-RAY | gitlab-art Summary
art solves a burning problem of pulling artifacts from different repositories.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return a list of artifacts in artifacts_lock
- Install a member
- Create directories
- Return a file - like object
- Load yaml file
- Returns the path to the cache file
- Return the name of a zip file
- Download artifacts
- Save a file
- Return a Gitlab instance
- Update the artifacts
- Returns the latest job that matches the ref
- Saves the configuration file
- Return the contents of a project file
- Configure the application
gitlab-art Key Features
gitlab-art Examples and Code Snippets
before_script:
- sudo pip install https://github.com/kosma/art
- art configure
- art download
- art install
cache:
paths:
- .art-cache/
Community Discussions
Trending Discussions on gitlab-art
QUESTION
I'm running gitlab-ce on-prem with min.io as a local S3 service. CI/CD caching is working, and basic connectivity with the S3-compatible minio is good. (Versions: gitlab-ce:13.9.2-ce.0
, gitlab-runner:v13.9.0
, and minio/minio:latest
currently c253244b6fb0
.)
Is there additional configuration to differentiate between job-artifacts and pipeline-artifacts and storing them in on-prem S3-compatible object storage?
In my test repo, the "build" stage builds a sparse R package. When I was using local in-gitlab job artifacts, it succeeds and moves on to the "test" and "deploy" stages, no problems. (And that works with S3-stored cache, though that configuration is solely within gitlab-runner
.) Now that I've configured minio as a local S3-compatible object storage for artifacts, though, it fails.
ANSWER
Answered 2021-Jun-14 at 18:30The answer is to bypass the empty-string test; the underlying protocol does not support region-less configuration, nor is there a configuration option to support it.
The trick is able to work because the use of 'endpoint'
causes the 'region'
to be ignored. With that, setting the region to something and forcing the endpoint allows it to work:
QUESTION
I have been trying for several days to run gitlab via docker-composing through Traefik. I found several topics about it but none of them really solved my problem. So I would like to open a topic today.
I have helped myself a lot with the following example: https://github.com/ambroisemaupate/docker-server-env/blob/master/compose/example-gitlab-traefik/docker-compose.yml
...ANSWER
Answered 2019-Oct-16 at 13:06This is a syntax error in the next line:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gitlab-art
Create a Gitlab private token and save it in art configuration: art configure https://gitlab.example.com/ 'as1!df2@gh3#jk4$'
Create artifacts.yml with definitions of needed artifacts: - project: kosma/foobar-documentation ref: branches/stable job: doc install: build/apidoc/html/: docs/api/ VERSION: docs/VERSION - project: kosma/foobar-firmware ref: 1.4.0 job: firmware-8051 install: build/8051/release/firmware.bin: blobs/firmware-8051.blob - project: kosma/foobar-icons ref: 69881ebc852f5e02b8328c6b9da615e90b7184b2 job: icons install: .: icons/
Run art update to automatically determine latest versions and job numbers of needed projects and save them into artifacts.lock.yml. Commit both files to version control system.
Run art download to fetch required artifacts to your local cache and art install to install them to the project directory.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page