Instanciate the RPC at initialization
This commit is contained in:
@@ -28,7 +28,7 @@ build:
|
|||||||
extends: .parallel
|
extends: .parallel
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
- if: $CI_MERGE_REQUEST_ID
|
- if: $CI_MERGE_REQUEST_ID && $CI_MERGE_REQUEST_APPROVED != "true"
|
||||||
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_PIPELINE == "weekly-build"
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_PIPELINE == "weekly-build"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@@ -52,7 +52,7 @@ test:
|
|||||||
- TARGET: unstable
|
- TARGET: unstable
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
- if: $CI_MERGE_REQUEST_ID
|
- if: $CI_MERGE_REQUEST_ID && $CI_MERGE_REQUEST_APPROVED != "true"
|
||||||
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_PIPELINE == "weekly-build"
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_PIPELINE == "weekly-build"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@@ -144,4 +144,4 @@ weekly-build-scheduler:
|
|||||||
|
|
||||||
code_quality:
|
code_quality:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_MERGE_REQUEST_ID
|
- if: $CI_MERGE_REQUEST_ID && $CI_MERGE_REQUEST_APPROVED != "true"
|
||||||
|
|||||||
13
CHANGELOG.md
13
CHANGELOG.md
@@ -18,14 +18,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
[tag]: url_to_tag
|
[tag]: url_to_tag
|
||||||
-->
|
-->
|
||||||
|
|
||||||
## [3.0.1]
|
## [3.1.0] - 2024/06/02
|
||||||
|
### Changed
|
||||||
|
- Disable pipelines on approved merge requests
|
||||||
|
### Fixed
|
||||||
|
- Instanciate the RPC client at the initialization (#63)
|
||||||
|
|
||||||
|
[3.1.0]: https://gitlab.com/florian.anceau/docker-seafile-client/-/tags/3.1.0
|
||||||
|
<!-- /3.1.0 -->
|
||||||
|
|
||||||
|
## [3.0.1] - 2024/05/27
|
||||||
### Added
|
### Added
|
||||||
* New script to schedule the best possible time to run the build. It relies on WattTime Load Shift feature (#56)
|
* New script to schedule the best possible time to run the build. It relies on WattTime Load Shift feature (#56)
|
||||||
* Weekly build through pipeline schedules. (#56)
|
* Weekly build through pipeline schedules. (#56)
|
||||||
### Changed
|
### Changed
|
||||||
* Every links pointing to the previous repository flwgns-docker/seafile-client are pointing now to florian.anceau/docker-seafile-client. (#56)
|
* Every links pointing to the previous repository flwgns-docker/seafile-client are pointing now to florian.anceau/docker-seafile-client. (#56)
|
||||||
|
|
||||||
[3.0.1]: https://gitlab.com/florian.anceau/docker-seafile-client/-/tags/3.0.1
|
[3.0.1]: https://gitlab.com/florian.anceau/docker-seafile-client/-/tags/3.0.1
|
||||||
<!-- /3.0.1 -->
|
<!-- /3.0.1 -->
|
||||||
|
|
||||||
## [3.0.0] - 2024/03/16
|
## [3.0.0] - 2024/03/16
|
||||||
|
|||||||
@@ -145,6 +145,8 @@ class Client:
|
|||||||
logger.debug("Waiting for the Seafile client socket to be created.")
|
logger.debug("Waiting for the Seafile client socket to be created.")
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
|
self.rpc = seafile.RpcClient(str(self.socket))
|
||||||
|
|
||||||
def configure(self):
|
def configure(self):
|
||||||
command = self.binary + ["config"]
|
command = self.binary + ["config"]
|
||||||
if self.skip_ssl_cert:
|
if self.skip_ssl_cert:
|
||||||
|
|||||||
Reference in New Issue
Block a user