Skip to content

Commit

Permalink
Merge pull request #150 from cdalvaro/upgrade/v3004.2
Browse files Browse the repository at this point in the history
Upgrade to v3004.2
  • Loading branch information
cdalvaro authored Jun 21, 2022
2 parents 0cb46d9 + 782e8fe commit 911fbd1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The full log with the outputted error.
**Version report (please complete the following information):**
- Host OS: [e.g. `uname -a`]
- Docker: [e.g. `docker --version`]
- Image tag: [e.g. `3004.1`]
- Image tag: [e.g. `3004.2`]

**Additional context**
Add any other context about the problem here.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Changelog

This file only reflects the changes that are made in this image.
Please refer to the [Salt 3004.1 Release Notes](https://docs.saltstack.com/en/latest/topics/releases/3004.1.html)
Please refer to the [Salt 3004.2 Release Notes](https://docs.saltstack.com/en/latest/topics/releases/3004.2.html)
for the list of changes in SaltStack.

**3004.2**

- Upgrade `salt-master` to `3004.2` *Silicon*
- Remove Jinja2 patch to avoid Markup import error

**3004.1**

- Upgrade `salt-master` to `3004.1` *Silicon*
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG VCS_REF

# https://github.com/saltstack/salt/releases
# NOTE: Review org.label-schema.version label if necessary
ENV SALT_VERSION="3004.1" \
ENV SALT_VERSION="3004.2" \
PYTHON_VERSION="3.9"

ENV SALT_DOCKER_DIR="/etc/docker-salt" \
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Architecture ARM64][arch_arm64_badge]][arch_link]
[![Architecture ARM/v7][arch_arm_badge]][arch_link]

# Dockerized Salt Master v3004.1 _Silicon_
# Dockerized Salt Master v3004.2 _Silicon_

Dockerfile to build a [Salt Project](https://saltproject.io) Master image for the Docker opensource container platform.

Expand Down Expand Up @@ -46,7 +46,7 @@ For other methods to install `salt-master` please refer to the [Official Salt Pr
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/cdalvaro/docker-salt-master/) and is the recommended method of installation.

```sh
docker pull cdalvaro/docker-salt-master:3004.1
docker pull cdalvaro/docker-salt-master:3004.2
```

You can also pull the latest tag which is built from the repository `HEAD`
Expand Down Expand Up @@ -593,8 +593,8 @@ Where `salt-service` is one of: `salt-master` os `salt-api` (if `SALT_API_SERVIC
- https://docs.saltproject.io/en/getstarted/
- https://docs.saltproject.io/en/latest/contents.html

[saltproject_badge]: https://img.shields.io/badge/Salt-v3004.1-lightgrey.svg?logo=Saltstack
[saltproject_release_notes]: https://docs.saltproject.io/en/latest/topics/releases/3004.1.html "Salt Project Release Notes"
[saltproject_badge]: https://img.shields.io/badge/Salt-v3004.2-lightgrey.svg?logo=Saltstack
[saltproject_release_notes]: https://docs.saltproject.io/en/latest/topics/releases/3004.2.html "Salt Project Release Notes"
[ubuntu_badge]: https://img.shields.io/badge/ubuntu-hirsute--20220113-E95420.svg?logo=Ubuntu
[ubuntu_hub_docker]: https://hub.docker.com/_/ubuntu/ "Ubuntu Image"
[github_publish_badge]: https://img.shields.io/github/workflow/status/cdalvaro/docker-salt-master/Publish%20Docker%20image?label=build&logo=GitHub&logoColor=%23181717
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3004.1
3004.2
4 changes: 0 additions & 4 deletions assets/build/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ log_debug "Options: ${SALT_BOOTSTRAP_OPTS[@]}"
sh "${BOOTSTRAP_FILE}" ${SALT_BOOTSTRAP_OPTS[@]} git "v${SALT_VERSION}"
chown -R "${SALT_USER}": "${SALT_ROOT_DIR}"

# Fix Jinja2 version to avoid Markup import error
# https://github.com/saltstack/salt/issues/61848
pip3 install -I markupsafe==2.0.1 jinja2==3.0.3

# Configure ssh
log_info "Configuring ssh ..."
sed -i -e "s|^[# ]*StrictHostKeyChecking.*$| StrictHostKeyChecking no|" /etc/ssh/ssh_config
Expand Down

0 comments on commit 911fbd1

Please sign in to comment.