Skip to content
Snippets Groups Projects
Commit f4f57a0e authored by Anders Harrisson's avatar Anders Harrisson
Browse files

Add GitLab-CI pipeline configuration

JIRA INFRA-10424
parent ab451658
No related branches found
No related tags found
No related merge requests found
Pipeline #196705 passed
---
stages:
# - check
- build
# - test
# - analyse
- release
default:
tags:
- docker
build-package:
stage: build
image: python:3
before_script:
- python -m pip install build --user
script:
- python -m build
artifacts:
expire_in: 1 day
paths:
- dist/
release-package:
stage: release
image: python:3
before_script:
- python -m pip install twine --user
script:
- python -m twine upload dist/*
rules:
- if: $CI_PROJECT_PATH == "ics-infrastructure/netbox-awx-plugin" && $CI_COMMIT_TAG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment