Skip to main content

Upload to Nexus, Upload files to hooks, Modify version number, Sync to GitLab type repository

Project description

Upload to Nexus, Upload files to hooks, Modify version number, Sync to GitLab type repository

Installation

You can download and install the latest version of this software from the Python package index (PyPI) as follows::

pip install --upgrade artify

Usage

python -m artify --help=

python -m artify --command <command> [Options]

or python -m artify -c [Options]

Params

command     nexus, syncrepo, deploy, deltav

Upload to Nexus

python -m artify -c nexus -f <format> -n <artifact_name> -h <nexus_repository_base_url>

Params format         Nexus upload format. Types supported: raw, npm, maven

Deploy App using custom AWX host

python -m artify -c deploy -f <manifest_file.yml> -h <awx_host>

Change Package version

Artify uses semantic version 2.0.

python -m artify -c deltav -t patch -a npm

Params -a, --archtype         npm, gradle, flutter

-t, --type               major, minor, patch

Push changes to GitLab repository

Recommendation: You can create a feature branch, then perform your code changes before pushing changes to remote

python -m artify -c syncrepo -m <message> -b 

Params -c, --message         Commit message -b, --branch           Optional, by default, it will push to 'develop' branch

Environment variables need

PRIVATE_TOKEN, popularly known as personal access token is needed to perform the push. This can be created by following this guide: Creating a personal access token

N.B A commit is performed automatically followed by a push

Generate Template files

Generate template .gitlab-ci.yml file

python -m artify -c create -f gitlabci

Geneate template manifest.yml file

python -m artify -c create -f manifest

Params -f, --file         File template to generate

Supported files

  • .gitlab-ci.yml
  • manifest.yml

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

artify-1.3.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

artify-1.3.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file artify-1.3.1.tar.gz.

File metadata

  • Download URL: artify-1.3.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for artify-1.3.1.tar.gz
Algorithm Hash digest
SHA256 e91be13224dee5dde53fefe2bcb0ea21a2f9d143e792fb9839ffa6f40a0c7f4d
MD5 40774b473e1f6ad118ebfd4ca7d746c1
BLAKE2b-256 190b131bf2ff3531c4ff2f4985dd49b967cb618fb479040fd6f1b08a77f7ead8

See more details on using hashes here.

File details

Details for the file artify-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: artify-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for artify-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 babf23d2ecbc50f8e018974f260467ae4a589a4bc7575313b5689ca15bb89e43
MD5 69d4174b2cd7991499a7e4e2d28f047c
BLAKE2b-256 f6c578b81e746ca8c76735920f3d808a1f8841b323ad27c4b03c566669b9bb51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page