Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit cabd156

Browse files
Merge pull request #30 from IntelPython/update/2021.4.0
Update to 2021.4
2 parents b1f9630 + ce92331 commit cabd156

File tree

6 files changed

+25
-30
lines changed

6 files changed

+25
-30
lines changed

README.md

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,35 +23,30 @@ Will build every image. Look at the test for example command lines.
2323
* See images.py for directions on adding a new configuration
2424
* create a new automated build on docker hub, copying build setting of existing image
2525

26-
## Publishing a new release
26+
## Publishing a new release (Internal Use Only)
27+
28+
Disclaimer: Do NOT do this unless all packages for upcoming release have been
29+
uploaded to Intel channel on Anaconda Cloud. Best time to do this is right before
30+
FCS when all packages have automatically been uploaded and validated.
2731

2832
If we are publishing 2017.0.0 build number 2, then the docker image will have 3
29-
tags: 2017.0.0-2, 2017.0.0, latest. An automated build on docker hub is
30-
triggered by pushing a tag to this repo. The tag has the form 2017.0.0-2.
33+
tags: 2017.0.0-2, 2017.0.0, latest. Github Actions will create a Docker image
34+
after a PR is merged. The following steps are all that is needed to update our
35+
Dockerhub with our latest IntelPython.
3136

32-
* Change update_number & build_number in images.py, and add it to tpls/tpl.README.md. Build number is the third argument in all_confs
33-
* Regenerate the READMEs and Dockerfiles for the individual images
37+
* Change update_number & build_number in images.py. Most of the time, the build number
38+
remains the same (#0) and the minor version is incremented (e.g. 2021.1.0 -> 2021.2.0)
39+
* Regenerate the READMEs and Dockerfiles for the individual images by running the following
40+
command
3441

3542
python images.py --gen all
3643

37-
* Commit changes
44+
* Create branch and commit changes
3845
* Tag with the release name
3946

40-
git tag -a 2017.0.0-2 -m '2017.0.0-2 release'
41-
git push
42-
git push origin 2017.0.0-2
43-
44-
* Check later that all builds have completed on docker hub
45-
46-
## dockerhub config
47-
48-
We use the dockerhub autotesting to test every pull request. When you
49-
push a tag, it will build, test, and publish a new container with a
50-
corresponding tag.
51-
52-
Dockerhub build rule:
47+
git tag -a 2022.0.0-0 -m '2022.0.0-0 release'
48+
git push origin update/2022.0.0-0
49+
git push origin 2022.0.0-0
5350

54-
source type: tag
55-
source: /.*/
56-
docker tag {sourceref}
57-
dockerfile location: configs/intelpython2_core
51+
* Create PR, check that tests pass, and then merge PR. Github actions has been setup to
52+
automatically build the Docker image and push it to Dockerhub afterwards.

configs/intelpython3_core/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ MAINTAINER Robert Cohn <[email protected]>
3131
ENV ACCEPT_INTEL_PYTHON_EULA=yes
3232

3333
RUN conda config --add channels intel
34-
RUN conda install -y -q intelpython3_core=2021.3 python=3
34+
RUN conda install -y -q intelpython3_core=2021.4 python=3
3535
RUN conda clean --all
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/bash
22

3-
docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:2021.3
4-
docker push $DOCKER_REPO:2021.3
3+
docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:2021.4
4+
docker push $DOCKER_REPO:2021.4
55

66
docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:latest
77
docker push $DOCKER_REPO:latest

configs/intelpython3_full/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ MAINTAINER Robert Cohn <[email protected]>
3131
ENV ACCEPT_INTEL_PYTHON_EULA=yes
3232

3333
RUN conda config --add channels intel
34-
RUN conda install -y -q intelpython3_full=2021.3 python=3
34+
RUN conda install -y -q intelpython3_full=2021.4 python=3
3535
RUN conda clean --all
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/bash
22

3-
docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:2021.3
4-
docker push $DOCKER_REPO:2021.3
3+
docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:2021.4
4+
docker push $DOCKER_REPO:2021.4
55

66
docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:latest
77
docker push $DOCKER_REPO:latest

images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(self,pyver=None,package=None,build_number=None,name=None):
8080
self['package'] = package
8181
# github tag & docker tag is update_number-build_number, e.g. 2017.0.1-1
8282
# conda package spec is update_number=build_number, e.g. intelpython2_core=2017.0.1=1
83-
self['update_number'] = '2021.3'
83+
self['update_number'] = '2021.4'
8484
if build_number:
8585
self['build_number'] = '=' + str(build_number)
8686

0 commit comments

Comments
 (0)