Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolotin committed Jun 10, 2022
2 parents 045e9af + 1346d6d commit c604f8d
Show file tree
Hide file tree
Showing 445 changed files with 703,890 additions and 10,218 deletions.
71 changes: 0 additions & 71 deletions .circleci/config.yml

This file was deleted.

82 changes: 82 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: "Build"

on:
push:
tags: [ '*' ]
branches: [ '*' ]
schedule:
- cron: '10 1 * * *'

workflow_dispatch: { }

jobs:
init:
runs-on: ubuntu-latest
steps:
- uses: milaboratory/github-ci/actions/context/init@v2
with:
version-canonize: false
- id: context
uses: milaboratory/github-ci/actions/context@v2

outputs:
is-release: ${{ steps.context.outputs.is-release }}

run:
needs:
- init

uses: milaboratory/github-ci/.github/workflows/java-gradle-app.yaml@v2
with:
# Environment
java-version: '8'
app-name: MiXCR
app-name-slug: 'mixcr'

# Tests
test-unit: true
test-unit-before-tasks: shadowJar
test-unit-cache: true
test-unit-cache-paths: |
./src/test/resources/sequences/big/**
test-unit-cache-key: 'tests-sequences-v1'

test-integration: true
test-integration-before-tasks: shadowJar
test-integration-tasks: ''
test-integration-cache: true
test-integration-cache-paths: |
./src/test/resources/sequences/big/**
test-integration-cache-key: 'tests-sequences-v1'

# Distribution
dist-docker: false
dist-archive: ${{ github.event_name != 'schedule' }}
dist-archive-tasks: 'distributionZip'
dist-archive-paths: './distributions/*.zip'

# Release to S3
release-to-s3: ${{ github.event_name != 'schedule' }}
release-s3-add-version: true
release-s3-add-sha: ${{ fromJSON(needs.init.outputs.is-release) && 'false' || '8' }}

# Send notifications
notify-telegram: true

secrets:
env: |
{ "MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }} }
GRADLE_PROPERTIES: |
miRepoAccessKeyId=${{ secrets.AWS_CI_ACCESS_KEY_ID }}
miRepoSecretAccessKey= ${{ secrets.AWS_CI_SECRET_ACCESS_KEY }}
miGitHubMavenUser=${{ github.actor }}
miGitHubMavenToken=${{ secrets.GITHUB_TOKEN }}
AWS_KEY_ID: ${{ secrets.AWS_CI_ACCESS_KEY_ID }}
AWS_KEY_SECRET: ${{ secrets.AWS_CI_SECRET_ACCESS_KEY }}

TELEGRAM_NOTIFICATION_TARGET: ${{ secrets.TG_CHANNEL_MIBUILDS }}
TELEGRAM_API_TOKEN: ${{ secrets.TG_CI_BOT_TOKEN }}

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ out
test_target
src/test/resources/sequences/big
tmp
pack
build
.gradle
mi.license
.mi.license
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

10 changes: 10 additions & 0 deletions .mi-ci/hooks/test-integration-after.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

script_dir=$(dirname "${0}")

cd "${script_dir}/../.." || exit

#export MI_LICENSE_DEBUG=MI_LICENSE_DEBUG

# Run integration tests
./itests.sh test
13 changes: 13 additions & 0 deletions .mi-ci/hooks/test-integration-before.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

script_dir=$(dirname "${0}")

cd "${script_dir}/../.." || exit

#export MI_LICENSE_DEBUG=MI_LICENSE_DEBUG

# Downloadable test data
./ensure-test-data.sh

# Builds pre-processed test data
./prepare-test-data.sh
13 changes: 13 additions & 0 deletions .mi-ci/hooks/test-unit-before.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

script_dir=$(dirname "${0}")

cd "${script_dir}/../.." || exit

#export MI_LICENSE_DEBUG=MI_LICENSE_DEBUG

# Downloadable test data
./ensure-test-data.sh

# Builds pre-processed test data
./prepare-test-data.sh
Loading

0 comments on commit c604f8d

Please sign in to comment.