State Storage (S3) Configuration
Shippable Server can use GitLab to store state, which consists of files that contain information for a version of a job or resource and can be retrieved by downstream jobs in your Assembly Line.
In order to store state in S3, you need an AWS access key and secret key that have S3 access.
When you first log in to the Admiral UI, the default state selection will be S3. Input your AWS access key and secret key to be used to save state in your AWS account. The same bucket will be used for both state and cache, if enabled. The bucket name box may be left blank to generate a bucket name or you can select your own new or existing bucket name.
You will need to click the Apply button after completing other sections.
Once S3 State storage is initializing, you'll be able to view the configuration and logs.
The Logs button (paper clip icon) for STATE will show the logs from installation and initialization.
When switching from a different state option after first installing Shippable Server, make sure to click the toggle button to confirm this.
If you are switching to S3 from GitLab storage, state will be copied from GitLab to S3 when the update is applied. After the state migration is complete and you have confirmed that all of your state contents are still available, you can remove the GitLab instance.
If you are adding S3 storage and did not previously have state storage, no state will be available for any jobs that previously ran. Jobs that run after the update is applied will have state.