|
11 | 11 | workflow_dispatch: {} |
12 | 12 | jobs: |
13 | 13 | init: |
14 | | - if: github.repository != 'milaboratory/platforma-block-boilerplate' |
15 | | - runs-on: ubuntu-latest |
| 14 | + runs-on: hz-ubuntu-dind |
16 | 15 | steps: |
17 | 16 | - uses: milaboratory/github-ci/actions/context/init@v4 |
18 | 17 | with: |
19 | 18 | version-canonize: false |
20 | 19 | branch-versioning: main |
21 | 20 | run: |
22 | | - if: github.repository != 'milaboratory/platforma-block-boilerplate' |
23 | 21 | needs: |
24 | 22 | - init |
25 | | - |
26 | 23 | uses: milaboratory/github-ci/.github/workflows/node-simple-pnpm.yaml@v4 |
27 | 24 | with: |
28 | | - app-name: 'Block: block-boilerplate' |
29 | | - app-name-slug: 'block-block-boilerplate' |
30 | | - |
| 25 | + app-name: 'Block: Fastq Reader' |
| 26 | + app-name-slug: 'block-fastq-reader' |
31 | 27 | node-version: '20.x' |
32 | | - build-script-name: 'build' |
| 28 | + gha-runner-label: hz-ubuntu-dind |
| 29 | + build-script-name: 'build:dev-local' |
| 30 | + build-before-publish-script-name: 'build:release' |
33 | 31 | pnpm-recursive-build: false |
34 | 32 |
|
35 | | - test: false |
| 33 | + test: true |
36 | 34 | test-script-name: 'test' |
37 | 35 | pnpm-recursive-tests: false |
38 | 36 | team-id: 'ciplopen' |
39 | 37 |
|
| 38 | + publish-to-public: 'true' |
40 | 39 | package-path: 'block' |
41 | | - publish-to-public: true |
42 | | - create-tag: true |
| 40 | + create-tag: 'true' |
43 | 41 |
|
44 | 42 | npmrc-config: | |
45 | 43 | { |
46 | 44 | "registries": { |
47 | 45 | "https://registry.npmjs.org/": { |
48 | | - "scopes": ["milaboratories", "platforma-open", "platforma-sdk"], |
| 46 | + "scopes": ["milaboratories", "platforma-sdk", "platforma-open"], |
49 | 47 | "tokenVar": "NPMJS_TOKEN" |
50 | | - }, |
51 | | - "https://npm.pkg.github.com/": { |
52 | | - "scopes": ["milaboratory"], |
53 | | - "tokenVar": "NODE_AUTH_TOKEN" |
54 | 48 | } |
55 | 49 | } |
56 | 50 | } |
57 | | -
|
58 | 51 | secrets: |
59 | 52 | env: | |
60 | 53 | { "PL_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, |
61 | 54 | "MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, |
62 | | -
|
63 | 55 | "NPMJS_TOKEN": ${{ toJSON(secrets.NPMJS_TOKEN) }}, |
64 | 56 | "PL_CI_TEST_USER": ${{ toJSON(secrets.PL_CI_TEST_USER) }}, |
65 | 57 | "PL_CI_TEST_PASSWORD": ${{ toJSON(secrets.PL_CI_TEST_PASSWORD) }}, |
66 | 58 |
|
67 | 59 | "AWS_CI_IAM_MONOREPO_SIMPLE_ROLE": ${{ toJSON(secrets.AWS_CI_IAM_MONOREPO_SIMPLE_ROLE) }}, |
68 | 60 | "AWS_CI_TURBOREPO_S3_BUCKET": ${{ toJSON(secrets.AWS_CI_TURBOREPO_S3_BUCKET) }}, |
| 61 | +
|
| 62 | + "HZ_CI_TURBO_S3_BUCKET": ${{ toJSON(vars.HZ_CI_TURBO_S3_BUCKET) }}, |
| 63 | + "HZ_CI_TURBO_S3_ENDPOINT": ${{ toJSON(vars.HZ_CI_TURBO_S3_ENDPOINT) }}, |
| 64 | + "HZ_CI_TURBO_S3_REGION": ${{ toJSON(vars.HZ_CI_TURBO_S3_REGION) }}, |
| 65 | + "HZ_CI_TURBO_S3_ACCESS_KEY": ${{ toJSON(secrets.HZ_CI_TURBO_S3_ACCESS_KEY) }}, |
| 66 | + "HZ_CI_TURBO_S3_SECRET_KEY": ${{ toJSON(secrets.HZ_CI_TURBO_S3_SECRET_KEY) }}, |
| 67 | + "HZ_CI_CACHE_S3_ACCESS_KEY": ${{ toJSON(secrets.HZ_CI_CACHE_S3_ACCESS_KEY) }}, |
| 68 | + "HZ_CI_CACHE_S3_SECRET_KEY": ${{ toJSON(secrets.HZ_CI_CACHE_S3_SECRET_KEY) }}, |
| 69 | +
|
69 | 70 | "PL_REGISTRY_PLATFORMA_OPEN_UPLOAD_URL": ${{ toJSON(secrets.PL_REGISTRY_PLOPEN_UPLOAD_URL) }}, |
70 | 71 | "QUAY_USERNAME": ${{ toJSON(secrets.QUAY_USERNAME) }}, |
71 | 72 | "QUAY_ROBOT_TOKEN": ${{ toJSON(secrets.QUAY_ROBOT_TOKEN) }} } |
72 | 73 |
|
73 | | - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
74 | 74 | SLACK_CHANNEL: ${{ secrets.SLACK_BLOCKS_CI_CHANNEL }} |
| 75 | + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
75 | 76 |
|
76 | 77 | GH_ZEN_APP_ID: ${{ secrets.GH_ZEN_APP_ID }} |
77 | 78 | GH_ZEN_APP_PRIVATE_KEY: ${{ secrets.GH_ZEN_APP_PRIVATE_KEY }} |
0 commit comments