gooddata_datawarehouse 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0d852dbd45a214766536c58b9ac732d6cb7574fc3e1c9a7bddbad590da2cdd9
4
- data.tar.gz: b1b5f7e172325dd8b8c557637fecb49c08438da69a2cf6b077a8ce76d8d55131
3
+ metadata.gz: c98175a41880cbb5b838b644c6aa2ace03db3234c149933b79c90bd9d015e861
4
+ data.tar.gz: ea520ce3ae222ae6eca5374d7237ce8c0ad2cae10cece22d7118def742ad8aa0
5
5
  SHA512:
6
- metadata.gz: 3e1928a456fd547a04ab20718e8f53cb3f28e933a617ce5e656ba31d703172352a0c1b3c4b20f2d3b2f4529bbd74fd1fa0656f44f7f005d1e0a41425dc822215
7
- data.tar.gz: 9f6b2f9ee5fbf39033fe0aa7894d11a0f29b4f8b1c949280c80b84ed1caef5ac6a378c05f1556e1e0460668cc71206d0edfe6e643161336ac5de5aa1211799a0
6
+ metadata.gz: '092c824a77f114dbc07f7428da60ef0387772c63712e81d8c7f2880814071a281fc02ea0c985d0cd6278b95ea2c12ab6503d9405a6455a13974b5149ca8adc78'
7
+ data.tar.gz: 639cc8b638b7624c88d29c1d05182aedccaa111c021ce5374090dce3887016f7ded240c8b150d5cb07ceb59a536ed249a22b2699af0ca82a42f352a494547e1f
@@ -0,0 +1,64 @@
1
+ name: check
2
+ on: pull_request
3
+ jobs:
4
+ prepare-env:
5
+ runs-on:
6
+ group: infra1-runners-arc
7
+ labels: runners-small
8
+ outputs:
9
+ branch: ${{ github.base_ref }}
10
+ ref: ${{ github.ref }}
11
+ commit: ${{ github.event.pull_request.head.sha }}
12
+ pr_number: ${{ github.event.pull_request.number }}
13
+ project: ${{ github.repository }}
14
+ changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
+ - name: Get changed files
20
+ id: changed-files
21
+ uses: tj-actions/changed-files@v40
22
+ gooddata_datawarehouse-tests-zuul:
23
+ runs-on:
24
+ group: infra1-runners-arc
25
+ labels: runners-small
26
+ needs:
27
+ - prepare-env
28
+ permissions:
29
+ contents: read
30
+ id-token: write
31
+ steps:
32
+ - name: Call Jenkins trigger
33
+ id: call-jenkins
34
+ uses: gooddata/github-actions/jenkins/trigger@master
35
+ with:
36
+ server: checklist
37
+ folder: lcm
38
+ job-name: gooddata_datawarehouse-tests-zuul
39
+ params: |-
40
+ {
41
+ "GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
42
+ "GH_REF": "${{ needs.prepare-env.outputs.ref }}",
43
+ "GH_COMMIT": "${{ needs.prepare-env.outputs.commit }}",
44
+ "GH_URL": "git@github.com:",
45
+ "GH_CHANGE": "${{ needs.prepare-env.outputs.pr_number }}",
46
+ "GH_PROJECT": "${{ needs.prepare-env.outputs.project }}",
47
+ "BUILD_BY_GITHUB": "true",
48
+ "GH_PIPELINE": "check"
49
+ }
50
+ comment-pr: 'true'
51
+ ready-to-merge:
52
+ runs-on:
53
+ group: infra1-runners-arc
54
+ labels: runners-small
55
+ if: always()
56
+ needs:
57
+ - prepare-env
58
+ - gooddata_datawarehouse-tests-zuul
59
+ steps:
60
+ - name: Check if needed jobs succeeded
61
+ uses: re-actors/alls-green@release/v1
62
+ with:
63
+ allowed-skips: ${{ toJSON(needs) }}
64
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,79 @@
1
+ name: gate
2
+ on:
3
+ merge_group:
4
+ types:
5
+ - checks_requested
6
+ jobs:
7
+ prepare-env:
8
+ runs-on:
9
+ group: infra1-runners-arc
10
+ labels: runners-small
11
+ outputs:
12
+ branch: ${{ steps.branch.outputs.branch }}
13
+ ref: ${{ github.event.merge_group.head_ref }}
14
+ commit: ${{ github.event.merge_group.head_sha }}
15
+ pr_number: ${{ steps.pr-number.outputs.pr_number }}
16
+ project: ${{ github.repository }}
17
+ changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ with:
21
+ fetch-depth: 0
22
+ - name: Get changed files
23
+ id: changed-files
24
+ uses: tj-actions/changed-files@v40
25
+ - name: Branch name
26
+ id: branch
27
+ run: |-
28
+ branch=$(echo "${{ github.event.merge_group.base_ref }}" | sed 's/^refs\/heads\///')
29
+ echo "branch=$branch" >> "$GITHUB_OUTPUT"
30
+
31
+ - name: PR number
32
+ id: pr-number
33
+ run: |-
34
+ pr_num=$(echo "${{ github.ref }}" | sed -n 's/.*pr-\([0-9]*\).*/\1/p')
35
+ echo "pr_number=$pr_num" >> "$GITHUB_OUTPUT"
36
+
37
+ gooddata_datawarehouse-tests-zuul:
38
+ runs-on:
39
+ group: infra1-runners-arc
40
+ labels: runners-small
41
+ needs:
42
+ - prepare-env
43
+ permissions:
44
+ contents: read
45
+ id-token: write
46
+ steps:
47
+ - name: Call Jenkins trigger
48
+ id: call-jenkins
49
+ uses: gooddata/github-actions/jenkins/trigger@master
50
+ with:
51
+ server: checklist
52
+ folder: lcm
53
+ job-name: gooddata_datawarehouse-tests-zuul
54
+ params: |-
55
+ {
56
+ "GH_BRANCH": "${{ needs.prepare-env.outputs.branch }}",
57
+ "GH_REF": "${{ needs.prepare-env.outputs.ref }}",
58
+ "GH_COMMIT": "${{ needs.prepare-env.outputs.commit }}",
59
+ "GH_URL": "git@github.com:",
60
+ "GH_CHANGE": "${{ needs.prepare-env.outputs.pr_number }}",
61
+ "GH_PROJECT": "${{ needs.prepare-env.outputs.project }}",
62
+ "BUILD_BY_GITHUB": "true",
63
+ "GH_PIPELINE": "gate"
64
+ }
65
+ comment-pr: 'true'
66
+ ready-to-merge:
67
+ runs-on:
68
+ group: infra1-runners-arc
69
+ labels: runners-small
70
+ if: always()
71
+ needs:
72
+ - prepare-env
73
+ - gooddata_datawarehouse-tests-zuul
74
+ steps:
75
+ - name: Check if needed jobs succeeded
76
+ uses: re-actors/alls-green@release/v1
77
+ with:
78
+ allowed-skips: ${{ toJSON(needs) }}
79
+ jobs: ${{ toJSON(needs) }}
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency 'coveralls', '~> 0.7', '>= 0.7.0'
33
33
 
