Skip to content

Commit

Permalink
Merge pull request #641 from plus3it/dependabot/docker/plus3it/tardig…
Browse files Browse the repository at this point in the history
…rade-ci-0.24.14
  • Loading branch information
lorengordon authored Nov 16, 2023
2 parents 73c10e9 + 0cb0b86 commit 312d8c5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pull_request_rules:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- "#approved-reviews-by>=1"
# Must pass codebuild jobs before merge
- status-success=codebuild/p3-spel-ci/pr
- status-success=codebuild/p3-spel-commercial-ci/pr
- status-success=codebuild/p3-spel-govcloud-ci/pr
- status-success=codebuild/p3-spel-vagrant-ci/pr
actions:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM plus3it/tardigrade-ci:0.24.10
FROM plus3it/tardigrade-ci:0.24.14
1 change: 1 addition & 0 deletions build/vagrant/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ build:
-var spel_repo_url=$(CODEBUILD_SOURCE_REPO_URL) \
-var spel_repo_commit=$(CODEBUILD_SOURCE_VERSION) \
-var spel_version=$(SPEL_VERSION) \
-var packer_version=$(PACKER_VERSION) \
build-spel-vagrant.pkr.hcl
@if [[ "$(SPEL_CI)" = "true" ]]; then \
echo "Moving "$(PACKER_LOG_DIR)" to .spel/ci" ;\
Expand Down
6 changes: 6 additions & 0 deletions build/vagrant/build-spel-vagrant.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ variable "aws_temporary_security_group_source_cidrs" {
default = ["0.0.0.0/0"]
}

variable "packer_version" {
type = string
default = ""
}

variable "spel_ci" {
type = bool
default = false
Expand Down Expand Up @@ -82,6 +87,7 @@ build {
provisioner "shell" {
environment_vars = [
"PACKER_NO_COLOR=1",
"PACKER_VERSION=${var.packer_version}",
"SPEL_CI=${var.spel_ci}",
"SPEL_IDENTIFIER=${var.spel_identifier}",
"SPEL_REPO_COMMIT=${var.spel_repo_commit}",
Expand Down
5 changes: 5 additions & 0 deletions build/vagrant/build-spel-vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ then
export EXCEPT_STEP
fi

if [[ -z "${PACKER_VERSION:-}" ]]
then
unset PACKER_VERSION
fi

# update PATH
export PATH="${HOME}/bin:${PATH}"

Expand Down

0 comments on commit 312d8c5

Please sign in to comment.