Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Delete some no longer existing repos #200

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Delete some no longer existing repos #200

merged 1 commit into from
Jan 24, 2024

Conversation

knutwannheden
Copy link
Contributor

No description provided.

@knutwannheden
Copy link
Contributor Author

@timtebeek Is there also some manual step involved in removing the corresponding Jenkins jobs? I got this list of repos from the console log of the latest failing build.

@knutwannheden knutwannheden merged commit 95c1206 into main Jan 24, 2024
1 check passed
@knutwannheden knutwannheden deleted the rm-repos branch January 24, 2024 21:19
@timtebeek
Copy link
Contributor

mod-connect has the option to delete skipped jobs, which we've enabled by default when we create the jobs.
But that assumes the rows are marked as skipped in the CSV, not removed.
https://github.com/moderneinc/mod-connect/blob/91f94ccd59012924c7ae459a023d6a35ed7b0e72/src/main/java/io/moderne/connect/commands/Jenkins.java#L173-L178

@knutwannheden
Copy link
Contributor Author

@timtebeek So I should revert and mark them as skipped and then in a second step delete the repos from the CSV?

@timtebeek
Copy link
Contributor

The workflow that creates these jobs can take an arbitrary URL; if you have some file on some branch somewhere (or even ngrok a CSV) with just the jobs you want to delete marked as skipped that's good enough.

@knutwannheden
Copy link
Contributor Author

Can you show me how to do that? Here is a CSV only containing the deleted ones and where they are marked as skipped.

repos-to-delete.csv

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants