clinical-genomics / cg-deployment Goto Github PK
View Code? Open in Web Editor NEWClinical Genomics software deployment API
License: MIT License
Clinical Genomics software deployment API
License: MIT License
The action to deploy in stage seems not to deploy.
Action reports that it succeeds, tested twice with some time in between:
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'
Set target_url
on statuses depending on environment
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.