-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1568 from d-ylee/update-wmcore-dev
Update wmcore-dev
- Loading branch information
Showing
8 changed files
with
68 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
contents/ | ||
ContainerScripts/LatestUnitTests | ||
.DS_Store | ||
examples | ||
|
||
# virtualenvs | ||
*/**/venv | ||
requirements.txt | ||
.venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
VERSION=0.2.0 | ||
DATE := $(shell date +%Y%m%d) | ||
#DATE = 20241202 | ||
|
||
build: | ||
docker buildx build --platform=linux/amd64 --tag registry.cern.ch/cmsweb/wmcore-dev . | ||
|
||
build-no-cache: | ||
docker buildx build --no-cache --platform=linux/amd64 --tag registry.cern.ch/cmsweb/wmcore-dev . | ||
|
||
push: | ||
docker tag registry.cern.ch/cmsweb/wmcore-dev registry.cern.ch/cmsweb/wmcore-dev:$(DATE) | ||
docker push registry.cern.ch/cmsweb/wmcore-dev:$(DATE) | ||
docker tag registry.cern.ch/cmsweb/wmcore-dev registry.cern.ch/cmsweb/wmcore-dev:latest | ||
docker push registry.cern.ch/cmsweb/wmcore-dev:latest | ||
|
||
push-preprod: | ||
docker tag registry.cern.ch/cmsweb/wmcore-dev registry.cern.ch/cmsweb/wmcore-dev:$(VERSION) | ||
docker push registry.cern.ch/cmsweb/wmcore-dev:$(VERSION) | ||
|
||
push-stable: | ||
docker tag registry.cern.ch/cmsweb/wmcore-dev registry.cern.ch/cmsweb/wmcore-dev:$(VERSION)-stable | ||
docker push registry.cern.ch/cmsweb/wmcore-dev:$(VERSION)-stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# wmcore-dev: WMCore development image | ||
|
||
## Overview | ||
This image is used for running unit tests and linting for the [WMCore](https://github.com/dmwm/WMCore) repository. This image is currently used by the Jenkins CI/CD pipelines defined in [WMCore-Jenkins](https://github.com/dmwm/WMCore-Jenkins). | ||
|
||
## Usage | ||
1. To build the image, run `make build` | ||
2. Push to the CERN registry with `make push`, `make push-preprod`, or `make push-stable` | ||
* Special account privileges are needed to push to the CERN registry. | ||
* `*-stable` tagged releases are not automatically cleared from the registry. | ||
* Currently, the date is used as a tag for `make push`, while `make push-preprod` and `make push-stable` uses a version number. | ||
* `make push-preprod`: Pushes the current version | ||
* `make push-stable`: Pushes the current version, appended with `-stable` | ||
|
||
## Maintainers | ||
[@d-ylee](https://github.com/d-ylee) | ||
[@khurtado](https://github.com/khurtado) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.