Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NETDB Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
NETDB Client
Commits
608a8e8f
Verified
Commit
608a8e8f
authored
1 year ago
by
Dominik Rimpf
Browse files
Options
Downloads
Patches
Plain Diff
fix: use api for artifact-download. frontend-url is buggy. rm debug_trace.
parent
2be31bdd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#276483
failed
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-2
1 addition, 2 deletions
.gitlab-ci.yml
with
1 addition
and
2 deletions
.gitlab-ci.yml
+
1
−
2
View file @
608a8e8f
...
...
@@ -6,7 +6,6 @@ default:
# only cache local items.
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
CI_DEBUG_TRACE
:
"
true"
# Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/reference/pip_install/#caching
...
...
@@ -38,7 +37,7 @@ build:
resource_group
:
${CI_COMMIT_BRANCH}
# this prevents parallel (potentially racy) pipeline runs
script
:
-
mkdir -p latest
-
"
(curl
-LsS
--header
'PRIVATE-TOKEN:
${CI_JOB_TOKEN}'
https://${CI_SERVER_HOST}/${CI_PROJECT_NAMESPACE}
/${CI_PROJECT_
NAME}/-
/jobs/artifacts/${CI_COMMIT_BRANCH}/download?job=build
|
bsdtar
-xf
-
-C
latest)
||
true"
-
"
(curl
-LsS
https://${CI_API_V4_URL}/projects
/${CI_PROJECT_
ID}
/jobs/artifacts/${CI_COMMIT_BRANCH}/download?job=build
&job_token=${CI_JOB_TOKEN}
|
bsdtar
-xf
-
-C
latest)
||
true"
-
ls -l latest/dist
-
test -d latest/dist && export LATEST_UTIL_VERSION=$(cd latest/dist; ls *.whl | sed -r 's/.*\+([a-z0-9.]+)-.*/\1/g')
-
test -d latest/dist && export LATEST_API_VERSION=$(cd latest/dist; ls *.whl | sed -r 's/netdb_client-([0-9]+\.[0-9]+\.[0-9]+).*/\1/g')
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment