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

Cannot override secondary artifact name #115

Open
Jasper-Ben opened this issue Oct 5, 2021 · 0 comments
Open

Cannot override secondary artifact name #115

Jasper-Ben opened this issue Oct 5, 2021 · 0 comments

Comments

@Jasper-Ben
Copy link

According to documentation, the following artifacts should be stored in an identical matter:

[...]
                                artifactTypeOverride: 'S3',
                                artifactLocationOverride: "${S3_BUCKET}",
                                artifactPathOverride: "${PATH}",
                                artifactNamespaceOverride: 'NONE',
                                artifactNameOverride: "foo.zip",
                                artifactPackagingOverride: 'ZIP',
                                secondaryArtifactsOverride: """[
                                    {
                                        "artifactIdentifier": "sources",
                                        "type": "S3",
                                        "location": "${S3_BUCKET}",
                                        "path": "${PATH}",
                                        "namespaceType": "NONE",
                                        "name": "bar.zip",
                                        "overrideArtifactName": "true",
                                        "packaging": "ZIP"
                                    }
                                ]""",
[...]

However, while the main artifact is correctly renamed to foo.bar, the secondary artifact name remains as defined in the codebuild buildspec. Running file on the secondary artifact shows that it is a zip archive, so it is just the naming part that's not working.

@Jasper-Ben Jasper-Ben changed the title Cannot overrite secondary artifact name Cannot override secondary artifact name Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant