Skip to content

Commit

Permalink
Update CI files
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pulpbot authored and lubosmj committed Oct 12, 2023
1 parent 37e4385 commit 868dd19
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .ci/ansible/Containerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ RUN pip3 install
{%- endif -%}
{%- endfor %}

{% if pulp_env is defined and pulp_env %}
{% for key, value in pulp_env.items() %}
ENV {{ key | upper }}={{ value }}
{% endfor %}
{% endif %}

{% if pulp_scenario_env is defined and pulp_scenario_env %}
{% for key, value in pulp_scenario_env.items() %}
ENV {{ key | upper }}={{ value }}
{% endfor %}
{% endif %}

USER pulp:pulp
RUN PULP_STATIC_ROOT=/var/lib/operator/static/ PULP_CONTENT_ORIGIN=localhost \
/usr/local/bin/pulpcore-manager collectstatic --clear --noinput --link
Expand Down
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-247-g1ee39ae
2021.08.26-248-g4bfc3e1
3 changes: 3 additions & 0 deletions .github/workflows/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ services:
VARSYAML

cat >> vars/main.yaml << VARSYAML
pulp_env: {}
pulp_settings: null
pulp_scheme: https
Expand All @@ -88,6 +89,7 @@ if [ "$TEST" = "s3" ]; then
minio_access_key: "'$MINIO_ACCESS_KEY'"\
minio_secret_key: "'$MINIO_SECRET_KEY'"\
pulp_scenario_settings: null\
pulp_scenario_env: {}\
' vars/main.yaml
export PULP_API_ROOT="/rerouted/djnd/"
fi
Expand All @@ -107,6 +109,7 @@ if [ "$TEST" = "azure" ]; then
command: "azurite-blob --blobHost 0.0.0.0 --cert /etc/pulp/azcert.pem --key /etc/pulp/azkey.pem"' vars/main.yaml
sed -i -e '$a azure_test: true\
pulp_scenario_settings: null\
pulp_scenario_env: {}\
' vars/main.yaml
fi

Expand Down
2 changes: 1 addition & 1 deletion docs/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-247-g1ee39ae
2021.08.26-248-g4bfc3e1
7 changes: 5 additions & 2 deletions template_config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This config represents the latest values used when running the plugin-template. Any settings that
# were not present before running plugin-template have been added with their default values.

# generated with plugin_template@2021.08.26-247-g1ee39ae
# generated with plugin_template@2021.08.26-248-g4bfc3e1

additional_repos: []
api_root: /pulp/
Expand Down Expand Up @@ -48,12 +48,15 @@ plugin_snake: pulp_ostree
post_job_template: null
pre_job_template: null
publish_docs_to_pulpprojectdotorg: true
pulp_env: {}
pulp_env_azure: {}
pulp_env_gcp: {}
pulp_env_s3: {}
pulp_scheme: https
pulp_settings: null
pulp_settings_azure: null
pulp_settings_gcp: null
pulp_settings_s3: null
pulp_settings_stream: null
pulpprojectdotorg_key_id: null
pydocstyle: true
pypi_username: pulp
Expand Down

0 comments on commit 868dd19

Please sign in to comment.