Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/tag package ver #5

Merged
merged 6 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
echo "Exiting..."
exit 1
fi
echo "project_version=${PROJECT_VERSION}" >> $GITHUB_OUTPUT
echo "project_version=${TAG}" >> $GITHUB_OUTPUT
echo "build_guid=$(echo ${RESPONSE} | jq -r '.data[].id')" >> $GITHUB_OUTPUT
echo "build_number=$(echo ${RESPONSE} | jq -r '.data[].actions[].package.buildNumber')" >> $GITHUB_OUTPUT
echo "artifact_name=$(echo ${RESPONSE} | jq -r '.data[].actions[].artifacts[].name')" >> $GITHUB_OUTPUT
Expand Down
9 changes: 2 additions & 7 deletions playbooks/playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,11 @@
- "vars/custom/{{env_vars}}.yaml"

roles:
# Establish the port number
- name: port_manager

# prepare the installation environment by creating the necessary folders
- name: create_project_directories

# create a self signed certificate to allow for HTTPS
- name: self_signed_cert
vars:
ssc_format: "openssl"
# Establish the port number
- name: port_manager

# install & configure the Tomcat container
- name: nodejs
Expand Down
8 changes: 6 additions & 2 deletions playbooks/vars/standard/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ ansible_user: "{{ lookup('ansible.builtin.env', 'PODMAN_CD_USER') }}"
ansible_become_password: "{{ lookup('ansible.builtin.env', 'PODMAN_CD_PASS') }}"
ansible_ssh_extra_args: "-o StrictHostKeyChecking=no"

polaris_apps_project_version: "{{ lookup('ansible.builtin.env', 'PODMAN_PROJECT_VERSION') }}"
polaris_apps_build_number: "{{ lookup('ansible.builtin.env', 'PODMAN_BUILD_NUMBER') }}"

# General properties
pd_prop_project_name: "NODEJS-SAMPLE"
pd_prop_service_name: "nodejs-sample"
polaris_apps_project_name: "NODEJS-SAMPLE"
polaris_apps_service_name: "nodejs-sample"
polaris_apps_service_install_name: "{{ polaris_apps_project_version }}-{{ polaris_apps_build_number }}"

# The following properties are custom to each particular service
context:
Expand Down
Loading