Remove references to old github
Remove references in documentation to openstack-charmers repos. Remove github workflows. Add .gitreview file Add .zuul.yaml file Update packages in requirements file to point to opendev.org instead of github.com Change-Id: Ib543914efb5c7196441e496db1fb1fe5bf5119d5
This commit is contained in:
parent
4c362fa47a
commit
2fb7ca1182
27
charms/neutron-k8s/.github/workflows/tox.yaml
vendored
27
charms/neutron-k8s/.github/workflows/tox.yaml
vendored
@ -1,27 +0,0 @@
|
|||||||
name: Python package
|
|
||||||
|
|
||||||
on:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
python-version: [3.8, 3.9]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: ${{ matrix.python-version }}
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install tox tox-gh-actions
|
|
||||||
- name: Lint with tox
|
|
||||||
run: tox -e pep8
|
|
||||||
- name: Test with tox
|
|
||||||
run: tox -e py${{ matrix.python-version }}
|
|
5
charms/neutron-k8s/.gitreview
Normal file
5
charms/neutron-k8s/.gitreview
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[gerrit]
|
||||||
|
host=review.opendev.org
|
||||||
|
port=29418
|
||||||
|
project=openstack/charm-neutron-k8s.git
|
||||||
|
defaultbranch=main
|
4
charms/neutron-k8s/.zuul.yaml
Normal file
4
charms/neutron-k8s/.zuul.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
- project:
|
||||||
|
templates:
|
||||||
|
- openstack-python3-charm-yoga-jobs
|
||||||
|
- openstack-cover-jobs
|
@ -52,4 +52,4 @@ To deploy the local test instance:
|
|||||||
|
|
||||||
<!-- LINKS -->
|
<!-- LINKS -->
|
||||||
|
|
||||||
[sunbeam-docs]: https://github.com/openstack-charmers/advanced-sunbeam-openstack/blob/main/README.rst
|
[sunbeam-docs]: https://opendev.org/openstack/charm-ops-sunbeam/src/branch/main/README.rst
|
||||||
|
@ -64,7 +64,7 @@ Please report bugs on [Launchpad][lp-bugs-charm-neutron-k8s].
|
|||||||
|
|
||||||
<!-- LINKS -->
|
<!-- LINKS -->
|
||||||
|
|
||||||
[contributors-guide]: https://github.com/openstack-charmers/charm-neutron-operator/blob/main/CONTRIBUTING.md
|
[contributors-guide]: https://opendev.org/openstack/charm-neutron-k8s/src/branch/main/CONTRIBUTING.md
|
||||||
[juju-docs-actions]: https://jaas.ai/docs/actions
|
[juju-docs-actions]: https://jaas.ai/docs/actions
|
||||||
[juju-docs-config-apps]: https://juju.is/docs/configuring-applications
|
[juju-docs-config-apps]: https://juju.is/docs/configuring-applications
|
||||||
[lp-bugs-charm-neutron-k8s]: https://bugs.launchpad.net/charm-neutron-k8s/+filebug
|
[lp-bugs-charm-neutron-k8s]: https://bugs.launchpad.net/charm-neutron-k8s/+filebug
|
||||||
|
@ -7,7 +7,15 @@ bases:
|
|||||||
- name: "ubuntu"
|
- name: "ubuntu"
|
||||||
channel: "20.04"
|
channel: "20.04"
|
||||||
parts:
|
parts:
|
||||||
|
update-certificates:
|
||||||
|
plugin: nil
|
||||||
|
override-build: |
|
||||||
|
apt update
|
||||||
|
apt install -y ca-certificates
|
||||||
|
update-ca-certificates
|
||||||
|
|
||||||
charm:
|
charm:
|
||||||
|
after: [update-certificates]
|
||||||
build-packages:
|
build-packages:
|
||||||
- git
|
- git
|
||||||
- libffi-dev
|
- libffi-dev
|
||||||
|
@ -14,7 +14,7 @@ jinja2
|
|||||||
lightkube
|
lightkube
|
||||||
lightkube-models
|
lightkube-models
|
||||||
ops
|
ops
|
||||||
git+https://github.com/openstack-charmers/advanced-sunbeam-openstack#egg=ops_sunbeam
|
git+https://opendev.org/openstack/charm-ops-sunbeam#egg=ops_sunbeam
|
||||||
|
|
||||||
python-keystoneclient # keystone-k8s
|
python-keystoneclient # keystone-k8s
|
||||||
|
|
||||||
@ -22,10 +22,9 @@ python-keystoneclient # keystone-k8s
|
|||||||
# Note: Remove when traefik-k8s-operator v1 library is released
|
# Note: Remove when traefik-k8s-operator v1 library is released
|
||||||
serialized_data_interface
|
serialized_data_interface
|
||||||
|
|
||||||
# Get resources from github until cacerts issue is charmbuild image is fixed.
|
git+https://opendev.org/openstack/charm-ops-interface-tls-certificates#egg=interface_tls_certificates
|
||||||
git+https://github.com/openstack/charm-ops-interface-tls-certificates#egg=interface_tls_certificates
|
|
||||||
|
|
||||||
# Note: Required for cinder-k8s, cinder-ceph-k8s, glance-k8s, nova-k8s
|
# Note: Required for cinder-k8s, cinder-ceph-k8s, glance-k8s, nova-k8s
|
||||||
git+https://github.com/openstack/charm-ops-interface-ceph-client#egg=interface_ceph_client
|
git+https://opendev.org/openstack/charm-ops-interface-ceph-client#egg=interface_ceph_client
|
||||||
# Charmhelpers is only present as interface_ceph_client uses it.
|
# Charmhelpers is only present as interface_ceph_client uses it.
|
||||||
git+https://github.com/juju/charm-helpers.git#egg=charmhelpers
|
git+https://github.com/juju/charm-helpers.git#egg=charmhelpers
|
||||||
|
@ -51,15 +51,15 @@ deps =
|
|||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
|
||||||
[testenv:py3.8]
|
[testenv:py38]
|
||||||
basepython = python3.8
|
basepython = python3.8
|
||||||
deps = {[testenv:py3]deps}
|
deps = {[testenv:py3]deps}
|
||||||
|
|
||||||
[testenv:py3.9]
|
[testenv:py39]
|
||||||
basepython = python3.9
|
basepython = python3.9
|
||||||
deps = {[testenv:py3]deps}
|
deps = {[testenv:py3]deps}
|
||||||
|
|
||||||
[testenv:py3.10]
|
[testenv:py310]
|
||||||
basepython = python3.10
|
basepython = python3.10
|
||||||
deps = {[testenv:py3]deps}
|
deps = {[testenv:py3]deps}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user