forked from OmniSharp/omnisharp-roslyn
-
Notifications
You must be signed in to change notification settings - Fork 0
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
SLOMNI-15 Bootstrap pipeline on Cirrus #8
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
77c4e43
Update Readme text and fix broken link.
JoeRobich 1c3c7a3
Update SDK versions to latest
JoeRobich 5323ad7
Auto generate app.config.
JoeRobich 6d408a6
Remove unused dependencies
JoeRobich dc4cde7
Update dependency verisons
JoeRobich 753f81d
Fix xUnit warnings
JoeRobich 1deb7b1
Fix decompiler tests
JoeRobich 0152591
Add AspNetCore EA library
JoeRobich 2d8f1a1
Add BenchmarkDotNet dependency to package mapping
JoeRobich 8f5f7e2
Downgrade MSBuildPackageVersion.
JoeRobich c3e291b
Update Roslyn to 4.9.0-3.23611.3
JoeRobich 47e0a7b
Fix failing test
JoeRobich fac4edd
Fix semantic highlight test
JoeRobich 2fe3738
Merge pull request #2588 from OmniSharp/jorobich/update-versions
JoeRobich a2546c7
Merge branch 'master' into jorobich/update-readme
JoeRobich 651e9a9
Update changelog for 1.39.11 release
JoeRobich f473ddc
Fix changelog
JoeRobich 9d4176a
Merge pull request #2591 from OmniSharp/jorobich/update-changelog
JoeRobich 87379c0
Pass project path when performing a restore.
JoeRobich 41dbf7c
Merge pull request #2593 from OmniSharp/jorobich/restore-project
JoeRobich f768329
Update SDKs and add 9.0 preview 1.
JoeRobich 476a2bd
Update Roslyn to 4.10.0-2.24112.8
JoeRobich e2bf95b
Update changelog
JoeRobich 5309810
Ensure we are shipping SQLitePCLRaw 2.1.0 for Mono support
JoeRobich 5b06f24
Merge branch 'joerobich/update-sdks-roslyn' of github.com:OmniSharp/o…
JoeRobich 70c8064
Fix DotNetCliServiceFacts test
JoeRobich 8495e47
Merge pull request #2603 from OmniSharp/joerobich/update-sdks-roslyn
JoeRobich eb1a575
fix #2550 inlay hints lambdas parameter type null reference exception
madiele ac7b9b8
Merge pull request #2604 from madiele/lambda-param-nullref
JoeRobich 2ad5dea
Remove NuGet.Packaging.Core
nkolev92 6f87287
Update NuGet version
JoeRobich 23dccf0
Move to macos-12 image
JoeRobich 66ff5f6
Fix casing
JoeRobich 4ed2ca7
Bump S.T.J to version 8.0.4
JoeRobich 2dad815
Merge pull request #2617 from OmniSharp/dev/jorobich/remove-nugetpack…
JoeRobich d83078b
Update Roslyn to 4.12.0-1.24358.3
JoeRobich 51c9515
Reorder test runs in CI
JoeRobich 50c401d
Fix test
JoeRobich 57f5898
Fix code fix construction
JoeRobich 50095f2
Merge pull request #2620 from OmniSharp/dev/jorobich/fix-codefixer-lo…
JoeRobich cce743f
Request completions until timeout in LSP tests
JoeRobich 33bc91a
Revert fix test
JoeRobich ce58118
Free up space in ADO CI
JoeRobich 2efe02c
Merge branch 'master' into update-roslyn-3
JoeRobich 3b721df
Merge pull request #2619 from OmniSharp/update-roslyn-3
JoeRobich f2cada0
Update .NET SDKs
JoeRobich 1c0ccbd
Update Changelog for 1.39.12 release
JoeRobich 915163d
Merge pull request #2621 from OmniSharp/update-sdks-2
JoeRobich 2bd9929
SLOMNI-15 Create build pipeline on Cirrus
jblievremont dcdb117
SLOMNI-15 Bring back changes from Sonar patch
jblievremont b29f8af
Merge tag 'v1.39.12' from upstream
jblievremont 36ff0a0
Merge tag 'v1.39.12' from upstream
jblievremont 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,3 @@ | ||
load("github.com/SonarSource/cirrus-modules@v3", "load_features") | ||
def main(ctx): | ||
return load_features(ctx) |
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,52 @@ | ||
env: | ||
# Allows to run builds for the 50 last commits in a branch: | ||
CIRRUS_CLONE_DEPTH: 50 | ||
CIRRUS_SHELL: bash | ||
SLACK_TOKEN: VAULT[development/kv/data/slack data.token] | ||
SLACK_CHANNEL: squad-ide-intellij-family-bots | ||
|
||
only_sonarsource_qa: &ONLY_SONARSOURCE_QA | ||
only_if: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_TAG == "" && ($CIRRUS_PR != "" || $CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*" || $CIRRUS_BRANCH =~ "dogfood-on-.*") | ||
|
||
container_definition: &CONTAINER_DEFINITION | ||
cluster_name: ${CIRRUS_CLUSTER_NAME} | ||
region: eu-central-1 | ||
dockerfile: .cirrus/Dockerfile | ||
builder_role: cirrus-builder | ||
builder_image: docker-builder-v* | ||
builder_instance_type: t3.small | ||
docker_arguments: | ||
CIRRUS_AWS_ACCOUNT: ${CIRRUS_AWS_ACCOUNT} | ||
|
||
ec2_instance_definition: &INSTANCE_DEFINITION | ||
region: eu-central-1 | ||
type: c6i.xlarge | ||
image: base-windows-dotnet-v* | ||
platform: windows | ||
|
||
notify_slack_on_failure: &NOTIFY_SLACK_ON_FAILURE | ||
on_failure: | ||
slack_notification_script: source slack-failure-notification | ||
|
||
build_linux_task: | ||
<<: *ONLY_SONARSOURCE_QA | ||
eks_container: | ||
<<: *CONTAINER_DEFINITION | ||
cpu: 4 | ||
memory: 4G | ||
env: | ||
PATH: ${PATH}:${HOME}/.dotnet/tools | ||
CLR_OPENSSL_VERSION_OVERRIDE: "1.1" | ||
build_linux_script: ./build.sh --target Quick --configuration Release | ||
linux_artifacts: | ||
path: artifacts/package/**/omnisharp-*.* | ||
<<: *NOTIFY_SLACK_ON_FAILURE | ||
|
||
build_windows_task: | ||
<<: *ONLY_SONARSOURCE_QA | ||
ec2_instance: | ||
<<: *INSTANCE_DEFINITION | ||
build_windows_script: powershell -File build.ps1 -target Quick -configuration Release | ||
windows_artifacts: | ||
path: artifacts/package/**/omnisharp-*.* | ||
<<: *NOTIFY_SLACK_ON_FAILURE |
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,20 @@ | ||
ARG CIRRUS_AWS_ACCOUNT | ||
FROM ${CIRRUS_AWS_ACCOUNT}.dkr.ecr.eu-central-1.amazonaws.com/base:j17-latest | ||
|
||
USER root | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y ca-certificates gnupg && \ | ||
gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \ | ||
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" > /etc/apt/sources.list.d/mono-official-stable.list && \ | ||
apt-get update && \ | ||
apt-get install -y \ | ||
dotnet-sdk-8.0 \ | ||
mono-complete \ | ||
mono-roslyn \ | ||
msbuild \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
USER sonarsource | ||
WORKDIR /home/sonarsource |
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
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
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
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
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
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.
Little improvement I see: set CIRRUS_SHELL on the task level; build_linux_task could execute with bash, and build_windows_task could use powershell by default.