question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable deploy to rancher

See original GitHub issue

Hi

I have this error on my gitlab deploy pipeline

this is my deploy script

image: docker:latest
 services:
  - docker:dind
.......


deploy_devel:
  stage: deploy
  tags:
      - docker
  environment:
    name: develop
  image: cdrx/rancher-gitlab-deploy
  script:
    - upgrade --rancher-url $URL --rancher-key $MASTER_ACCESS_KEY --rancher-secret $MASTER_SECRET_KEY --stack testing --service web

Any idea why this happens?

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
cdrxcommented, May 4, 2017

Do you have a before_script with ‘docker info’ in it? That command won’t work in the rancher-gitlab-deploy container

1reaction
cdrxcommented, Jul 29, 2017

Remove your before_script. You must put docker login as a step in each build stage.

rancher-gitlab-deploy doesn’t have the docker command in it, so it will fail.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to deploy from private registry - Rancher Labs
Hello, I deployed RKE2 following the instructions and everything appears to be up and running. After deploying I added the registry to each ......
Read more >
Cannot deploy any workload on Rancher: master · Issue #18409
run Rancher: master; add a cluster (in my case, it is DO and EC2); launch any catalog app form the built-in chart list....
Read more >
Deploying Workloads | Rancher Manager
Read this step by step guide for deploying workloads. Deploy a workload to run an application in one or more containers.
Read more >
FAQ - Rancher Desktop Docs
A: Yes, but they cannot be run at the same time as both Rancher Desktop and Docker ... Q: I don't need the...
Read more >
Steps to install SUSE Rancher server on a Kubernetes cluster
This white paper provides guidance about the deployment of a SUSE Rancher and Rancher Kubernetes Engine 2 (RKE2) cluster on to Dell Technologies...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found