GithubHelp home page GithubHelp logo

cg-deployment's People

Contributors

clingen-sthlm avatar mropat avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cg-deployment's Issues

action to deploy in stage should deploy

The action to deploy in stage seems not to deploy.

Action reports that it succeeds, tested twice with some time in between:
image

The log indicates that it is the wrong code still running:

Dec 20 09:45:39 cg-vm1.scilifelab.se conmon[169176]:   File "/home/src/app/cg/server/admin.py", line 27, in view_human_priority
Dec 20 09:45:39 cg-vm1.scilifelab.se conmon[169176]:     return Markup("%s" % (model.priority_human)) if model else ""
Dec 20 09:45:39 cg-vm1.scilifelab.se conmon[169176]:   File "/home/src/app/cg/store/models.py", line 46, in priority_human
Dec 20 09:45:39 cg-vm1.scilifelab.se conmon[169176]:     return REV_PRIORITY_MAP[self.priority]
Dec 20 09:45:39 cg-vm1.scilifelab.se conmon[169176]: KeyError: 'standard'

Deploying cg stage/production fails

image

Run curl \
  curl \
    --fail \
    -X POST \
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: token ***" \
    https://api.github.com/repos/Clinical-Genomics/***/deployments \
    -d '{
    "ref": "master",
    "environment": "stage",
    "auto_merge": false,
    "description": "***"}'
  shell: /usr/bin/bash -e {0}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    92    0     0  100    92      0    368 --:--:-- --:--:-- --:--:--   369
curl: (22) The requested URL returned error: 409 
Error: Process completed with exit code 22.

image


Run curl \
  curl \
    --fail \
    -X POST \
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: token ***" \
    https://api.github.com/repos/Clinical-Genomics/***/deployments \
    -d '{
    "ref": "v22.45.0",
    "environment": "production",
    "auto_merge": false,
    "description": "***"}'
  shell: /usr/bin/bash -e {0}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    99    0     0  100    99      0    462 --:--:-- --:--:-- --:--:--   462
curl: (22) The requested URL returned error: 409 
Error: Process completed with exit code 22.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.