Unable to build docker images from CI/CD #371

Closed
opened 2022-05-19 17:20:21 +00:00 by serkixenos · 6 comments
serkixenos commented 2022-05-19 17:20:21 +00:00 (Migrated from gitlab.com)

Example
https://gitlab.com/PBSA/peerplays/-/jobs/2480525226

Server:
ERROR: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info": dial unix /var/run/docker.sock: connect: permission denied
errors pretty printing info
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: exit status 1
Example https://gitlab.com/PBSA/peerplays/-/jobs/2480525226 ``` Server: ERROR: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/info": dial unix /var/run/docker.sock: connect: permission denied errors pretty printing info Cleaning up project directory and file based variables 00:00 ERROR: Job failed: exit status 1 ```
serkixenos commented 2022-05-19 17:20:21 +00:00 (Migrated from gitlab.com)

assigned to @rilesdun

assigned to @rilesdun
rilesdun commented 2022-05-19 23:53:28 +00:00 (Migrated from gitlab.com)

Permission denied error is fixed @serkixenos - Looks like it is now complaining about the update to the variable here:

dockerize-mainnet:
  stage: dockerize
  dependencies:
    - test-mainnet
  variables:
    IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG"_mainnet":$CI_COMMIT_SHA

and here:

dockerize-testnet:
  stage: dockerize
  dependencies:
    - test-testnet
  variables:
    IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG"_testnnet":$CI_COMMIT_SHA

You can see its no longer the permission error issue: https://gitlab.com/PBSA/peerplays/-/jobs/2481193876

Try running again without adding this the _mainnet and _testnet references

Permission denied error is fixed @serkixenos - Looks like it is now complaining about the update to the variable here: ``` dockerize-mainnet: stage: dockerize dependencies: - test-mainnet variables: IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG"_mainnet":$CI_COMMIT_SHA ``` and here: ``` dockerize-testnet: stage: dockerize dependencies: - test-testnet variables: IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG"_testnnet":$CI_COMMIT_SHA ``` You can see its no longer the permission error issue: https://gitlab.com/PBSA/peerplays/-/jobs/2481193876 Try running again without adding this the `_mainnet` and `_testnet` references
hbelakon commented 2022-05-20 00:04:46 +00:00 (Migrated from gitlab.com)

changed epic to &543

changed epic to &543
serkixenos commented 2022-05-20 15:27:34 +00:00 (Migrated from gitlab.com)

mentioned in merge request !117

mentioned in merge request !117
serkixenos commented 2022-05-22 23:31:37 +00:00 (Migrated from gitlab.com)

Resolved, with some new build options
https://gitlab.com/PBSA/peerplays/-/merge_requests/117

Resolved, with some new build options https://gitlab.com/PBSA/peerplays/-/merge_requests/117
serkixenos commented 2022-05-22 23:31:51 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
serkixenos (Migrated from gitlab.com) closed this issue 2022-05-22 23:32:03 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#371
No description provided.