Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #70 from Cosmian/develop
Browse files Browse the repository at this point in the history
Release version 1.3
  • Loading branch information
grydz authored Jun 19, 2024
2 parents 9bc4a9f + 3c08c1c commit 0f781bc
Show file tree
Hide file tree
Showing 94 changed files with 469 additions and 879,959 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ on:
tags:
- "*"

permissions:
contents: read
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/mse-cli

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -37,5 +44,3 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
print_hash: true
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}
80 changes: 40 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,46 +62,46 @@ jobs:
run: |
python -m pytest -m "not cloud and not home"
tests-cloud:
runs-on: [self-hosted, not-sgx]
needs: check
steps:
# Solve perm denied issue on GA
# see: https://github.com/actions/checkout/issues/211
- name: Chown user
run: |
echo $USER
echo $GITHUB_WORKSPACE
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v3

- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install '.[dev,deploy]'
- name: Run integration tests
env:
MSE_BASE_URL: "https://ci.backend.dev.mse.cosmian.com"
MSE_AUTH0_CLIENT_ID: "bx2WlLrS7qr35iyNqUVTs9jMo834o8mC"
MSE_AUTH0_DOMAIN_NAME: "https://console-dev.eu.auth0.com"
MSE_AUTH0_AUDIENCE: "https://console-dev.eu.auth0.com/api/v2/"
REFRESH_TOKEN: ${{ secrets.DEV_ALICE_REFRESH_TOKEN }}
MSE_TEST_DOMAIN_NAME: ${{ vars.DEV_MSE_TEST_DOMAIN_NAME }}
MSE_TEST_PRIVATE_KEY: ${{ secrets.DEV_MSE_TEST_PRIVATE_KEY }}
MSE_TEST_PUBLIC_KEY: ${{ vars.DEV_MSE_TEST_PUBLIC_KEY }}
MSE_CONF_PATH: ${{ github.workspace }}
run: |
echo 'email = "[email protected]"' > ${MSE_CONF_PATH}/login.toml
echo "refresh_token = \"${REFRESH_TOKEN}\"" >> ${MSE_CONF_PATH}/login.toml
echo "Running tests using ${MSE_BASE_URL}"
python -m pytest -m cloud
# tests-cloud:
# runs-on: [self-hosted, not-sgx]
# needs: check
# steps:
# # Solve perm denied issue on GA
# # see: https://github.com/actions/checkout/issues/211
# - name: Chown user
# run: |
# echo $USER
# echo $GITHUB_WORKSPACE
# sudo chown -R $USER:$USER $GITHUB_WORKSPACE
#
# - uses: actions/checkout@v3
#
# - name: Set up Python 3.8
# uses: actions/setup-python@v4
# with:
# python-version: 3.8
#
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install '.[dev,deploy]'
#
# - name: Run integration tests
# env:
# MSE_BASE_URL: "https://ci.backend.dev.mse.cosmian.com"
# MSE_AUTH0_CLIENT_ID: "bx2WlLrS7qr35iyNqUVTs9jMo834o8mC"
# MSE_AUTH0_DOMAIN_NAME: "https://console-dev.eu.auth0.com"
# MSE_AUTH0_AUDIENCE: "https://console-dev.eu.auth0.com/api/v2/"
# REFRESH_TOKEN: ${{ secrets.DEV_ALICE_REFRESH_TOKEN }}
# MSE_TEST_DOMAIN_NAME: ${{ vars.DEV_MSE_TEST_DOMAIN_NAME }}
# MSE_TEST_PRIVATE_KEY: ${{ secrets.DEV_MSE_TEST_PRIVATE_KEY }}
# MSE_TEST_PUBLIC_KEY: ${{ vars.DEV_MSE_TEST_PUBLIC_KEY }}
# MSE_CONF_PATH: ${{ github.workspace }}
# run: |
# echo 'email = "[email protected]"' > ${MSE_CONF_PATH}/login.toml
# echo "refresh_token = \"${REFRESH_TOKEN}\"" >> ${MSE_CONF_PATH}/login.toml
# echo "Running tests using ${MSE_BASE_URL}"
# python -m pytest -m cloud

tests-home:
runs-on: [self-hosted, sgx]
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/doc.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ TODO.md
examples
workspace
cosmian-signer-key.pem
documentation/*.pd
documentation/*.pdf

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down Expand Up @@ -131,9 +129,6 @@ venv.bak/
# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# CHANGELOG

## \[1.3\] - 2024-06-20

### Fixed

* [MSE Home] Bug with scaffold command (https://github.com/Cosmian/mse-cli/commit/32c8ee8fb6b4dd52871da2e2f2a8a860546c6662)
* [MSE Home] Bug with SAN as host on Azure (https://github.com/Cosmian/mse-cli/commit/80406e49cc2244f97ade957bb154a2fb7a83d7c5)
* [MSE Home] Bump `intel-sgx-ra` to fix Azure remote attestation (https://github.com/Cosmian/intel-sgx-ra/pull/13)
* [MSE Home] Bump major version of `docker` python package with bugfixes

### Added

* [MSE Home] Commands encrypt and unseal

### Updated

* [MSE Home] Homogenization of commands encrypt/decrypt and seal/unseal
* [Documentation] Reflecting the renaming of MSE to Cosmian Enclave
* [MSE Cloud] Some tests are disabled due to cloud infrastructure shutdown

## \[1.2\] - 2023-08-10

### Updated
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recursive-include src/mse_cli/template *
Loading

0 comments on commit 0f781bc

Please sign in to comment.