Skip to content
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

Feat/AN-4043 setup ci on every push #62

Merged
merged 25 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
name: CI

on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
on: [push]

permissions: read-all

Expand All @@ -17,13 +9,26 @@ jobs:
runs-on: ubuntu-latest
env:
GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}
#TODO delete after merge to main
defaults:
run:
working-directory: ./bitmovin-analytics-datasource
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
#TODO delete after merge to main
sparse-checkout: |
bitmovin-analytics-datasource
sparse-checkout-cone-mode: false

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
#TODO delete after merge to main
cache-dependency-path: './bitmovin-analytics-datasource/yarn.lock'

- name: Install dependencies
run: yarn install --immutable --prefer-offline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@ on: [pull_request]
jobs:
compatibilitycheck:
runs-on: ubuntu-latest
#TODO delete after merge to main
defaults:
run:
working-directory: ./bitmovin-analytics-datasource
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
#TODO delete after merge to main
sparse-checkout: |
bitmovin-analytics-datasource
sparse-checkout-cone-mode: false
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
#TODO delete after merge to main
cache-dependency-path: './bitmovin-analytics-datasource/yarn.lock'
- name: Install dependencies
run: yarn install --immutable --prefer-offline
- name: Build plugin
Expand Down
2 changes: 1 addition & 1 deletion bitmovin-analytics-datasource/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ services:
GF_LOG_LEVEL: debug
GF_DATAPROXY_LOGGING: 1
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS: bitmovin-analytics-datasource
GF_PLUGINS_DELVE_ENABLED: true
GF_PLUGINS_DELVE_ENABLED: 1
Loading