-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
28 lines (21 loc) · 992 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all: test build push-release
test:
bats tests/check.bats && bats tests/check-stemcell.bats && bats tests/in.bats && bats tests/in-stemcell.bats
build:
docker build -t itstarting/semver-config-concourse-resource:test .
push-test:
docker push itstarting/semver-config-concourse-resource:test
RELASE_VERSION = "1.1.0"
push-release:
docker tag itstarting/semver-config-concourse-resource:test itstarting/semver-config-concourse-resource:$(RELASE_VERSION)
docker push itstarting/semver-config-concourse-resource:$(RELASE_VERSION)
push-latest:
docker tag itstarting/semver-config-concourse-resource:test itstarting/semver-config-concourse-resource:latest
docker push itstarting/semver-config-concourse-resource:latest
fly:
fly -t main set-pipeline -p product-config -c pipelines/product-config.yaml -n
fly -t main up -p product-config
refly:
fly -t main dp -p product-config -n
fly -t main sp -p product-config -c pipelines/product-config.yaml -n
fly -t main up -p product-config