Skip to content

Commit 05af7d5

Browse files
chore: sync repo
1 parent d6adeca commit 05af7d5

File tree

469 files changed

+126892
-10172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

469 files changed

+126892
-10172
lines changed

.devcontainer/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# syntax=docker/dockerfile:1
2+
FROM debian:bookworm-slim
3+
4+
RUN apt-get update && apt-get install -y --no-install-recommends \
5+
libxkbcommon0 \
6+
ca-certificates \
7+
ca-certificates-java \
8+
make \
9+
curl \
10+
git \
11+
openjdk-17-jdk-headless \
12+
unzip \
13+
libc++1 \
14+
vim \
15+
&& apt-get clean autoclean
16+
17+
# Ensure UTF-8 encoding
18+
ENV LANG=C.UTF-8
19+
ENV LC_ALL=C.UTF-8
20+
21+
WORKDIR /workspace
22+
23+
COPY . /workspace

.devcontainer/devcontainer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
3+
{
4+
"name": "Debian",
5+
"build": {
6+
"dockerfile": "Dockerfile"
7+
}
8+
9+
// Features to add to the dev container. More info: https://containers.dev/features.
10+
// "features": {},
11+
12+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
13+
// "forwardPorts": [],
14+
15+
// Configure tool-specific properties.
16+
// "customizations": {},
17+
18+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
19+
// "remoteUser": "root"
20+
}

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# These are explicitly windows files and should use crlf
5+
*.bat text eol=crlf

.github/workflows/ci.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
name: CI
2+
on:
3+
push:
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
10+
pull_request:
11+
branches-ignore:
12+
- 'stl-preview-head/**'
13+
- 'stl-preview-base/**'
14+
15+
jobs:
16+
lint:
17+
timeout-minutes: 15
18+
name: lint
19+
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- name: Set up Java
26+
uses: actions/setup-java@v4
27+
with:
28+
distribution: temurin
29+
java-version: |
30+
8
31+
21
32+
cache: gradle
33+
34+
- name: Set up Gradle
35+
uses: gradle/actions/setup-gradle@v4
36+
37+
- name: Run lints
38+
run: ./scripts/lint
39+
40+
build:
41+
timeout-minutes: 15
42+
name: build
43+
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
44+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
45+
46+
steps:
47+
- uses: actions/checkout@v4
48+
49+
- name: Set up Java
50+
uses: actions/setup-java@v4
51+
with:
52+
distribution: temurin
53+
java-version: |
54+
8
55+
21
56+
cache: gradle
57+
58+
- name: Set up Gradle
59+
uses: gradle/actions/setup-gradle@v4
60+
61+
- name: Build SDK
62+
run: ./scripts/build
63+
64+
test:
65+
timeout-minutes: 15
66+
name: test
67+
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
68+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
69+
steps:
70+
- uses: actions/checkout@v4
71+
72+
- name: Set up Java
73+
uses: actions/setup-java@v4
74+
with:
75+
distribution: temurin
76+
java-version: |
77+
8
78+
21
79+
cache: gradle
80+
81+
- name: Set up Gradle
82+
uses: gradle/gradle-build-action@v2
83+
84+
- name: Run tests
85+
run: ./scripts/test

.github/workflows/test.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.gitignore

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
.idea
2-
out/production
1+
.prism.log
32
.gradle
4-
build
5-
config.properties
6-
.DS_Store
7-
.project
8-
.settings
9-
bin
10-
.classpath
3+
.idea
4+
.kotlin
5+
build/
6+
codegen.log
7+
kls_database.db

.stats.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
configured_endpoints: 42
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-3d7da4b8ef2ed30aa32c4fb3e98e498e67402e91aaa5fd4c628fc080bfe82ea1.yml
3+
openapi_spec_hash: aaa50fcbccec6f2cf1165f34bc6ac886
4+
config_hash: cf9d50fe62973f4e91ef65c147aabcc1

DEVELOPMENT.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)