-
-
Notifications
You must be signed in to change notification settings - Fork 84
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: add CI validation for pull requests #217
Open
jonas-jonas
wants to merge
36
commits into
master
Choose a base branch
from
feat/ciOnPR
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 27 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
be51b2c
chore: add ci for pr
jonas-jonas 5c136a2
u
jonas-jonas 36605af
u
jonas-jonas b08c69c
Merge remote-tracking branch 'origin/master' into feat/ciOnPR
jonas-jonas 55c3412
Merge remote-tracking branch 'origin/master' into feat/ciOnPR
jonas-jonas 571327e
chore: add matrix CI runs
jonas-jonas 5b78c0e
chore: generate all clients in single workflow
jonas-jonas da0fe3b
Merge remote-tracking branch 'origin/master' into feat/ciOnPR
jonas-jonas 8a32fec
Merge remote-tracking branch 'origin/master' into feat/ciOnPR
jonas-jonas ebadd3b
chore: update network version
jonas-jonas f0be852
chore: u
jonas-jonas 4ec4d1f
chore: u
jonas-jonas 55061e3
chore: u
jonas-jonas 6696901
chore: enable all languages
jonas-jonas f13d209
chore: u
jonas-jonas bc6e343
u
jonas-jonas 3a1a671
u
jonas-jonas 3cd632a
u
jonas-jonas 647e0af
u
jonas-jonas 4c7190c
u
jonas-jonas c765aa9
y
jonas-jonas 2ed61b4
u
jonas-jonas cba5251
chore: cleanup
jonas-jonas 86f6051
chore: fix baseDir
jonas-jonas 33ef6d3
chore: fix dat call
jonas-jonas 460b569
Merge remote-tracking branch 'origin/master' into feat/ciOnPR
jonas-jonas c7b851d
chore: use latest SDK image
jonas-jonas 524b591
Merge remote-tracking branch 'origin/master' into feat/ciOnPR
jonas-jonas 085fb22
Merge remote-tracking branch 'origin/master' into feat/ciOnPR
jonas-jonas 1133c94
chore: ruby
jonas-jonas 2edddad
chore: remove oryd/sdk from ruby build
jonas-jonas 6c9702e
chore: checkout
jonas-jonas a6b86d3
chore: u
jonas-jonas 53009f6
chore: u
jonas-jonas 7894b87
u
jonas-jonas 082d94b
u
jonas-jonas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
container: oryd/sdk:v0.0.51 | ||
defaults: | ||
run: | ||
shell: bash | ||
strategy: | ||
matrix: | ||
language: | ||
[ | ||
"elixir", | ||
"typescript", | ||
"rust", | ||
"golang", | ||
"java", | ||
"php", | ||
"python", | ||
"ruby", | ||
"dotnet", | ||
"dart", | ||
] | ||
steps: | ||
- run: cp -r /root/. $HOME # Workaround, because $HOME is set to /github/home inside the action run | ||
- run: ls -la . | ||
- uses: actions/checkout@v3 | ||
- name: "client" | ||
run: ./scripts/generate-and-test.sh ${{ matrix.language }} latest client | ||
- name: "keto" | ||
run: ./scripts/generate-and-test.sh ${{ matrix.language }} latest keto | ||
- name: "kratos" | ||
run: ./scripts/generate-and-test.sh ${{ matrix.language }} latest kratos | ||
- name: "hydra" | ||
run: ./scripts/generate-and-test.sh ${{ matrix.language }} latest hydra | ||
- name: "oathkeeper" | ||
run: ./scripts/generate-and-test.sh ${{ matrix.language }} latest oathkeeper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# Mainly used by the CI tasks | ||
|
||
# Both use the same arguments | ||
./scripts/generate.sh $1 $2 $3 | ||
./scripts/test.sh $1 $2 $3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep this in sync now as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we do. But I do intend to clean up the Circle CI pipeline soon-ish as well.
And ideally, I'd like to see if we can split up all these SDK generation processes into different workflows (per language), that use their own base images. But not sure if there are many benefits to that yet.