forked from cdrx/docker-pyinstaller
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test gitlab ci * Added gitlab pipeline * Update gitlab ci * Added artifacts * Update artifacts paths * Update artifacts paths * Update artifacts paths * Update artifacts paths * Update artifacts paths * Added exampmple for all images * Update artifacts paths * Update artifacts paths * Added install requirements * Remove osx job * Added example for GitLab CI * Added example for GitLab CI * Update build jobs * Update artifacts paths --------- Co-authored-by: Fedor Batonogov <[email protected]>
- Loading branch information
1 parent
ac98dce
commit a9d4b5d
Showing
5 changed files
with
77 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ env: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ env: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ env: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
windows_bin: | ||
stage: deploy | ||
image: | ||
name: batonogov/pyinstaller-windows:latest | ||
entrypoint: [''] | ||
script: | ||
- echo "Creating Windows artifact" | ||
- pip install -r ./test/requirements.txt | ||
- cd ./test && pyinstaller --onefile main.py | ||
- cp ./dist/*.exe ../ | ||
rules: | ||
- when: always | ||
artifacts: | ||
paths: | ||
- '*.exe' | ||
when: always | ||
expire_in: 2 week | ||
|
||
linux_bin: | ||
stage: deploy | ||
image: | ||
name: batonogov/pyinstaller-linux:latest | ||
entrypoint: [''] | ||
script: | ||
- echo "Creating Linux artifact" | ||
- pip install -r ./test/requirements.txt | ||
- cd ./test && pyinstaller --onefile main.py | ||
rules: | ||
- when: always | ||
artifacts: | ||
paths: | ||
- ./test/dist/* | ||
when: always | ||
expire_in: 2 week | ||
|
||
linux_slim_bin: | ||
stage: deploy | ||
image: | ||
name: batonogov/pyinstaller-linux:latest-slim | ||
entrypoint: [''] | ||
script: | ||
- echo "Creating Linux artifact" | ||
- pip install -r ./test/requirements.txt | ||
- cd ./test && pyinstaller --onefile main.py | ||
rules: | ||
- when: always | ||
artifacts: | ||
paths: | ||
- ./test/dist/* | ||
when: always | ||
expire_in: 2 week |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters