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

Automated generation of new Dockerfiles and images #55

Closed
swizzlr opened this issue Jan 21, 2017 · 8 comments
Closed

Automated generation of new Dockerfiles and images #55

swizzlr opened this issue Jan 21, 2017 · 8 comments

Comments

@swizzlr
Copy link
Contributor

swizzlr commented Jan 21, 2017

Currently every new release requires manual generation of new Dockerfiles and images.

Continuous integration using Travis CI, the RSS feed from the releases page and the nightly snapshots would allow this to happen.

Anybody want to take this on?

@Khalian
Copy link
Contributor

Khalian commented Apr 25, 2017

Any tutorials on how to do this ?

@hamin
Copy link
Contributor

hamin commented Apr 25, 2017

no tutorials... i think a while ago we figured that we could get some sort of notification from swift build releases...i think ppl on swift mailing list liked the idea, but i don't think we got a follow up on it

@andradei
Copy link

andradei commented Sep 8, 2017

We should get this going :)

@swizzlr swizzlr changed the title Create nightly snapshot configuration + tag for Swift 3.1 branch Automated generation of new Dockerfiles and images Nov 10, 2017
@florianreinhart
Copy link
Contributor

Docker’s guidelines for official images advise against creating images from CI builds:

Unlike a release candidate, continuous integration builds which have a fully automated release cycle based on code commits or a regular schedule are not appropriate.

https://github.com/docker-library/official-images#library-definition-files

Nevertheless, it’d be great to test current development snapshots of a specific version branch, e.g. Swift 4.2. Maybe these builds could be considered “release candidates”.

Can someone check this with the official images maintainers?

@norio-nomura
Copy link

FYI, my repository(norionomura/swift) has been automated for Dockerfile update and image creation by using CircleCI 's scheduled workflow.

@andradei
Copy link

andradei commented May 14, 2018

@florianreinhart If I understand that document correctly, regular schedules aren't appropriate. How about some sort of automated script that checks whether a new version was released (not new commits, but full-fledged releases) and builds a new docker image?

@florianreinhart
Copy link
Contributor

It's OK to automatically generate a new image whenever a new Swift version is released.

I am just not sure about the Swift development releases generated from a development branch like swift-4.2-branch. These are generated by Swift CI almost every day.

@shahmishal
Copy link
Member

@swizzlr We are moving Swift Docker issues to https://bugs.swift.org Component: Docker. Can you please file your issue on bugs.swift.org?

We are planning on closing GitHub swift-docker issues on Dec 20th, 2018 (PST).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants