Comments (5)
@oiricaud, could you provide more information on this particular issue on how to reproduce this issue or when this error was seen. Thanks.
from devops-demo-pipelines.
Upon using the ./run.sh
script and creating a new release such as:
**************************************************************************
🦄 Do you want to
1) Set up environment, containerzied pipelines and release them to a registry?
2) Add, commit and push your latest changes to github?
3) Create a git release for your pipelines?
4) Upload an asset to a git release version?
5) Update the Kabanero CR custom resource with a release?
6) Add a stable pipeline release version to the Kabanero custom resource?
enter a number > 4
**************************************************************************
================ BEGIN UPLOADING ASSET ====================================
**************************************************************************
Upload asset to what version? i.e v1.0 : v1.26
curl: (3) URL using bad/illegal format or missing URL
However... the file does indeed get uploaded
Upload asset to what version? i.e v1.0 : v1.26
curl: (3) URL using bad/illegal format or missing URL
{"url":"https://api.github.com/repos/ibm-cloud-architecture/devops-demo-kabanero-pipelines/releases/assets/21289031","id":21289031,"node_id":"MDEyOlJlbGVhc2VBc3NldDIxMjg5MDMx","name":"default-kabanero-pipelines.tar.gz","label":"","uploader":{"login":"oiricaud","id":11867058,"node_id":"MDQ6VXNlcjExODY3MDU4","avatar_url":"https://avatars2.githubusercontent.com/u/11867058?v=4","gravatar_id":"","url":"https://api.github.com/users/oiricaud","html_url":"https://github.com/oiricaud","followers_url":"https://api.github.com/users/oiricaud/followers","following_url":"https://api.github.com/users/oiricaud/following{/other_user}","gists_url":"https://api.github.com/users/oiricaud/gists{/gist_id}","starred_url":"https://api.github.com/users/oiricaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oiricaud/subscriptions","organizations_url":"https://api.github.com/users/oiricaud/orgs","repos_url":"https://api.github.com/users/oiricaud/repos","events_url":"https://api.github.com/users/oiricaud/events{/privacy}","received_events_url":"https://api.github.com/users/oiricaud/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":8920,"download_count":0,"created_at":"2020-06-02T13:43:47Z","updated_at":"2020-06-02T13:43:48Z","browser_download_url":"https://github.com/ibm-cloud-architecture/devops-demo-kabanero-pipelines/releases/download/v1.26/default-kabanero-pipelines.tar.gz"}**************************************************************************
from devops-demo-pipelines.
This issue has been resolved by replacing the following line
curl "$GITHUB_OAUTH_BASIC" --data-binary @"$filename" -H "Authorization: token $TOKEN" -H "Content-Type: application/octet-stream" "$GH_ASSET"
with the following:
curl --data-binary @$filename -H "Authorization: token $TOKEN" -H "Content-Type: $(file -b --mime-type $filename)" "$GH_ASSET"
from devops-demo-pipelines.
View the pull request here #32
from devops-demo-pipelines.
Merged PR.
from devops-demo-pipelines.
Related Issues (20)
- package-release-update-pl is not passing because of daemon issue HOT 2
- if org name has dashes, the sed is not getting the url of the repo name HOT 2
- step 5 updating kabanero CR is not updating correctly HOT 1
- step 6 is not working and the user is not able to add pipelines to the Kabenero CR HOT 1
- Remove manifest file HOT 1
- Infinite pipeline runs get created when using the pipeline manager HOT 1
- gitops.yaml task is currently causing the pipeline to break HOT 1
- Unable to patch the kabanero instance HOT 3
- For mcm pipeline, Kabanero CRD wrapped as deployable is deleted after a pipeline run HOT 1
- Move the git-package-release-pl from experimental to incubator to
- Include a problem statement in the README.md file
- Create a new pipeline to deploy applications on cloud foundry
- Ibmcloud cf install layer not sticking in docker HOT 1
- Generate gitops task for flat file kubernetes deployment.yaml
- Update default Kabanero pipelines to include additional stages HOT 8
- Add section on how to bound pipelines onto kabanero stacks
- Add section how to create a custom stack with kabanero
- Include tutorial on how to use git-package-release-pl
- When using /bin/sh the create-release-for-git-task breaks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devops-demo-pipelines.