Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab_shared_files
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
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
aidge
gitlab_shared_files
Commits
d2443352
Commit
d2443352
authored
5 months ago
by
Grégoire Kubler
Browse files
Options
Downloads
Patches
Plain Diff
feat : better debug prints
parent
13dbf5f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/ci/download/select_jobs.gitlab-ci.yml
+3
-5
3 additions, 5 deletions
.gitlab/ci/download/select_jobs.gitlab-ci.yml
with
3 additions
and
5 deletions
.gitlab/ci/download/select_jobs.gitlab-ci.yml
+
3
−
5
View file @
d2443352
...
@@ -350,13 +350,11 @@
...
@@ -350,13 +350,11 @@
Write-Host "Retrieving repo tags from $DEP_API_URL/repository/tags?per_page=100"
Write-Host "Retrieving repo tags from $DEP_API_URL/repository/tags?per_page=100"
$DEP_TAGS=$($(Invoke-RestMethod -Uri "$DEP_API_URL/repository/tags?per_page=100" -Method Get) |
$DEP_TAGS=$($(Invoke-RestMethod -Uri "$DEP_API_URL/repository/tags?per_page=100" -Method Get) |
Sort-Object -Property commit.created_at -Descending)
Sort-Object -Property commit.created_at -Descending)
Write-Host "DEP_TAGS = $DEP_TAGS"
$DEP_TAGS | Select-Object name, @{Name="commit_creation_date"; Expression={$_.commit.created_at}} | Out-String
Write-Host "Looking for latest release in $DEP_NAME before $CI_COMMIT_TAG was released on project $CI_PROJECT_NAME."
Write-Host "Looking for latest release in $DEP_NAME before $CI_COMMIT_TAG was released on project $CI_PROJECT_NAME."
Write-Host "Retrieving repo tags from $DEP_API_URL/repository/tags?per_page=100"
Write-Host "Retrieving repo tags from $DEP_API_URL/repository/tags?per_page=100"
$DEP_TAGS_BEFORE_DATE=$($DEP_TAGS |
$DEP_TAGS_BEFORE_DATE=$($DEP_TAGS | Where-Object { $_.commit.created_at -le "$REPO_CURR_TAG_DATE"})
Where-Object { $_.commit.created_at -le "$REPO_CURR_TAG_DATE"})
Write-Host "Found $($DEP_TAGS_BEFORE_DATE.Count) tags for $DEP_NAME pre-dating release $CI_COMMIT_TAG."
Write-Host "Found $($DEP_TAGS_BEFORE_DATE.Count) tags pre-dating release $CI_COMMIT_TAG."
$DEP_TAGS_BEFORE_DATE | Select-Object name | Out-String
$DEP_TAGS_BEFORE_DATE | Select-Object name | Out-String
if ( $($DEP_TAGS_BEFORE_DATE.Count) -ne 0) {
if ( $($DEP_TAGS_BEFORE_DATE.Count) -ne 0) {
...
...
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