ads-deploy docker image + tools
ads-deploy bridges the gap between your PLC project in TwinCAT XAE + Visual Studio and the Python/EPICS tools we use for development and deployment (PyTMC, ads-ioc) by providing a full EPICS and Python environment in a containerized Docker image.
Features
- pytmc pragma linting / verification
- Build and run ads-based EPICS IOCs directly from Windows
- Generate batch files to run the IOC outside of Visual Studio
- Auto-generate and run simple Typhon screens directly from Windows
- No need to transfer your project and files to a Linux machine just to generate the IOC
Installation
Note: this is partly outdated - Docker is no longer required and conda may be used in place of it
Step-by-step notes are available here: https://confluence.slac.stanford.edu/display/PCDS/Installing+ads-deploy+on+Windows
Using just the Docker container is simple on all platforms. Run the following to check it out:
Windows
C:\> docker run -it pcdshub/ads-deploy:latest /bin/bash
OSX / Linux
$ eval $(docker-machine env)
$ docker run -it pcdshub/ads-deploy:latest /bin/bash
Updating versions
Steps to update ads-deploy:
- Update ads-ioc-docker (follow its README)
- Tag and release pytmc (use v0.0.0 style as usual)
- Update the
FROMpcdshub/ads-ioc version - Update environment variables:
PYTMC_VERSION,ADS_IOC_VERSION - Rebuild. Match the
ADS_DEPLOY_VERSIONwith the pytmc version, as it tends to change the most:$ export ADS_DEPLOY_VERSION={pytmc version} $ docker build -t pcdshub/ads-deploy:${ADS_DEPLOY_VERSION} . $ docker build -t pcdshub/ads-deploy:latest . - Push to DockerHub
$ docker push pcdshub/ads-deploy:${ADS_DEPLOY_VERSION} $ docker push pcdshub/ads-deploy:latest - Commit, tag, and push to GitHub
$ git tag ${ADS_DEPLOY_VERSION} $ git push $ git push --tags
Links
Metadata
Release files for ads-deploy 2.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ads-deploy-2.11.1.tar.gz | 39.4 kB | Without provenance | Details for ads-deploy-2.11.1.tar.gz |
Release files / ads-deploy-2.11.1.tar.gz
| Download URL | ads-deploy-2.11.1.tar.gz |
|---|---|
| Size | 39.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bec8085686d9cfbd8f1e98535044e9ddf8fda3580913cdefcde70d0f17d3cc0
|
|
BLAKE2b-256 checksum How to use checksums |
6e8b72815103410aba7f0109216785cf172cc5c32895be6e897e6611def8ecea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.23.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.46.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.6
|
Security for ads-deploy 2.11.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.