Skip to content

Commit

Permalink
releng - prep 0.9.27.0 release (#8591)
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilt committed May 24, 2023
1 parent f5c3b8c commit 603a22e
Show file tree
Hide file tree
Showing 42 changed files with 989 additions and 1,000 deletions.
2 changes: 1 addition & 1 deletion c7n/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Generated via tools/dev/poetrypkg.py
version = "0.9.26"
version = "0.9.27"
9 changes: 5 additions & 4 deletions docker/c7n
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/c7n-distroless
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/c7n-kube
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/c7n-kube-distroless
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/c7n-org
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/c7n-org-distroless
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/mailer
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/mailer-distroless
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/policystream
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down
9 changes: 5 additions & 4 deletions docker/policystream-distroless
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ RUN . /usr/local/bin/activate && pip install -qU pip wheel aws-xray-sdk psutil j
# dependency install
RUN . /usr/local/bin/activate && poetry install --without dev --no-root

# Now install the root package, we used to do this after dependencies of other providers
# but since moving c7n to a main dependency in pyproject toml we have to do this one first.
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

ARG providers="gcp azure kube openstack tencentcloud"
# Add provider packages
# We include `pyproject.toml` and `poetry.lock` first to allow
Expand All @@ -47,10 +52,6 @@ ADD tools/c7n_tencentcloud/pyproject.toml tools/c7n_tencentcloud/poetry.lock /sr
RUN if [[ " ${providers[*]} " =~ "tencentcloud" ]]; then . /usr/local/bin/activate && cd tools/c7n_tencentcloud && poetry install --without dev --no-root; fi


# Now install the root package
ADD c7n /src/c7n/
RUN . /usr/local/bin/activate && poetry install --only-root

# Now install the root of each provider

ADD tools/c7n_gcp /src/tools/c7n_gcp
Expand Down

0 comments on commit 603a22e

Please sign in to comment.