mirror of https://github.com/pyodide/pyodide.git
Tag commits deployed on Circle CI and store artefacts in build
This commit is contained in:
parent
c36a044a03
commit
d574047a4d
|
@ -77,6 +77,9 @@ jobs:
|
||||||
- ./pyodide-env
|
- ./pyodide-env
|
||||||
- ./firefox
|
- ./firefox
|
||||||
|
|
||||||
|
- store_artifacts:
|
||||||
|
path: /home/circleci/repo/build/
|
||||||
|
|
||||||
test-firefox:
|
test-firefox:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
steps:
|
steps:
|
||||||
|
@ -111,9 +114,6 @@ jobs:
|
||||||
export PATH=$PWD/firefox:$PATH
|
export PATH=$PWD/firefox:$PATH
|
||||||
pytest test -v -k chrome
|
pytest test -v -k chrome
|
||||||
|
|
||||||
- store_artifacts:
|
|
||||||
path: /home/circleci/repo/build/
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
machine:
|
machine:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -7,7 +7,11 @@ git checkout --orphan tmp
|
||||||
git add *
|
git add *
|
||||||
git config --global user.email "deploybot@nowhere.com"
|
git config --global user.email "deploybot@nowhere.com"
|
||||||
git config --global user.name "Deploybot"
|
git config --global user.name "Deploybot"
|
||||||
git commit -m "Deployed from Circle-CI $CIRCLE_BUILD_NUM"
|
git commit -m << END
|
||||||
|
Deployed from Circle-CI $CIRCLE_BUILD_NUM"
|
||||||
|
|
||||||
|
Version $(git describe --tags --always)
|
||||||
|
END
|
||||||
git checkout master
|
git checkout master
|
||||||
git reset --hard tmp
|
git reset --hard tmp
|
||||||
git push origin -f master
|
git push origin -f master
|
||||||
|
|
Loading…
Reference in New Issue