Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iksaku/openstack-swift-action
Github Action that integrates OpenStack's Swift to manage compatible service providers.
https://github.com/iksaku/openstack-swift-action
Last synced: 2 months ago
JSON representation
Github Action that integrates OpenStack's Swift to manage compatible service providers.
- Host: GitHub
- URL: https://github.com/iksaku/openstack-swift-action
- Owner: iksaku
- Archived: true
- Created: 2019-09-05T06:56:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-08T22:07:54.000Z (almost 5 years ago)
- Last Synced: 2024-10-18T12:17:51.398Z (3 months ago)
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actions - Upload files to any OpenStack Swift service provider
- fucking-awesome-actions - Upload files to any OpenStack Swift service provider
- awesome-workflows - Upload files to any OpenStack Swift service provider
README
# openstack-swift-action
## Description
This action allows you to manage project files with your prefered (Swift-compatible) Object Storage provider.
It uses my personal docker image [`openstack-swift-container`](https://hub.docker.com/r/iksaku/openstack-swift-container).## Usage
* ### Basic Usage
Assume have all our `Keystone` credentials stored in our repo's Secrets. We must pass them in form of environment variables to the action in order to authenticate against our service provier:
```yaml
steps:
...
- uses: iksaku/openstack-swift-action@master
env:
OS_AUTH_URL: ${{ secrets.AUTH_URL }}
OS_PASSWORD: ${{ secrets.PASSWORD }}
OS_PROJECT_NAME: ${{ secrets.PROJECT_NAME }}
OS_REGION_NAME: ${{ secrets.REGION_NAME }}
OS_USERNAME: ${{ secrets.USERNAME }}
OS_USER_DOMAIN_NAME: ${{ secrets.USER_DOMAIN_NAME }}
with:
args: list openstack-swift-action
...
```> You must authenticate against your Object Storage service provider via _Environment Variables_.
>
> [Learn more about Swift Authentication](https://docs.openstack.org/python-swiftclient/stein/cli/index.html#authentication)
>
> You can store these variables as _Secrets_ in your Github repo, and refer them in your workflow.
>
> [Learn more about using Github Secrets in your Workflow](https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables)* ### Skipping Auth Pre-Check
By default, this action executes an authentication check before executing your command arguments. This will help you notice when you haven't setup your credentials properly.If your credentials are not valid nor setup properly, the image will halt execution and provide an error message.
If you don't want to run an authentication check before your command, you can supress this behaviour by passing a `false` value to action's `auth_check` input:
```yaml
steps:
...
- uses: iksaku/openstack-swift-action@master
with:
auth_check: false
args: --version
...
```