{"id":20008228,"url":"https://github.com/kirbo/node8-rsync-python-ssh","last_synced_at":"2026-04-09T12:43:33.926Z","repository":{"id":91638363,"uuid":"184291397","full_name":"Kirbo/node8-rsync-python-ssh","owner":"Kirbo","description":"Node 8 container with rsync, python and ssh support","archived":false,"fork":false,"pushed_at":"2019-11-12T12:58:12.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T14:24:42.635Z","etag":null,"topics":["docker","git","nodejs","python","rsync","ssh-support"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kirbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-30T15:56:12.000Z","updated_at":"2019-11-22T13:34:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa0342d8-c449-426a-b252-627978bbe335","html_url":"https://github.com/Kirbo/node8-rsync-python-ssh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirbo%2Fnode8-rsync-python-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirbo%2Fnode8-rsync-python-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirbo%2Fnode8-rsync-python-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirbo%2Fnode8-rsync-python-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kirbo","download_url":"https://codeload.github.com/Kirbo/node8-rsync-python-ssh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241446576,"owners_count":19964187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","git","nodejs","python","rsync","ssh-support"],"created_at":"2024-11-13T07:08:56.031Z","updated_at":"2025-12-30T22:32:51.608Z","avatar_url":"https://github.com/Kirbo.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-node-8-rsync-python-ssh\nNode 8 container with rsync, python and ssh support\n\n## Links\n\n- [GitLab repository](https://gitlab.com/kirbo/node8-rsync-python-ssh)\n- [GitHub repository](https://github.com/kirbo/node8-rsync-python-ssh)\n- [Docker repository](https://hub.docker.com/repository/docker/kirbownz/node8-rsync-python-ssh)\n\n## Example how to use this image in GitLab CI/CD\n\n1. Create file `.gitlab-ci.yml`, e.g.:\n\n```yml\nimage: kirbownz/node8-rsync-python-ssh\n\n###### STAGES #################################################################\nstages:\n  - install\n  - test\n  - build\n  - deploy\n\n###### TEMPLATES ##############################################################\n.general: \u0026general\n  variables:\n    GIT_STRATEGY: fetch\n\nvariables:\n  # Docker in Docker variables\n  DOCKER_HOST: \"tcp://docker:2375\"\n\n###### JOBS ###################################################################\ninstall:\n  \u003c\u003c: *general\n  stage: install\n  artifacts:\n    paths:\n      - node_modules\n    expire_in: 1 day\n  script:\n    - rm yarn.lock\n    - yarn\n\ntest:\n  \u003c\u003c: *general\n  stage: test\n  dependencies:\n    - install\n  script:\n    - yarn test\n\nbuild:\n  \u003c\u003c: *general\n  stage: build\n  dependencies:\n    - install\n  artifacts:\n    paths:\n      - build\n    expire_in: 1 week\n  script:\n    - yarn build\n\ndeployment:\n  \u003c\u003c: *general\n  stage: deploy\n  dependencies:\n    - build\n  script:\n    - mkdir -p ~/.ssh\n    - echo \"${ssh_key}\" \u003e ~/.ssh/id_rsa\n    - chmod 700 ~/.ssh\n    - chmod 600 ~/.ssh/id_rsa\n    - echo \"${gitconfig}\" \u003e ~/.gitconfig\n    - ssh-keyscan -t rsa ${demo_host} \u003e\u003e ~/.ssh/known_hosts\n    - rsync build/ ${demo_user}@${demo_host}:${demo_path} --delete-after -r -v\n```\n\n2. Add the variables above in GitLab -\u003e Project -\u003e Settings -\u003e CI / CD -\u003e Variables:\n\n| Type | Key | Value | Protected | Masked | Scope |\n|------|-----|-------|-----------|--------|-------|\n| Variable | `demo_host` | `example.com` | - | - | All environments |\n| Variable | `demo_path` | `~/project/dist/` | - | - | All environments |\n| Variable | `demo_user` | `user` | - | - | All environments |\n| Variable | `gitconfig` | `[user]`\u003cbr\u003e`name = Firstname Lastname`\u003cbr\u003e`email = email@me.com` | - | - | All environments |\n| Variable | `ssh_key` | `-----BEGIN RSA...` | - | - | All environments |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirbo%2Fnode8-rsync-python-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirbo%2Fnode8-rsync-python-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirbo%2Fnode8-rsync-python-ssh/lists"}