Page MenuHomeDevCentral

Set access rights for private staging repository submodules
Closed, ResolvedPublic

Description

Seems the deploy SSH key wasn't added to private repositories we manage:

----------
          ID: staging_private_repository
    Function: git.latest
        Name: ssh://vcs@devcentral.nasqueron.org:5022/source/private-staging.git
      Result: False
     Comment: Failed to update submodules: Unable to authenticate using identity file:

              Submodule 'wwwroot/dereckson.be/watai' (git@bitbucket.org:dereckson/watai.dereckson.be.git) registered for path 'wwwroot/dereckson.be/watai'

Event Timeline

dereckson renamed this task from Clone private repository to Set access rights for private staging repository submodules.Jan 24 2020, 19:27
dereckson claimed this task.
dereckson triaged this task as High priority.
dereckson created this task.
$ salt windriver state.sls_id staging_private_repository roles/saltmaster/staging
windriver:
----------
          ID: staging_private_repository
    Function: file.directory
        Name: /opt/salt/private/staging
      Result: True
     Comment: Directory /opt/salt/private/staging updated
     Started: 01:42:15.402422
    Duration: 5.32 ms
     Changes:
              ----------
              /opt/salt/private/staging:
                  New Dir
----------
          ID: staging_private_repository
    Function: git.latest
        Name: ssh://vcs@devcentral.nasqueron.org:5022/source/private-staging.git
      Result: True
     Comment: ssh://vcs@devcentral.nasqueron.org:5022/source/private-staging.git cloned to /opt/salt/private/staging
     Started: 01:42:15.414312
    Duration: 58070.73 ms
     Changes:
              ----------
              new:
                  ssh://vcs@devcentral.nasqueron.org:5022/source/private-staging.git => /opt/salt/private/staging
              revision:
                  ----------
                  new:
                      3668bc40de3ee19269b4a54933bce73e7d86deb2
                  old:
                      None

Summary for windriver
------------
Succeeded: 2 (changed=2)
Failed:    0
------------
Total states run:     2
Total run time:  58.076 s