Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try CircleCI Build #261

Merged
merged 39 commits into from
Jan 9, 2024
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
cb701a0
Try CircleCI Build
antares-sw Jan 8, 2024
4d219ee
Change image
antares-sw Jan 8, 2024
155639b
Fix architecture
antares-sw Jan 8, 2024
cab2749
Try CI
antares-sw Jan 8, 2024
c32ec9f
Add poetry
antares-sw Jan 8, 2024
0577bc9
Fix
antares-sw Jan 8, 2024
1bb0341
Try fix
antares-sw Jan 8, 2024
bccf976
Try sudo
antares-sw Jan 8, 2024
6391225
Try build in docker
antares-sw Jan 8, 2024
4b1552d
Try fix
antares-sw Jan 8, 2024
087075c
Fix
antares-sw Jan 8, 2024
ab04e7a
Hack
antares-sw Jan 8, 2024
574e010
Change working dir
antares-sw Jan 8, 2024
ebccd19
Fix
antares-sw Jan 8, 2024
7763f01
Try poetry
antares-sw Jan 8, 2024
f67bb27
Fix
antares-sw Jan 8, 2024
f12de6e
Add GIT_SHA
antares-sw Jan 8, 2024
0a5268d
Fix mac
antares-sw Jan 8, 2024
940093f
Fix
antares-sw Jan 8, 2024
6d7d03a
Fix mac
antares-sw Jan 8, 2024
bd62052
Fix mac
antares-sw Jan 8, 2024
3014c63
Fix mac
antares-sw Jan 8, 2024
8ba9fb7
Fix win
antares-sw Jan 8, 2024
b63d1f0
Add win orb
antares-sw Jan 8, 2024
aa2bc51
Fix
antares-sw Jan 8, 2024
aea48c0
Fix
antares-sw Jan 8, 2024
537d1b7
Fix
antares-sw Jan 8, 2024
b8ca825
Fix name
antares-sw Jan 8, 2024
239f710
Fix
antares-sw Jan 8, 2024
5fd9797
Add param
antares-sw Jan 8, 2024
3a4a6b2
Fix size
antares-sw Jan 8, 2024
7ed4fb6
Change size
antares-sw Jan 8, 2024
1f32bfd
Add tag
antares-sw Jan 8, 2024
554c6f0
Add self-hosted
antares-sw Jan 8, 2024
31de8a7
Add condition
antares-sw Jan 8, 2024
414a452
Fix upload
antares-sw Jan 8, 2024
8f2f5f9
Fix build
antares-sw Jan 9, 2024
a917c87
Fix
antares-sw Jan 9, 2024
25b0141
Fix build
antares-sw Jan 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
cp ${BUILD_FILE_NAME}.tar.gz /tmp/artifacts;
sha256sum ${BUILD_FILE_NAME}.tar.gz | head -c 64 > /tmp/artifacts/${BUILD_FILE_NAME}.sha256;

- OS: macos-11
- OS: self-hosted
PYTHON_VERSION: 3.10.13
BUILD_CMD: |
export PYTHONHASHSEED=42
export BUILD_FILE_NAME=operator-${RELEASE_VERSION}-darwin-amd64;
export BUILD_FILE_NAME=operator-${RELEASE_VERSION}-linux-arm64;
mkdir ${BUILD_FILE_NAME};
git rev-parse --short HEAD > GIT_SHA
poetry run pyinstaller \
Expand All @@ -39,6 +39,21 @@ jobs:
tar -zcvf ${BUILD_FILE_NAME}.tar.gz ${BUILD_FILE_NAME};
mkdir /tmp/artifacts;
cp ${BUILD_FILE_NAME}.tar.gz /tmp/artifacts;
sha256sum ${BUILD_FILE_NAME}.tar.gz | head -c 64 > /tmp/artifacts/${BUILD_FILE_NAME}.sha256;

- OS: macos-11
PYTHON_VERSION: 3.10.13
BUILD_CMD: |
export PYTHONHASHSEED=42
export BUILD_FILE_NAME=operator-${RELEASE_VERSION}-darwin-amd64;
mkdir ${BUILD_FILE_NAME};
git rev-parse --short HEAD > GIT_SHA
poetry run pyinstaller \
--distpath ./${BUILD_FILE_NAME} \
./operator.spec;
tar -zcvf ${BUILD_FILE_NAME}.tar.gz ${BUILD_FILE_NAME};
mkdir /tmp/artifacts || true;
cp -f ${BUILD_FILE_NAME}.tar.gz /tmp/artifacts;
shasum -a 256 ${BUILD_FILE_NAME}.tar.gz | head -c 64 > /tmp/artifacts/${BUILD_FILE_NAME}.sha256

- OS: windows-latest
Expand All @@ -64,11 +79,13 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.PYTHON_VERSION }}
if: matrix.os != 'self-hosted'

- name: Install Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "1.6.1"
if: matrix.os != 'self-hosted'

- name: Install dependencies
run: poetry install --no-interaction --no-root
Expand Down Expand Up @@ -113,6 +130,8 @@ jobs:
files: |
/tmp/artifacts/ubuntu-20.04/operator-${{ steps.get_version.outputs.VERSION }}-linux-amd64.tar.gz
/tmp/artifacts/ubuntu-20.04/operator-${{ steps.get_version.outputs.VERSION }}-linux-amd64.sha256
/tmp/artifacts/self-hosted/operator-${{ steps.get_version.outputs.VERSION }}-linux-arm64.tar.gz
/tmp/artifacts/self-hosted/operator-${{ steps.get_version.outputs.VERSION }}-linux-arm64.sha256
/tmp/artifacts/macos-11/operator-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz
/tmp/artifacts/macos-11/operator-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.sha256
/tmp/artifacts/windows-latest/operator-${{ steps.get_version.outputs.VERSION }}-windows-amd64.zip
Expand Down
Loading