Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade to CircleCI v2 APIs #909

Open
lread opened this issue Oct 11, 2024 · 0 comments
Open

chore: Upgrade to CircleCI v2 APIs #909

lread opened this issue Oct 11, 2024 · 0 comments

Comments

@lread
Copy link
Member

lread commented Oct 11, 2024

I noticed...

that CircleCI has now deprecated specific endpoints in their v1 API.

image

Since...

CircleCI has been so kind to us, I think if they don't want folks using the v1 API, we should switch to the v2 API.

Details

V2 seems a bit more chatty.

Perhaps something like:

  1. trigger a pipeline
  2. wait for pipeline to be created
  3. get workflow for pipeline
  4. wait for workflow to complete
  5. get job for workflow
  6. get artifact for job

Extras

I'll also probably move from clj-http.lite to babashka.http-client.
We chose clj-http.lite back in JDK8 days.
We are now on JDK23, so probably good to use more modern JVM http support (and a very actively maintained lib).

lread added a commit that referenced this issue Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant