Skip to content

Commit

Permalink
Merge pull request #562 from cpanel/RE-1000
Browse files Browse the repository at this point in the history
The `Openstack Pruner` job is consistently failing
  • Loading branch information
cPholloway authored Nov 25, 2024
2 parents f2db87d + 79a114a commit 42320ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/openstack/prune_openstack
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,10 @@ use POSIX ();
use strict;
use warnings;

# Environment constants
our $OS_APPLICATION_CREDENTIAL_ID = $ENV{OS_APPLICATION_CREDENTIAL_ID};
our $OS_APPLICATION_CREDENTIAL_SECRET = $ENV{OS_APPLICATION_CREDENTIAL_SECRET};

# Static constants
use constant {
OS_AUTH_TYPE => 'v3applicationcredential',
OS_AUTH_URL => 'https://keystone.hou-01.cloud.prod.cpanel.net:5000/v3',
OS_IDENTITY_API_VERSION => '3',
OS_REGION_NAME => 'RegionOne',
OS_INTERFACE => 'public',
KEY_NAME => "deletethis",
VM_NAME => "elevate.github.cpanel.net",
KEY_NAME => "deletethis",
VM_NAME => "elevate.github.cpanel.net",
};

my $openstack_path = "/usr/bin/openstack" if -x "/usr/bin/openstack";
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pruner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
ACTIONS_STEP_DEBUG: true
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
OS_AUTH_TYPE: 'v3applicationcredential'
OS_AUTH_URL: 'https://keystone.hou-01.cloud.prod.cpanel.net:5000/v3'
OS_IDENTITY_API_VERSION: '3'
OS_INTERFACE: 'public'
OS_REGION_NAME: 'RegionOne'
steps:
- uses: actions/checkout@v4
- name: Run Openstack Pruner
Expand Down

0 comments on commit 42320ba

Please sign in to comment.