ci_toolkit 1.6.1 → 1.6.3

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: e72169e62cce70b95ff7872f841a40721103289b06792dc18863d08f5d5aa535
4
- data.tar.gz: fba0e495ebd1c8e69efa917a1fb159078e42df29dc2a805fda7175bcb0992269
3
+ metadata.gz: 160688a62bc8bfc33855fbdff7cdad68442b2f889d2b61ff097072db98c65e6c
4
+ data.tar.gz: a67225ba9ad09394dabe6f5069dfe080bde1a3765c71b1694f1197a32cc1b613
5
5
  SHA512:
6
- metadata.gz: 1ea49531735be387235cb0481ba039ae6f964e21055e0769b788e05c1417a6406386226b2f304edaee1a45d753f4793b7701c705152db8f2e88e485ca9957495
7
- data.tar.gz: c4210324b27bf7b0b591627fd29bdd8790f3b0ae1acae963c02da0e1745e3485fd544ead1448d4c30c81a9ea8fb2f51d9cb5d375fa7a811bfa2c4ad5e85cee57
6
+ metadata.gz: aa002219f7cbaf57a8677e567ef16651037a86fd7cdc127e979bcb70d625940b586ceff489f92f37655014d7b7d565c25901bd85ae5b048da2f53bd68771efee
7
+ data.tar.gz: 8fc239ad0866169020e73e5b396d6fb51a9e8aa257a9b75b8727b91292041e606cc74dc80df1432e7dc90953b83be2ecf03ef3fbe57e701ca52167133640e29a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ci_toolkit (1.6.1)
4
+ ci_toolkit (1.6.3)
5
5
  faraday
6
6
  faraday-multipart
7
7
  faraday_middleware
@@ -124,6 +124,7 @@ GEM
124
124
  unicode-display_width (2.4.2)
125
125
 
126
126
  PLATFORMS
127
+ aarch64-linux
127
128
  universal-darwin-20
128
129
  x86_64-darwin-21
129
130
  x86_64-darwin-22
data/README.md CHANGED
@@ -23,6 +23,13 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
23
23
 
24
24
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version in `ci_toolkit.gemspec`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
25
25
 
26
+ ## Docker Install
27
+ If you've docker already [installed](https://docs.docker.com/docker-for-mac/install/) you can build and run the image to get started.
28
+
29
+ ```shell
30
+ docker-compose run app sh
31
+ ```
32
+
26
33
  ## Contributing
27
34
 
28
35
  Bug reports and pull requests are welcome on GitHub at https://github.com/crvshlab/ci_toolkit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/ci_toolkit/blob/master/CODE_OF_CONDUCT.md).
data/RELEASING.md ADDED
@@ -0,0 +1,7 @@
1
+ ### How to make a release
2
+
3
+ - Bump the version number in `Gemfile.lock` to the new version.
4
+ - Bump the version number in `ci_toolkit.gemspec` to the new version.
5
+ - `git commit -am "Version X.Y.Z."` (where X.Y.Z is the new version).
6
+ - `git tag -a X.Y.X -m "Version X.Y.Z"` (where X.Y.Z is the new version).
7
+ - `git push && git push --tags`.
data/ci_toolkit.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "ci_toolkit"
5
- spec.version = "1.6.1"
5
+ spec.version = "1.6.3"
6
6
  spec.authors = ["Gero Keller"]
7
7
  spec.email = ["gero.f.keller@gmail.com"]
8
8
 
@@ -0,0 +1,8 @@
1
+ version: '3'
2
+ services:
3
+ app:
4
+ build:
5
+ context: .
6
+ dockerfile: ./.devcontainer/Dockerfile
7
+ volumes:
8
+ - .:/opt/ci_toolkit
@@ -8,7 +8,8 @@ module CiToolkit
8
8
  def initialize(
9
9
  env = CiToolkit::BitriseEnv.new,
10
10
  build_types = ENV["BUILD_TYPES"]&.split(/,/) || ["BluetoothDemo", "Acceptance PreProd", "Acceptance Prod",
11
- "Latest Prod", "Latest PreProd", "Mock", "Design System"],
11
+ "Latest Prod", "Latest PreProd", "Mock", "Design System",
12
+ "Acceptance Prod DEBUG"],
12
13
 
13
14
  bot = CiToolkit::GitlabBot.new
14
15
  )
@@ -3,10 +3,12 @@
3
3
  require "gitlab"
4
4
 
5
5
  module CiToolkit
6
- # Utility class that provides an faraday connection
6
+ # Utility class that provides a faraday connection
7
7
  class SeeTestBot
8
8
  attr_reader :faraday_conn
9
9
 
10
+ TIMEOUT = 60
11
+
10
12
  # Provides a base url, an endpoint and an access token that can be used to
11
13
  # interact with the SeeTest web service
12
14
  class Credentials
@@ -24,6 +26,8 @@ module CiToolkit
24
26
  def initialize(
25
27
  credentials = CiToolkit::SeeTestBot::Credentials.new,
26
28
  faraday_conn = Faraday.new(url: credentials.base_url) do |f|
29
+ f.options.timeout = TIMEOUT
30
+ f.options.open_timeout = TIMEOUT
27
31
  f.request :authorization, "Bearer", credentials.access_token
28
32
  f.request :multipart
29
33
  f.request :url_encoded
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gero Keller
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-30 00:00:00.000000000 Z
11
+ date: 2023-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -226,10 +226,12 @@ files:
226
226
  - Gemfile.lock
227
227
  - LICENSE.txt
228
228
  - README.md
229
+ - RELEASING.md
229
230
  - Rakefile
230
231
  - bin/console
231
232
  - bin/setup
232
233
  - ci_toolkit.gemspec
234
+ - docker-compose.yml
233
235
  - duplicate_files_whitelist.txt
234
236
  - lib/ci_toolkit.rb
235
237
  - lib/ci_toolkit/bitrise_client.rb
@@ -260,7 +262,7 @@ metadata:
260
262
  source_code_uri: https://github.com/crvshlab/ci_toolkit
261
263
  changelog_uri: https://github.com/crvshlab/ci_toolkit/CHANGELOG.md
262
264
  rubygems_mfa_required: 'true'
263
- post_install_message:
265
+ post_install_message:
264
266
  rdoc_options: []
265
267
  require_paths:
266
268
  - lib
@@ -276,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
278
  version: '0'
277
279
  requirements: []
278
280
  rubygems_version: 3.4.10
279
- signing_key:
281
+ signing_key:
280
282
  specification_version: 4
281
283
  summary: Set of CI utilities
282
284
  test_files: []