34
34
  spec.add_dependency "sequel", "~> 5.60"
35
- spec.add_dependency "gooddata-dss-jdbc", "~> 0.2.7"
35
+ spec.add_dependency "gooddata-dss-jdbc", "~> 0.2.9"
36
36
  spec.add_dependency "pmap", "~> 1.0"
37
37
 
38
38
  end
@@ -198,7 +198,7 @@ module GoodData
198
198
  if @username.to_s.empty? || @password.to_s.empty?
199
199
  @connection = Sequel.connect(@jdbc_url, :driver => Java.com.gooddata.dss.jdbc.driver.DssDriver, :jdbc_properties => {'sst' => @sst_token})
200
200
  else
201
- @connection = Sequel.connect(@jdbc_url, :username => @username, :password => @password)
201
+ @connection = Sequel.connect(@jdbc_url, :driver => Java.com.gooddata.dss.jdbc.driver.DssDriver, :username => @username, :password => @password)
202
202
  end
203
203
  yield(@connection)
204
204
  ensure
@@ -1,5 +1,5 @@
1
1
  module GoodData
2
2
  class Datawarehouse
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  end
@@ -0,0 +1,3 @@
1
+ sonar.projectKey=gooddata_datawarehouse
2
+ sonar.organization=gooddata-github
3
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gooddata_datawarehouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Cvengros
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-03 00:00:00.000000000 Z
11
+ date: 2024-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -119,7 +119,7 @@ dependencies:
119
119
  requirements:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
- version: 0.2.7
122
+ version: 0.2.9
123
123
  name: gooddata-dss-jdbc
124
124
  prerelease: false
125
125
  type: :runtime
@@ -127,7 +127,7 @@ dependencies:
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: 0.2.7
130
+ version: 0.2.9
131
131
  - !ruby/object:Gem::Dependency
132
132
  requirement: !ruby/object:Gem::Requirement
133
133
  requirements:
@@ -151,6 +151,8 @@ extra_rdoc_files: []
151
151
  files:
152
152
  - ".coveralls.yml"
153
153
  - ".github/workflows/build.yml"
154
+ - ".github/workflows/check.yaml"
155
+ - ".github/workflows/gate.yaml"
154
156
  - ".gitignore"
155
157
  - ".rspec"
156
158
  - ".travis.yml"
@@ -163,6 +165,7 @@ files:
163
165
  - lib/gooddata_datawarehouse/datawarehouse.rb
164
166
  - lib/gooddata_datawarehouse/sql_generator.rb
165
167
  - lib/gooddata_datawarehouse/version.rb
168
+ - sonar-project.properties
166
169
  homepage: ''
167
170
  licenses:
168
171
  - MIT