Skip to content

create package target #898

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

Merged
merged 2 commits into from
Feb 23, 2019
Merged

create package target #898

merged 2 commits into from
Feb 23, 2019

Conversation

ewdurbin
Copy link
Member

the peps are built... may as well publish a tarball directly from travis.

python.org hosting is being updated and i'm trying to move it away from local
disk storage, which the current pep integration relies on.

this will allow python.org to pull the tarball out of S3 and do it's work.

the peps are built... may as well publish a tarball directly from travis.

python.org hosting is being updated and i'm trying to move it away from local
disk storage, which the current pep integration relies on.

this will allow me python.org to pull the tarball out of S3 and do it's work.
@ewdurbin
Copy link
Member Author

Notes:

  • A user peps-release-key has been created in the PSF AWS account with only permissions to perform these uploads.
  • Credential for that user was added to the travis settings as encrypted environment variables.

IAM policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:PutObjectAcl"
            ],
            "Resource": [
                "arn:aws:s3:::pythondotorg-assets-staging/peps.tar.gz",
                "arn:aws:s3:::pythondotorg-assets/peps.tar.gz"
            ]
        }
    ]
}

@ewdurbin ewdurbin merged commit b91c650 into master Feb 23, 2019
@ewdurbin ewdurbin deleted the packager branch February 23, 2019 18:03
ewdurbin added a commit to python/pythondotorg that referenced this pull request Feb 24, 2019
ewdurbin added a commit to python/pythondotorg that referenced this pull request Feb 24, 2019
ewdurbin added a commit to python/pythondotorg that referenced this pull request Feb 25, 2019
* initial herokuification

* create custom_storage for manifested pipeline files

Note:
  - @import lines removed from css files cause it was confusing the manifest mixin
  - missing image restored from best guess of what should have been there

* credit where due!

* change elasticsearch providers

* fixup elasticsearch

* move new media storage to it's own prefix

* add migration view for old media files

* update generate_pep_pages to consume results of python/peps#898

* fix admin inline for files/images on pages

* support local and non-local image storage

* make PEP_ARTIFACT_URL configurable via env var for heroku

* herokuify: last fiew page/image fixups

* Jobs rss feed Markup fields should be rendered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants