diff --git a/.github/workflows/publish_package.yaml b/.github/workflows/publish_package.yaml new file mode 100644 index 0000000000..cbdd76e8ee --- /dev/null +++ b/.github/workflows/publish_package.yaml @@ -0,0 +1,42 @@ +name: Publish fidesctl + +on: + push: + tags: + - "*" + +jobs: + upload_to_pypi: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Install Twine + run: pip install twine + + - name: Twine Upload + run: | + cd fidesctl/ + python setup.py sdist + twine upload dist/* + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} + + upload_to_conda: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install Anaconda + uses: conda-incubator/setup-miniconda@v2 + with: + auto-activate-base: true + activate-environment: "" + - name: Conda Upload + shell: bash -l {0} + run: | + conda install conda-build + conda install anaconda-client + conda install conda-verify + conda build --output-folder ./conda-out/ ./fidesctl/conda/ -c plotly -c conda-forge + anaconda -t "${{ secrets.CONDA_TOKEN }}" upload -u ethyca ./conda-out/noarch/fidesctl*.bz2 diff --git a/.github/workflows/publish_pypi.yaml b/.github/workflows/publish_pypi.yaml deleted file mode 100644 index 4d357eb140..0000000000 --- a/.github/workflows/publish_pypi.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: Publish the CLI on PyPI - -on: - push: - tags: - - "*" - -jobs: - upload_to_pypi: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Install Twine - run: pip install twine - - - name: Twine Upload - run: | - cd fidesctl/ - python setup.py sdist - twine upload dist/* - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} diff --git a/.gitignore b/.gitignore index 5435b8020f..c67ca6003c 100644 --- a/.gitignore +++ b/.gitignore @@ -122,6 +122,7 @@ wheels/ .installed.cfg *.egg MANIFEST +conda-out/ # PyInstaller # Usually these files are written by a python script from a template diff --git a/README.md b/README.md index 84a80f1969..c2ef13d2c2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Meet Fidesctl: Privacy Policies as Code -[![Latest Version][pypi-image]][pypi-url] +[![Latest Release Version][release-image]][release-url] [![License][license-image]][license-url] [![Code style: black][black-image]][black-url] [![Checked with mypy][mypy-image]][mypy-url] @@ -223,12 +223,12 @@ Read about the [Fides community](https://ethyca.github.io/fides/community/hints_ ## :balance_scale: License The Fides ecosystem of tools ([Fidesops](https://github.com/ethyca/fidesops) and [Fidesctl](https://github.com/ethyca/fides)) are licensed under the [Apache Software License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). -Fides tools are built on [Fideslang](https://github.com/ethyca/privacy-taxonomy), the Fides language specification, which is licensed under [CC by 4](https://github.com/ethyca/privacy-taxonomy/blob/main/LICENSE). +Fides tools are built on [Fideslang](https://github.com/ethyca/privacy-taxonomy), the Fides language specification, which is licensed under [CC by 4](https://github.com/ethyca/privacy-taxonomy/blob/main/LICENSE). Fides is created and sponsored by Ethyca: a developer tools company building the trust infrastructure of the internet. If you have questions or need assistance getting started, let us know at fides@ethyca.com! -[pypi-image]: https://img.shields.io/pypi/v/fidesctl.svg -[pypi-url]: https://pypi.python.org/pypi/fidesctl/ +[release-image]: https://img.shields.io/github/release/ethyca/fides.svg +[release-url]: https://github.com/ethyca/fides/releases [license-image]: https://img.shields.io/:license-Apache%202-blue.svg [license-url]: https://www.apache.org/licenses/LICENSE-2.0.txt [black-image]: https://img.shields.io/badge/code%20style-black-000000.svg diff --git a/docs/fides/docs/cli/generate-dataset.md b/docs/fides/docs/cli/generate-dataset.md deleted file mode 100644 index d32b205bca..0000000000 --- a/docs/fides/docs/cli/generate-dataset.md +++ /dev/null @@ -1,53 +0,0 @@ -
fidesctl generate-dataset connection_string output_filename
- generate-dataset
command reads one more schemas from a database by executing the connection_string
statement, transforms the schemas into Dataset resources, and writes the Datasets (as YAML) to output_filename
.
-
- The connection to your database isn't dynamic. If you update your database schemas, you have to re-generate (or modify) your Dataset objects.
-
- .yml
or .yaml
extension.
-
-