Skip to content

Instantly share code, notes, and snippets.

@hgautam
Last active July 24, 2020 17:58
Show Gist options
  • Save hgautam/27023f41741dcf25b2c75f418b10626c to your computer and use it in GitHub Desktop.
Save hgautam/27023f41741dcf25b2c75f418b10626c to your computer and use it in GitHub Desktop.
Clean up staging requirements.yml

Remove old dependencies from requirements.yaml

Staging env dependencies are stored inside: environment-cluster-name-staging repository. You can make changes by accessing this repository on GitHub UI.

The file we want to edit is called requirements.yaml and is located inside env directory. The contents of this should be similar to this:

dependencies:
  - alias: expose
    name: exposecontroller
    repository: http://chartmuseum.jenkins-x.io
    version: 2.3.118

  - alias: cleanup
    name: exposecontroller
    repository: http://chartmuseum.jenkins-x.io
    version: 2.3.118

If you see any additional entries below the above mentioned lines. For example,

  - name: my-golang
    repository: http://jenkins-x-chartmuseum:8080
    version: 0.0.1

Please remove the additional entries and ensure this file has expose and cleanup alias entries only. Save and commit the file after deleting additional entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment