rest-ftp-daemon 1.0.15 → 1.1.0

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
- SHA1:
3
- metadata.gz: acc6af653bd1b83732551408b79c4911b6e41cf3
4
- data.tar.gz: 4e6bd70a74cae3014051cefeb17f9651631d6e7b
2
+ SHA256:
3
+ metadata.gz: 1b0b277105c79b53c196223c9c6420a474c0226d8390ac9fd6bc2158532c3277
4
+ data.tar.gz: 0101016dbe3036ae6423fd1875b10e81417b34e428d52b95a3ecaa939b8c1546
5
5
  SHA512:
6
- metadata.gz: 3d59baea2867363ff294b5dfebb495ba6fbcc7cbec6040138ddc27169b7db8424105f7a2deac622eed162cea5a69475b9226113d24c5b2bbe9c4e8dcfb3a66f0
7
- data.tar.gz: 511b3b07f3fe03d79e0fd557130234ff0c48dafbf53d374e6204365282205d532b045d086a031bdf8450389785d5a9cbc64d5a0fefc649d6cb8e1e5c35b926c9
6
+ metadata.gz: 209789de6db62d6917230e09e0e03239cffa358dc99a6bc944938139e6ac8f245270ab4b1e34779bd87e289faebf07bc3850b68d10f7d8f4839c1f53e196da31
7
+ data.tar.gz: 5139bffcef81b825dab1a1a2fccfbaadfd8f1fbefc03b6d3b2efae1d8381503986163f7c3added33fe3416632077cf9abdbf17a270e12a176fb17ed75fd8e570
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,58 @@
1
+ variables:
2
+ PROJECT_BASE: registry.gitlab.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME
3
+ PORTNR_DEVELOP: https://ddec.cloudapp.net:9443/api/webhooks/306ab87c-cf6c-4adf-b289-7a99129022b7
4
+
5
+ stages:
6
+ - build
7
+ - release
8
+
9
+ .withdocker: &withdocker
10
+ image: docker:latest
11
+ services:
12
+ - docker:dind
13
+ before_script:
14
+ - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
15
+ - export IMAGE_BUILD="$PROJECT_BASE/builds:$CI_COMMIT_SHA"
16
+
17
+ .alias: &alias
18
+ <<: *withdocker
19
+ stage: release
20
+ script:
21
+ - docker pull $IMAGE_BUILD
22
+ - docker tag $IMAGE_BUILD $IMAGE_TO
23
+ - docker push $IMAGE_TO
24
+
25
+ build-docker:
26
+ <<: *withdocker
27
+ stage: build
28
+ script:
29
+ - docker build --pull -t $IMAGE_BUILD .
30
+ - docker push $IMAGE_BUILD
31
+
32
+ release-tag:
33
+ variables:
34
+ IMAGE_TO: $PROJECT_BASE/tag:$CI_COMMIT_REF_NAME
35
+ <<: *alias
36
+ only:
37
+ - tags
38
+
39
+ release-branch:
40
+ variables:
41
+ IMAGE_TO: $PROJECT_BASE/branch:$CI_COMMIT_REF_SLUG
42
+ <<: *alias
43
+ only:
44
+ - branches
45
+
46
+ release-develop:
47
+ variables:
48
+ IMAGE_TO: $PROJECT_BASE:develop
49
+ <<: *alias
50
+ only:
51
+ - develop
52
+
53
+ release-master:
54
+ variables:
55
+ IMAGE_TO: $PROJECT_BASE:latest
56
+ <<: *alias
57
+ only:
58
+ - master
data/Dockerfile CHANGED
@@ -20,8 +20,8 @@ RUN gem install bundler --no-rdoc --no-ri
20
20
  # Change to INSTALL_PATH and install base packages
21
21
  RUN mkdir -p $INSTALL_PATH
22
22
  WORKDIR $INSTALL_PATH
23
- ADD Gemfile $INSTALL_PATH
24
- ADD rest-ftp-daemon.gemspec $INSTALL_PATH
23
+ ADD Gemfile Gemfile.lock $INSTALL_PATH
24
+ ADD rest-ftp-daemon.gemspec $INSTALL_PATH
25
25
  RUN bundle install --system --without="development test" -j4
26
26
 
27
27
 
@@ -34,4 +34,4 @@ ADD . $INSTALL_PATH
34
34
 
35
35
  # App run
36
36
  EXPOSE 3000
37
- CMD ["bin/rest-ftp-daemon", "-e", "docker", "-c", "/etc/rftpd.yml", "-f", "start"]
37
+ CMD ["bundle", "exec", "bin/rest-ftp-daemon", "-e", "docker", "-c", "/config.yml", "-f", "start"]
@@ -0,0 +1,10 @@
1
+ rftpd:
2
+ # image: bmconseil/rest-ftp-daemon:latest
3
+ build: .
4
+ ports:
5
+ - '3001:3000'
6
+ volumes:
7
+ - ./local.yml:/config.yml
8
+ volumes:
9
+ - ./local.yml:/config.yml
10
+ - /Users/bruno/TRASH/rftpd:/mnt/rftpd/
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |spec|
3
3
 
4
4
  # Project version
5
- spec.version = "1.0.15"
5
+ spec.version = "1.1.0"
6
6
 
7
7
  # Project description
8
8
  spec.name = "rest-ftp-daemon"
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.required_ruby_version = ">= 2.3"
24
24
 
25
25
  # Development dependencies
26
- spec.add_development_dependency "bundler", "~> 1.6"
26
+ spec.add_development_dependency "bundler", "~> 1.11"
27
27
  spec.add_development_dependency "rake"
28
28
  spec.add_development_dependency "rspec"
29
29
  spec.add_development_dependency "rubocop"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-ftp-daemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-16 00:00:00.000000000 Z
11
+ date: 2019-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '1.11'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.6'
26
+ version: '1.11'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -426,6 +426,7 @@ files:
426
426
  - ".codeclimate.yml"
427
427
  - ".dockerignore"
428
428
  - ".gitignore"
429
+ - ".gitlab-ci.yml"
429
430
  - ".rspec"
430
431
  - ".rubocop.yml"
431
432
  - CODE_OF_CONDUCT.md
@@ -437,6 +438,7 @@ files:
437
438
  - bin/rest-ftp-daemon
438
439
  - config.ru
439
440
  - defaults.yml
441
+ - docker-compose.yml
440
442
  - lib/rest-ftp-daemon.rb
441
443
  - lib/rest-ftp-daemon/api/config.rb
442
444
  - lib/rest-ftp-daemon/api/dashboard.rb
@@ -562,7 +564,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
562
564
  version: '0'
563
565
  requirements: []
564
566
  rubyforge_project:
565
- rubygems_version: 2.6.8
567
+ rubygems_version: 2.7.6
566
568
  signing_key:
567
569
  specification_version: 4
568
570
  summary: RESTful transfer jobs daemon